NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
RedFarmer
Feb 07, 2016Aspirant
Deleting snapshots over SSH
I have a RN102 with 2x3TB WD Red drives in XRAID2. I have deleted all my snapshots but one (snapshotted share is 191GB). Still, snapshots take up lots of space:
It hasn't recovered "over time" so i thought about manually deleting them over SSH. Of my 5 shares 4 look like this where every folder contains lots of data (snapshotted copies of my shares):
Would i mess anything up by deleting them?
Also, is this a result of a bug? Why isn't space recovered when i delete snaps through the GUI?
Thanks!
These are snapshots that weren't upgraded when you updated from pre-6.2.x firmware to 6.2.x (or later).
You could do# touch /.force_snapshots_upgrade # systemctl restart readynasd
These snapshots should then be upgraded and you can then delete them from the web admin UI.
Space is only recovered when you delete snapshots if the snapshots you delete contain the only copy of some data. If the current data or snapshots that you do not delete also contain the data then space will not be freed up. Also when you delete snapshots the system will need to recursively update the other snapshots. This can take a little time if you have a lot of snapshots.
Once you have deleted all the snapshots that you want to and have got volume usage back below 80% I would suggest that you then run a balance.
13 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee Retired
These are snapshots that weren't upgraded when you updated from pre-6.2.x firmware to 6.2.x (or later).
You could do# touch /.force_snapshots_upgrade # systemctl restart readynasd
These snapshots should then be upgraded and you can then delete them from the web admin UI.
Space is only recovered when you delete snapshots if the snapshots you delete contain the only copy of some data. If the current data or snapshots that you do not delete also contain the data then space will not be freed up. Also when you delete snapshots the system will need to recursively update the other snapshots. This can take a little time if you have a lot of snapshots.
Once you have deleted all the snapshots that you want to and have got volume usage back below 80% I would suggest that you then run a balance.- RedFarmerAspirant
That did it! I wonder why the snapshots didn't update before?
Thanks a lot! All solved! :)
- mdgm-ntgrNETGEAR Employee Retired
In some cases the one-off snapshot upgrade may fail.
- mgshn123Aspirant
I am also having this problem. How do I ssh to my ReadyNAS so I can run touch the file and restart the daemon?
(It keeps refusing my connection)
- mgshn123Aspirant
OK, so I figured out that I need to enable ssh on the ReadyNas.
Now I can connect as a regular user but then can't create the /.force... file because I'm a regular user. When I try to log in as admin I get booted out.
Related Content
NETGEAR Academy

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