NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
abruz
Feb 04, 2018Aspirant
Snapshots using 500GB but never turned on.....why? (And how to recover the space)
GUI showing 500GB of space being used by Snapshots (and it grows every day). I do not have snapshots turned on, have never had them turned on (to my knowledge), and cannot find any snapshots in the ...
- Feb 06, 2018
wrote:
I tried the "btrfs subvolume delete /data/BayBlueprint/.snapshots" but it gave me an error:
ERROR: cannot delete .......Directory not empty
I'll need to figure out if I can force a delete or recursively delete.
Each folder in /data/BayBlueprint/.snapshots is a subvolume, so I guess you do need to delete those. Try deleting one of them - for instance btrfs subvolume delete /data/BayBlueprint/.snapshots/5/snapshot
There is no recursive delete option, though I guess you could try to build a script. If you don't have too many, it's probably easiest to just change the /5/ to another snapshot index and redoing the command.
abruz
Feb 05, 2018Aspirant
I tried the "btrfs subvolume delete /data/BayBlueprint/.snapshots" but it gave me an error:
ERROR: cannot delete .......Directory not empty
I'll need to figure out if I can force a delete or recursively delete.
StephenB
Feb 06, 2018Guru - Experienced User
wrote:
I tried the "btrfs subvolume delete /data/BayBlueprint/.snapshots" but it gave me an error:
ERROR: cannot delete .......Directory not empty
I'll need to figure out if I can force a delete or recursively delete.
Each folder in /data/BayBlueprint/.snapshots is a subvolume, so I guess you do need to delete those. Try deleting one of them - for instance btrfs subvolume delete /data/BayBlueprint/.snapshots/5/snapshot
There is no recursive delete option, though I guess you could try to build a script. If you don't have too many, it's probably easiest to just change the /5/ to another snapshot index and redoing the command.
- abruzFeb 07, 2018Aspirant
Thanks for the assist on the btrfs commands to locate and clean up my hidden snapshot files. I was able to create a script that located and then delete the snapshot subvolumes so I didn't have to do it via command line one at a time.
The UI does not show that I have reclaimed all the snapshot space yet but I believe it will once I get a chance to reboot the system. My scrub took 48 hours and that did reclaim a ton of space so things are looking much better.
Thanks again for your wisdom.
- StephenBFeb 07, 2018Guru - Experienced User
I'm glad you got it resolved.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!