NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mvachon
Jun 21, 2016Tutor
Deleting Files and Snapshots does not free up space - UI shows no more snapshots to delete
My ReadyNAS 104, running OS 6.5 was getting tight on space a couple months ago (4 x 4Tb). I deleted all the snapshots, but the UI still shows the snapshots taking up a bunch of space. Fast forwa...
- Jul 28, 2016
If you are comfortable with the support implications of using SSH you could do e.g.
# touch /.force_snapshots_upgrade # systemctl restart readynasd
AlexPe
Jun 27, 2016NETGEAR Expert
Right, I agree with everything you just wrote. There is no other way to validate the data. I don't think it will solve it and it may take a long time but some how the space is misallocated. Maybe send the logs in to the moderators first. Send logs to Mods
garyd9
Jun 27, 2016Virtuoso
mvachon, a factory reset should resolve your issue (but it would, of course, erase everything.)
If you choose to try and resolve this on your own (without contacting netgear), the following might be useful info. All of this is unsupported by netgear, and while none of it is destructive, it could give netgear an excuse not to offer support to you.
I don't know where frontview (OS6) is getting it's snapshot space and free space measurements from, but if you've already enabled SSH access (and used it), the following commands might help to understand things:
btrfs fi usage /data
This should show a report of how big your volume is, and how much data is being used. It doesn't show "snapshot" sizes in a seperate category, but the space used by snapshots is included by the overall used space. For a technical reference on the command, take a look here: https://btrfs.wiki.kernel.org/index.php/FAQ#Understanding_free_space.2C_using_the_new_tools
As someone else already mentioned, the command to list "snapshots" (which are actually btrfs subvolumes of other subvolumes) is:
btrfs subvolume list -s /data
You said that this was returning nothing at all, which indicates that btrfs thinks there aren't any snapshots of any subvolumes. A simple:
btrfs subvolume list /data
should show you a list of all subvolumes (even if they aren't snapshots.) Even if you have no snapshots at all, that last command (without the -s switch) should spit out a list that might be useful. It should spit out a list that has paths for all your shares, and perhaps several other things. IF you see things in this list that look like they might be used for snapshots (such as "/ShareName/.snapshots/1/snapshot), but the command above with the -s switch showed nothing, then you do (or did) have snapshots that have somehow become disassociated... If that's the case, your easiest fix might just be to factory reset afterall. (If that happened, then Something Bad Happened. It might be fixable, but I have no idea how, and once Bad Things start happening, I like to just reset everything.)
- mdgm-ntgrJul 21, 2016NETGEAR Employee Retired
The logs you sent in show that when you updated from 6.1.8 to 6.4.0 your snapshots were not upgraded.
- mvachonJul 28, 2016Tutor
Thank you. Is there anything I can do to correct the problem or delete the snapshots? Or am I stuck wiping the NAS?
- mdgm-ntgrJul 28, 2016NETGEAR Employee Retired
If you are comfortable with the support implications of using SSH you could do e.g.
# touch /.force_snapshots_upgrade # systemctl restart readynasd
- mvachonJul 29, 2016Tutor
Huzzah my friend! You have solved my mystery painlessly! Thank you much! I'm watching the snapshots disappear one by one, and my unused space grow by the Mb.
- mdgm-ntgrJul 29, 2016NETGEAR Employee Retired
Those commands result in the snapshots being upgraded so they show in the GUI so you can then delete them from the GUI.
Space will only be freed up when every snapshot containing the deleted file has been deleted.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!