NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
rsumanraju
Apr 04, 2018Aspirant
Unable to free up space in drive even after deletion of snapshot data in Netgear Nas1002
I have gone through all previous treads on deletion of Snapshot data in this forum. I tried to delete previous snapshots in Admin Page-> Shares -> Snapshots -> Deleted snapshots in each folder. But t...
komm_it
Apr 05, 2018Guide
Hi There,
I'm exactly in the same situation with two Raid 1 Volumes (Array_4 and Array_5)
On "Array_4", I've totally emptied the Share but, as you can see on the screenshot, the snapshots are still using 75% (?) of the volume.
Snapshot has been turned OFF on both volumes but I can't find any "delete" command in the admin web interface allowing to delete the snapshots folder and I get a permission error when trying to delete the snapshots folder or any sub-folder from the Finder on MacOS 10.3.4
I can, of course, destroy and re-create "Array_4" as there is no data on it but I still have a problem with "Array_5"
How can I delete the snapshot folder and regain free space?
Thanks
StephenB
Apr 05, 2018Guru - Experienced User
You could try checking via ssh. Navigate to the volume root and then list btrfs subvolumes with the command line. This will include any snapshots. For instance
root@NAS:~# cd /data
root@NAS:/data# btrfs subvolume list .
- komm_itApr 06, 2018Guide
Thanks, I can easely access the snapshot folder via ssh but i cannot remove it neither its content.
I've tried to rm -r snapshot but access to the files is denied because, as it is written in the terminal after each delete attempt , the system is read only.
The problem occurred when I moved a large amount of file around. I thought that by balancing the volumes I would regain the space used by the snapshot but nothing really happened after the balancing.
I would really like to avoid destroying and recreating the volumes since that will mean moving again large amount og file.
Any suggestion how to delete the snapshot folder?
- StephenBApr 06, 2018Guru - Experienced User
rm won't work because the snapshots are subvolumes. You'd need to use btrfs subvolume delete pathname
You might also need to remount the data volume (perhaps to /mnt) without the read-only option in order to do this.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!