× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

ReadyNas 102 and strange disk usage figures !!!

jlvila
Aspirant

ReadyNas 102 and strange disk usage figures !!!

Hi all,

I've a ReadyNas 102/Firmware 6.2.4

I notice something very strange on the disk usage:
From my admin web app :
72GB free of 927GB
From ssh session : df -f
855 GB used / 72 GB free of 927GB
The problem is when I check the usage using "df -h / --max-depth=1" I have only 538GB used for /.

Where are the 317GB?????
I know sometimes DU and DF commands can give different values because inode deallocation can't be made because the file is open by another process. But, I've restart the nas after 6.2.4 upgrade.

Who can give me an explanation?
Jean-Louis
Message 1 of 9
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNas 102 and strange disk usage figures !!!


# btrfs fi show
# btrfs fi df /data


Can you post the output of the df command you used?
Message 2 of 9
jlvila
Aspirant

Re: ReadyNas 102 and strange disk usage figures !!!


root@nas-e4-15-da:~# btrfs fi show
Label: '0e360639:data' uuid: ff46b606-d5bf-4b22-a4ba-69f6fe939829
Total devices 1 FS bytes used 854.31GiB
devid 1 size 926.89GiB used 926.89GiB path /dev/md127

Btrfs v3.17.3
========================
root@nas-e4-15-da:~# btrfs fi df /data
Data, single: total=924.86GiB, used=853.57GiB
System, DUP: total=8.00MiB, used=104.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=1.00GiB, used=767.59MiB
Metadata, single: total=8.00MiB, used=0.00B
Message 3 of 9
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNas 102 and strange disk usage figures !!!

Can you send me your logs (see the Sending Logs link in my sig)?
Message 4 of 9
jlvila
Aspirant

Re: ReadyNas 102 and strange disk usage figures !!!

Unfortunatly, I "scrubbed" HD and cleaned the log just after but I did not notice anything wrong inside.
Message 5 of 9
jlvila
Aspirant

Re: ReadyNas 102 and strange disk usage figures !!!

I am ashamed of myself because the root cause is so obsious ==> The snapshots, i remove them and now with "du -h" I retrieve My 300GB.
Message 6 of 9
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNas 102 and strange disk usage figures !!!

Yes, that would be it.

Seeing you've removed your snapshots it would be a good time to run a defrag, then once that is complete run a balance.

If you go to Volumes in the web admin interface then click on the volume you should see the option to run these.
Message 7 of 9
jlvila
Aspirant

Re: ReadyNas 102 and strange disk usage figures !!!

Thanks for the advice, i would do it.

Thanks for your answers
jean-louis
Message 8 of 9
BaJohn
Virtuoso

Re: ReadyNas 102 and strange disk usage figures !!!

mdgm wrote:
Seeing you've removed your snapshots it would be a good time to run a defrag, then once that is complete run a balance.
jlvila wrote:
Thanks for the advice, i would do it.
When you finish your defrag, can you please add your info to this post http://www.readynas.com/forum/viewtopic.php?f=21&t=80004 as I have no data for a RN102.
Message 9 of 9
Top Contributors
Discussion stats
  • 8 replies
  • 2052 views
  • 0 kudos
  • 3 in conversation
Announcements