NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
slvnews
Oct 31, 2019Aspirant
Unwanted snapshots
Hello I have ReadyOS 6.10.2. I move from old system. So I add 1 drive. Make jbod Then add second drive And copy old data from old drive to /data/ After copy webgui show me all data as a s...
slvnews
Oct 31, 2019Aspirant
Created new share from gui "old_data_dir"
Move by ssh old data from /data/olddata to new share /data/old_data_dir/olddata
problem gone
So, GUI count all data copied by ssh to eg /data as snapshot ?
StephenB
Oct 31, 2019Guru - Experienced User
slvnews wrote:
So, GUI count all data copied by ssh to eg /data as snapshot ?
It shouldn't.
But NAS shares aren't ordinary folders - they are BTRFS subvolumes. You'll find you can't delete them with rm.
So if you just copied data with cp directly to the data volume, then you did the wrong thing - the folders would have been ordinary folders - and the NAS software might not have accounted for the storage use correctly.
- slvnewsOct 31, 2019Aspirant
StephenB wrote:
slvnews wrote:So, GUI count all data copied by ssh to eg /data as snapshot ?
It shouldn't.
<answer>
Yes, it shouldn't. I guess - guui should check snapshot some way.
Or... quiestion to developers - meaby there is global shapshot on /data volume ? I don'tknow. I have to investigate btrfs. I'm still at ext4 usually...
</answer>
But NAS shares aren't ordinary folders - they are BTRFS subvolumes. You'll find you can't delete them with rm.
<answer>
I know
</answer>
So if you just copied data with cp directly to the data volume, then you did the wrong thing - the folders would have been ordinary folders - and the NAS software might not have
accounted for the storage use correctly.
<answer>
No, I don't touch NAS directories/shares. Don't move, delete etc
I created own directory eg mkdir /data/old_data_dir from command line
Copy old data from external drive to this directory.
After all data in GUI was show as snapshot - yellow
But not instantly. I have to create any share after copy data + make any snapshot on share. Then 'snapshot' in GUI appears - yellow bar. And size - equal do data copied.
So i create from GUI New Share, lets call it 'myolddata' and move all data from manulaly created befora /data/old_data_dir to this new created from GUI share (volume) 'myolddata'.
Snapshot gone, all is ok
it's seems ReadyNAS take data in /data/ dir like.. Snapshots ?
I don't know
p.s.
I don't now how quote... sorry for mess in message
- StephenBOct 31, 2019Guru - Experienced User
First of all, the data you copied wasn't in a btrfs snapshot. If the gui said that, then it wasn't reporting the space usage correctly.
Secondly, the NAS application software is assuming that you won't use mkdir directly on the data volume. It expects to see only btrfs subvolumes in the root of the volume, and it expects that those subvolumes are created by the application software. Using mkdir within a share to create subfolders is ok, but it is not expected in the volume root.
While this appears to be a bug, Netgear basically says you are on your own if you use ssh. You used it in a way that Netgear doesn't intend. Fixing the reporting properly would require adding third category of space usage - shares, snapshots, and other. I don't see them doing that.
- slvnewsOct 31, 2019Aspirant
StephenB wrote:First of all, the data you copied wasn't in a btrfs snapshot. If the gui said that, then it wasn't reporting the space usage correctly.
<answer>
And this is point. GUI show space not correctly.
I was fixed this. No problem. But it could be bettter made :)</answer>
While this appears to be a bug, Netgear basically says you are on your own if you use ssh. You used it in a way that Netgear doesn't intend. Fixing the reporting properly would require adding third category of space usage - shares, snapshots, and other. I don't see them doing that.
<answer>
I have no problem with it :)
I show it could be done better - and my role was finish :)
If NetGear will fix it - okIf not - its ok too
</answer>
All the best
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!