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.
SauvageSausage
Mar 07, 2022Tutor
thanks! but it seems you're right and snapshots aren't in the configs:
root@databox:~# snapper -c 0 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 1 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 2 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 3 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 4 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 5 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 6 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 7 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 8 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 9 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 10 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 11 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 12 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 13 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 14 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 15 delete 1-100000 Unknown config. root@databox:~# snapper -c 16 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 17 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 18 delete 1-100000 Unknown config. root@databox:~# snapper -c 19 delete 1-100000 Unknown config. root@databox:~# snapper -c 20 delete 1-100000 Snapshot '1' not found. root@databox:~# snapper -c 21 delete 1-100000 Snapshot '1' not found.
StephenB
Mar 08, 2022Guru - Experienced User
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.
- SauvageSausageMar 09, 2022Tutor
Thank you, it did help! There is a strange thing with balancing progress tho but I believe nothing fatal:
- StephenBMar 09, 2022Guru - Experienced User
SauvageSausage wrote:
Thank you, it did help! There is a strange thing with balancing progress tho but I believe nothing fatal:
I've seen this myself - I think it happens when the volume has been vertically expanded in the past. But it isn't fatal.
- SandsharkMar 09, 2022Sensei - Experienced User
I hasve found that the ReadyNAS does not automatically do a balance after expansion (which is recommended when expanding a BTRFS volume), and that results in no allocation of metadata space on a vertically expanded volume. So, manually doing a balance afterward is highly recommened.
I've also noticed some inconsistancy as to whether the metedata is in RAID or DUP. You can find out with btrfs filesystem df /data.
From everything I've read, RAID is the best configuration. The following will change that: btrfs balance start -mconvert=raid1 /data
Of course, it's a balance, so it'll take a while.
Related Content
NETGEAR Academy

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