NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ViktorN
Mar 17, 2019Tutor
System volume root's usage is xx%. This condition should not occur under normal conditions. Contact
ReadyNAS 104, latest firmware (6.9.5), 4,17TB free of 5,44TB, default antivirus, NO installed Applications, enabled sevices: SMB, NFS, FTP, ReadyDLNA, Rsync, UPnP, HTTP, HTTPS, Antivirus.
Used for ...
asimb
Mar 18, 2019Star
Hi,
I had exactly the same problem on my RN102. Since March the 5th the antivirus didn't update any more. On March the 17th I received the error message "System volume root's usage is 84%".
After 4 hours of investigation and research I think, I found out the problem. According to the information about OS 6.10 the newest version of the antivirus "ClamAV" is too large for the RN100-series.
I connected to the NAS via SSH and tried to update the antivirus manually by using "freshclam". The download of the latest databases worked fine, but the update of the antivirus ended in an endless loop and the root usage increased to 94%. After some research I found out, that the antivirus makes for each update a temporary directory located at /var/lib/clamav beginning with "clamav-..." and ending with ".tmp". Each of the directories has about 133MB. Each time the antivirus updates, the downloaded data are stored in such a directory, but if the update fails, the directory is not removed! So after about 10 days the root-volume is filled up and the system crashes.
My solution (usage on your own risk): remove the temporary directories mentioned above in /var/lib/clamav (BE CAREFUL - wrong deletion can destroy your system!). After this deactivate the anti-virus (else the next update will also fail and the filling up starts again). Restart the system to be sure, that all tasks are ended. On my NAS this worked.
ViktorN
Mar 18, 2019Tutor
Hi asimb, thank you very much for your valuable informations. But how do I get into root? I can only see the directories I created myself. I only have access through ReadyNAS Admin Page (via local www of NAS).
Thanks
- asimbMar 18, 2019Star
First of all you have to enable SSH on your NAS admin-page (description how to do see https://kb.netgear.com/30068/ReadyNAS-OS-6-SSH-access-support-and-configuration-guides "Enabling SSH access for root using password authentication"). Then you have to start SSH on your windows computer using "ssh root@<ip>.<ip>.<ip>.<ip>" (ip means the ip-adress of your NAS). The password is your admin-password.
then you have to type "cd /var/lib/clamav" and then "ls -la". Then you should see some entrys beginning with "clamav-..." and ending with ".tmp". Please check this.
- mprosMar 18, 2019Initiate
Hi, today i ran into the same issue and solved it with your described steps.
- Enable ssh service and the ssh login permission via accounts > user
- Login e.g. Putty and switch to root via: su -
- Check the size of the root-fs via: du -hsx /* | sort -rh | head -10
(you'll get the following output)
root@STORAGE:~#
du: cannot access '/proc/17259/task/17259/fd/3': No such file or directory
du: cannot access '/proc/17259/task/17259/fdinfo/3': No such file or directory
du: cannot access '/proc/17259/fd/3': No such file or directory
du: cannot access '/proc/17259/fdinfo/3': No such file or directory
3.1G /var <<<<<<<<<<<
185M /usr
30M /frontview
28M /lib
10M /sbin
9.1M /etc
6.1M /opt
6.0M /bin
1.5M /apps
396K /run- change directory to /var/lib/clamav
- stop the following clamav services via: systemctl stop ...
-rw-r--r-- 1 root root 565 Oct 9 21:53 clamav-daemon.service
-rw-r--r-- 1 root root 204 Oct 9 21:53 clamav-freshclam.service
-rw-r--r-- 1 root root 156 Oct 9 21:53 clamav-freshclam.timer
-rw-r--r-- 1 root root 499 Oct 31 05:17 clamav-init.service- delete the temp-folders and (maybe the *.cld-files) via : rm- rf
- disable the clamd-services if needed
- asimbMar 18, 2019Star
Warning: be careful with "rm -rf", because this command is deleting everything in the selected directory! So before using this, be sure, that you are in /var/lib/clamav and not somewhere else. From my point of view it's more secure to use "rm -r clamav-*.tmp".
- dasgwegApr 18, 2019Aspirant
What's next? How to clean ??
- StephenBApr 18, 2019Guru - Experienced User
I responded on your other thread. You need to log in as root. Then you will be able to delete the tmp files.
- asimbMar 18, 2019Star
Hi,
attached you can find a screenshot showing, what I did to "repair" my NAS
- denlogMar 20, 2019Aspirant
Thank you for the solution, I had the exact problem with my root directory 85% full, it took me forever to figure out how to get into the system via putty, the password was "password" and not my password which was weird, also thanks for the screen shot, could not have done it without - very apreciative people are willing to spend the time to help.
Thanks again,
Greg
- Bell98Mar 21, 2019Guide
Many thanks asimb for the solution and image. My ReadyNas antivirus also stopped updating on 5th March and the clamav had 32 .tmp files at 166M each. I've now turned off the antivirus.
- mnickelsMar 21, 2019Aspirant
Thank you Asimb for this information. All of it helped significantly. I started looking into the same issue (which began on 3/5) yesterday. At that point I was at 88% and was at 98% this morning after several reboots. I was getting very worried until I stumbled on to your post. I am now good and fine. Thank you, thank you, thank you.
I would like to add to all this, if you turned SSH on to fix this issue make sure to turn it off once you are all done. No need to leave the door open.
- Rob_YMar 24, 2019Aspirant
Yes, THANK YOU asimb!!!! I spent a couple days researching how to resolve this sudden dilemma... And thanks to this forum htread I was able to work my way though it.
Rob
Related Content
NETGEAR Academy

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