NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
pwptech
Feb 23, 2021Tutor
ReadyNas 628x Mysterious Storage Consumption
I have an RN628x with 8x 2TB drives in RAID6. In total I have about 10.89TB of provisioned storage. Out of the main storage I have 3 main shares. I also have 1 thick provisioned LUN. I do not utilize...
StephenB
Feb 23, 2021Guru - Experienced User
Can you post the output of these commands?
# btrfs fi sh /data # btrfs fi df /data
You might also find these helpful, but there is some privacy leakage, so you might not want to post them.
# btrfs subv list /data # du -hd1 /data # btrfs qgroup show /data
Given the overall situation, you might want to delete all the snapshots.
pwptech
Feb 23, 2021Tutor
Thanks for the reply StephenB
I have deleted all snapshots but I'm still showing 577.04GB of snapshot data on the frontend GUI [depicted by yellow slice of pie chart]
root@NAS-01:~# btrfs fi sh /data Label: '0a4357ec:data' uuid: 3e5e6709-18d6-4dc0-b238-ba3e4cbaf8de Total devices 1 FS bytes used 10.06TiB devid 1 size 10.89TiB used 10.86TiB path /dev/md127 root@NAS-01:~# btrfs fi df /data Data, single: total=10.86TiB, used=10.06TiB System, DUP: total=32.00MiB, used=1.50MiB Metadata, DUP: total=1.00GiB, used=429.44MiB GlobalReserve, single: total=190.06MiB, used=0.00B
To delete all snapshots should I just delete all directories containing .snapshot as the name? When I show all snapshots under /data I only have 1 listed and it's less than 150MB.
root@NAS-01:~# btrfs subv list -s /data ID 40579 gen 49790139 cgen 49790139 top level 6346 otime 2021-02-17 00:00:16 path MSDS/.snapshots/980/snapshot
root@NAS-01:~# du -sh /data/MSDS/.snapshots
127M /data/MSDS/.snapshots
When showing du -sh on root it shows 7.5TB in total.
root@NAS-01:~# du -sh / du: cannot access '/proc/12244/task/12244/fd/3': No such file or directory du: cannot access '/proc/12244/task/12244/fdinfo/3': No such file or directory du: cannot access '/proc/12244/fd/4': No such file or directory du: cannot access '/proc/12244/fdinfo/4': No such file or directory 7.5T / root@NAS-01:~# du -sh /data 7.4T /data
root@NAS-01:~# du -hd1 / 6.4M /bin 0 /boot 4.0K /dev 11M /etc 4.0K /home 33M /lib 4.0K /lib64 0 /media 4.6M /opt du: cannot access '/proc/12337/task/12337/fd/3': No such file or directory du: cannot access '/proc/12337/task/12337/fdinfo/3': No such file or directory du: cannot access '/proc/12337/fd/4': No such file or directory du: cannot access '/proc/12337/fdinfo/4': No such file or directory 0 /proc 20K /root 91G /run 11M /sbin 0 /srv 0 /sys 0 /tmp 272M /usr 316M /var 0 /mnt 7.4T /data 2.5M /apps 31M /frontview 7.5T /
- StephenBFeb 23, 2021Guru - Experienced User
pwptech wrote:
To delete all snapshots should I just delete all directories containing .snapshot as the name? When I show all snapshots under /data I only have 1 listed and it's less than 150MB.
root@NAS-01:~# btrfs subv list -s /data ID 40579 gen 49790139 cgen 49790139 top level 6346 otime 2021-02-17 00:00:16 path MSDS/.snapshots/980/snapshot
root@NAS-01:~# du -sh /data/MSDS/.snapshots
127M /data/MSDS/.snapshotsNo, you won't be able to delete the snapshots with rm. They are btrfs subvolumes - so you can delete them with btrfs subv delete <path>
Try turning off volume quota (from the volume settings wheel), and then turn it back on.
I'd also try another balance.
rn_enthusiast might have some other suggestions.
- pwptechFeb 24, 2021Tutor
Thanks for the suggestionsStephenB
I have disabled then re-enabled quota. I also did Disk Balance and it completed successfully. The snapshots have been removed now but I'm still facing the same issue where about 2TB seems to be missing. I am showing 10.09TB for Data in the frontend.
I will also perform a scrub and defrag. Short of that working I'm not sure what else could be done except rebuilding the array which I really don't want to do.
- rn_enthusiastFeb 25, 2021Virtuoso
Hi pwptech
Would you mind grabbing the NAS log-set for me? Then I will have a look at it. On the web admin page, go to "System" > "Logs" > click "Download logs".
This should download a zip file containing all the logs. You can then upload that zip file to Google Drive, Dropbox or similar and make a link which I can use to download it. PM me this link - don't post it publicly here.
Thanks for the ping StephenB :)
Cheers
Related Content
NETGEAR Academy

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