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

System volume 'root' usage is 95% (/dev/md0)

nicolas68
Aspirant

System volume 'root' usage is 95% (/dev/md0)

Hello,

 

It seems I have a problem. I read my logs and system volume 'root' usage is 95%. I made a bit of research on the forum and accessed my RN104 with SSH.

With the command df -i it seems like the problem is in /dev/md0

 

1.JPG

 

However I have very little unix knowledge and don't know how to solve my problem

I can't contact support since my contract expired

 

I tried the following command

cd /var

du -hsx * | sort -rh | head -10

 

to see if some files were suspicious on /var, /etc, /usr, /opt, /frontview, /bin and /tmp

 

2.JPG

 

 

 

 

3.JPG

 

Is everything okay on my screenshots?

What is wrong with my NAS?

 

Thanks in advance for the help

Nicolas

 

Message 1 of 7

Accepted Solutions
StephenB
Guru

Re : System volume 'root' usage is 95% (/dev/md0)


@nicolas68 wrote:
Can I do something without formatting?
If no, will a format solve my problem?
Is it dangerous to leave it like this?
Thanks again for your time, have a nice day.

Nicolas

It is dangerous to leave it like this.  If the OS partition completely fills the NAS will become totally inaccessible.  It'd still be possible to fix it using tech support mode, but it would be better to deal with it now.

 

I am not sure what you mean by "format", but I am guessing you mean a NAS factory reset. That would fix it, but you'd need to totally rebuild the NAS, reinstall any applications, and restore the data.  If you reinstall the same add-ons you have on it now (in the same way) you will end up with the same problem.

 

The key is that add-ons that use a lot of disk space (or which create a lot of files) need to be installed so that their data folders aren't on the OS partition.  One way to do this is to find those folders, and copy them to your data volume.  Then delete the folder on the OS partition and create a symlink to the data volume copy.   You'll probably need to stop the add-on from the command line before you do this (and start it afterwards).  Often the add-on data folders can be configured (exactly how depends on the add-on).  So that is another way to work around it.

 

Apps intended for OS6 NAS should put their data in \data\.apps (which is on the data volume).  Perhaps research what apps are available from rnxtras.com, and see if there are any you can use.  Then you could uninstall what you have now, and switch over to ones that minimize their OS partition use.

 

If you make a mistake, you can brick the NAS (forcing a factory default), so you should make sure you have an up to date backup first.

View solution in original post

Message 6 of 7

All Replies
mdgm-ntgr
NETGEAR Employee Retired

Re: System volume 'root' usage is 95% (/dev/md0)

You are using most of the inodes on the OS partition. This usually is caused by a huge number of small files.

 

You need to find where the inodes are being used.


Which services and apps are you running?

Message 2 of 7
nicolas68
Aspirant

Re: System volume 'root' usage is 95% (/dev/md0)

Hi mdgm

I've downloaded a few apps in the past but the only one still installed is the Transmission client.
For the services enabled I have smb, NFS, readyDLNA, HTTP, HTTPS, ssh and UPnP
Message 3 of 7
mdgm-ntgr
NETGEAR Employee Retired

Re: System volume 'root' usage is 95% (/dev/md0)

Looks like you've installed a bit of stuff using SSH. Python looks to be using quite a bit of space for instance.

Message 4 of 7
nicolas68
Aspirant

Re : System volume 'root' usage is 95% (/dev/md0)

Can I do something without formatting?
If no, will a format solve my problem?
Is it dangerous to leave it like this?
Thanks again for your time, have a nice day.

Nicolas
Message 5 of 7
StephenB
Guru

Re : System volume 'root' usage is 95% (/dev/md0)


@nicolas68 wrote:
Can I do something without formatting?
If no, will a format solve my problem?
Is it dangerous to leave it like this?
Thanks again for your time, have a nice day.

Nicolas

It is dangerous to leave it like this.  If the OS partition completely fills the NAS will become totally inaccessible.  It'd still be possible to fix it using tech support mode, but it would be better to deal with it now.

 

I am not sure what you mean by "format", but I am guessing you mean a NAS factory reset. That would fix it, but you'd need to totally rebuild the NAS, reinstall any applications, and restore the data.  If you reinstall the same add-ons you have on it now (in the same way) you will end up with the same problem.

 

The key is that add-ons that use a lot of disk space (or which create a lot of files) need to be installed so that their data folders aren't on the OS partition.  One way to do this is to find those folders, and copy them to your data volume.  Then delete the folder on the OS partition and create a symlink to the data volume copy.   You'll probably need to stop the add-on from the command line before you do this (and start it afterwards).  Often the add-on data folders can be configured (exactly how depends on the add-on).  So that is another way to work around it.

 

Apps intended for OS6 NAS should put their data in \data\.apps (which is on the data volume).  Perhaps research what apps are available from rnxtras.com, and see if there are any you can use.  Then you could uninstall what you have now, and switch over to ones that minimize their OS partition use.

 

If you make a mistake, you can brick the NAS (forcing a factory default), so you should make sure you have an up to date backup first.

Message 6 of 7
nicolas68
Aspirant

Re : System volume 'root' usage is 95% (/dev/md0)

Ok I will perform a factory reset when i'm done backing up everything.

I won't try anything experimental anymore Smiley Surprised

The only app I will need is transmission

Thanks again mdgm & StephenB, you guys rock!

Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 4326 views
  • 1 kudo
  • 3 in conversation
Announcements