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.
StephenB
Feb 04, 2018Guru - Experienced User
A brute-force approach is to back up the data, do a factory reset, rebuild the NAS configuration and then restore the data from backup.
- abruzFeb 04, 2018Aspirant
Thanks. That was my "Plan B" if this round of balance/defrag/scrub doesn't produce any results.
- mdgm-ntgrFeb 05, 2018NETGEAR Employee Retired
What do you see for snapshots in btrfs.log?
- abruzFeb 05, 2018Aspirant
It does have some entries pertaining to snapshot directories/files but I am not versed in deciphering this file (attached) so any help would be appreciated.
I did putty/ssh into the system and thought I looked at all snapshot files/folders and found them all to be empty. It is possible I did not see the ".snapshots" entries. I will look at those specific files this evening when I have access to the system after work.
Again, any insight to what my log file (attached) is telling me will be appreciated.
Thanks........
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!