NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Mook1
Aug 05, 2017Guide
RN316 FW: 6.7.5 - Snapshots - Reclaiming Space
I really don't want to start another Snapshot thread but I've been reading many threads like this in the last two days and I'm not sure what to do. So an advanced apology since this topic has been co...
- Aug 05, 2017
FWIW., snapshots have never misbehaved on my ReadyNAS. Though the older RN102 and RN202 were both factory reset about 9 months ago (right now I only use them for beta testing or checking issues I see reported here).
Mook1 wrote:
What I've done is these commands via ssh:
# touch /.force_snapshots_upgrade # systemctl restart readynasd
These commands are only needed if you have "invisible" snapshots that don't appear in the admin web ui.. If your volume is very old, then you might possibly have some. If so, you just took care of it.
Overall, your symptoms sound a little different - you deleted snapshots sucessfully , but the space isn't being reclaimed.
Have you deleted shares recently? One poster recently found that deletion wasn't 100% sucessful. The share seemed to disappear, but the subvolume hadn't been fully destroyed (and it's snapshots were still there, taking up space). You can check for that with different ssh command: btrfs subvolume show /data
Mook1 wrote:
I am plagued with deleted snapshots that won't recover space on my systems.
One aspect is that when you do delete snapshots, you generally only get space back when you delete the oldest snapshots in the share. So if you aren't following that practice, then try doing that.
If the space doesn't show up a little while after deletion, the next step is to run a balance. I recommend using the volume maintenance scheduling feature - I schedule a balance every three months.
Mook1 wrote:
If my backups are always current do I need snapshots?
Probably not. Snapshots let you recover older versions of the file, which is handy, but not absolutely essential. Some share really shouldn't use snapshots (a share for torrent downloading is one common example). If you have a lot of file updates, you end up with lots of snapshot storage and a highly fragmented main share.
FWIW, I don't use the "SMART" snapshots. I use "custom" snapshots, with "
- "Only take snapshots with changes" set
- "Allow snapshot access" clear.
- "Allow access to windows previoius versions" set
I normally set retention to 3 months - though I do set it a lot smaller on my PC backup share. If snapshot space usage seems to grow too much, I either manually delete a few of the oldest, or adjust the retention downwards.
At the moment I have about 9 TB of data on the volume, with about 300 GB of snapshots.
Mook1
Aug 05, 2017Guide
Stephen, thanks for the response.
I have deleted shares. I only wanted "Music" so I deleted the other shares that are created by the system. They had no data in them.
I tried "btrfs subvolume show /data" but got the following message: "ERROR: not a subvolume: /data"
I did not run a balance which I'll do now and report my results.
Dave-
Mook1
Aug 05, 2017Guide
Balance took about 1 second to complete.
That can't be correct.
- Mook1Aug 05, 2017Guide
I re-ran balance and it ran for 20 minutes or so. It didn't change a thing.
Oddly if I click Shares then the Share icon I see 5.40 TB free of 13.62 TB
If I click the Browse icon to the right I see 7.98 TB free of 13.62 TB
- Mook1Aug 05, 2017Guide
I restarted my system and all seems well. The space taken by the hidden deleted snapshots has been reclaimed.
Thanks, Stephen!
Related Content
NETGEAR Academy

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