NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
zimmfor
Oct 01, 2019Aspirant
Snapshots not deleting and taking up disk space
Hi Everyone,
We have an older ReadyNAS 312 that is showing that there are alot of snapshots but there are only a couple after I delted them. I have run the SSH commands:
# touch /.force_snapshots_upgrade # systemctl restart readynasd
But it still shows there is alot of snapshots. Any suggestions on how to remove them.
Thanks! :smileyhappy:
1 Reply
zimmfor wrote:
We have an older ReadyNAS 312 that is showing that there are alot of snapshots but there are only a couple after I delted them. But it still shows there is a lot of snapshots.
Not exactly. It shows they are taking a lot of space, but not how many there are. So try deleting them all.
If that doesn't help, then start with
# btrfs subvolume list -s /data
That will give you a list of the snapshots. Copy/paste the list output into notepad or some other editor on the PC, it will help later on.
Then delete each one with
# btrfs subvolume delete -c path
Path will be something like /data/sharename/.shapshots/###/snapshot You'll need to prepend each of the path names shown in the list command with /data/ Note that wildcards can't be used with this command, you'll need to enter each one.
When done, it might take some time to free up the space. Running a balance (from the volume settings wheel) after they are deleted is a good idea.
Related Content
NETGEAR Academy

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