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...
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 /
StephenB
Feb 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/.snapshots
No, 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
- rn_enthusiastFeb 26, 2021Virtuoso
The volume is 10.89 TiB and the used space is 10.22TiB (93% full).
Label: '0a4357ec:data' uuid: 3e5e6709-18d6-4dc0-b238-ba3e4cbaf8de Total devices 1 FS bytes used 10.22TiB
I don't see a reason not to trust this report from the filesystem. By default the snapshots are stored in an unlistable directory and thus doing "du" probably isn't going to be accurate and as you can see only showed 7.4TB. I can see you have 2 snapshots but one of them is odd and exists in /data/._share which is a config directory.
ID 42109 gen 51022532 top level 260 path ._share/Backups/.snapshot/b_1614215108_6056
Path would be /data/._share/Backups/.snapshot/b_1614215108_6056
I wonder how this came about... Can you run do these commands and show output:
btrfs subv show /data/._share/Backups/.snapshot/b_1614215108_6056 btrfs subv list -s /data btrfs qgroup show /data
Side note: You have a disk that failed your disk test, you need to replace it. Disk 1. The kernel logs are also complaining about this disk. Replace it asap.
[21/02/24 09:19:14 MST] warning:volume:LOGMSG_DISKTEST_RESULT_FAIL_DISK Disk test failed on disk in channel 1, model WDC_WD20EFRX-68EUZN0, serial WD-WCC4M0KH0HDA.
Device: sda Model: WDC WD20EFRX-68EUZN0 Serial: WD-WCC4M0KH0HDA Firmware: 82.00A82W Class: SATA RPM: 5400 Sectors: 3907029168 Pool: data PoolType: RAID 6 PoolState: 1 PoolHostId: a4357ec Health data ATA Error Count: 0 Reallocated Sectors: 0 Reallocation Events: 0 Spin Retry Count: 0 Current Pending Sector Count: 126 Uncorrectable Sector Count: 0 Temperature: 32 Start/Stop Count: 20 Power-On Hours: 24275 Power Cycle Count: 20 Load Cycle Count: 1034
Many of these errors in kernel logs. Not good to keep it in the NAS.
[Thu Feb 25 06:59:36 2021] sd 0:0:0:0: [sda] tag#6 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Thu Feb 25 06:59:36 2021] sd 0:0:0:0: [sda] tag#6 Sense Key : Medium Error [current] [descriptor] [Thu Feb 25 06:59:36 2021] sd 0:0:0:0: [sda] tag#6 Add. Sense: Unrecovered read error - auto reallocate failed [Thu Feb 25 06:59:36 2021] sd 0:0:0:0: [sda] tag#6 CDB: Read(10) 28 00 e3 18 6c d0 00 02 28 00 [Thu Feb 25 06:59:36 2021] blk_update_request: I/O error, dev sda, sector 3810028752
Related Content
NETGEAR Academy

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