NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
SauvageSausage
Mar 05, 2022Tutor
[RNDU6000] How do I recover the space taken up by the 'ghost' snapshots?
Me noticed my NAS is going out of the free space, so I get into the admin panel. Removing all the snapshots of both folders and home folders didn't change anything, actually. How do I free the sp...
- Mar 08, 2022
I'd try deleting some of them manually (one at a time), and confirm that there are no errors.
There is a -c option, which waits for the deletion to be committed before the btrfs subvolume delete returns. Might be worth trying that on one or two.
With some work, you could create a script to extract each snapshot path from the list, and then build the btrfs command to delete it. But as I mentioned earlier, you'd need to be careful not to accidentally end up deleting a share by mistake.
StephenB
Mar 06, 2022Guru - Experienced User
Can you also run this:
btrfs subvolume list -s /data
If there are any snapshots left for some reason, this command should list them.
SauvageSausage
Mar 06, 2022Tutor
- StephenBMar 06, 2022Guru - Experienced User
SauvageSausage wrote:
ARE ALL THOSE SNAPSHOTS? :-O
Yes. It's not clear to me why they aren't showing up in the web ui though.
- SauvageSausageMar 07, 2022Tutor
is it safe to bulk delete them using something like
btrfs subvolume delete $SNAPPATH
where $SNAPPATH is a path, ending with '/snapshot' ?
- StephenBMar 07, 2022Guru - Experienced User
SauvageSausage wrote:
is it safe to bulk delete them using something like
btrfs subvolume delete $SNAPPATH
where $SNAPPATH is a path, ending with '/snapshot' ?
I don't think that will work. You could create a script to delete one at a time, but you'd to be careful, as a mistake could delete your data.
Try this first:
snapper delete 1-100000
and see if that gets rid of them.
Related Content
NETGEAR Academy

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