- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
System volume 'root' usage is 95% (/dev/md0)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Is everything okay on my screenshots?
What is wrong with my NAS?
Thanks in advance for the help
Nicolas
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: System volume 'root' usage is 95% (/dev/md0)
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re : System volume 'root' usage is 95% (/dev/md0)
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
The only app I will need is transmission
Thanks again mdgm & StephenB, you guys rock!