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 t...
- Feb 07, 2016
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.
mgshn123
Feb 21, 2016Aspirant
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)
mgshn123
Feb 21, 2016Aspirant
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.
- mgshn123Feb 21, 2016Aspirant
My snapshots are now upgrading and this is time out of my dwindling life I'll never get back.
It would have been nice if this was handled (instead of I would guess caused) by your recent firmware upgrade.
- mgshn123Feb 21, 2016Aspirant
So now, when I go to delete snapshots from 2 years ago the process fails: "Failed to remove records for shapshot 2014-06-30... from share or LUN Videos.
Again, How do I recover this disk space?
- mgshn123Feb 21, 2016Aspirant
A final note for this evening... I was able to delete SOME snapshots and in the middle one of those deletions my ReadyNAS dropped off the network and I can't reconnect, either as a share or over http. Any suggestions?
- StephenBFeb 21, 2016Guru - Experienced User
mgshn123 wrote:
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.
I'm not sure what you did exactly, but the ssh logon is "root", not "admin". You use the NAS admin password though.
- mgshn123Feb 21, 2016Aspirant
Stephen,
Thank you for your reply to an earlier post.
Where things stand not, I was able to ssh, create the needed file, and restart the daemon.
Following that the snapshots showed up on my timeline and I began to delete them.
After deleting about 20, the ReadyNAS dropped offline and I could not connect using ssh or the web interface. I also couldn't connect to it as a share.
That was eight hours ago and nothing has changed. Pressing or holding down the power button on front of the device has not effect. A port scan shows a number of ports on the device are open.
How do I restore connection to the device?
- StephenBFeb 21, 2016Guru - Experienced User
mgshn123 wrote:
That was eight hours ago and nothing has changed. Pressing or holding down the power button on front of the device has not effect.
How do I restore connection to the device?
If that continues, you will need to disconnect the power. Not ideal, but there really is no choice.
Related Content
NETGEAR Academy

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