NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
SuperNASman
Sep 06, 2015Aspirant
System volume 'root' usage is 100% and /dev/md0 is full
Hello,
I recently started getting notifications that my system volume 'root' usage is 100%
I've gone through all of the files and it seems the culprit is /dev/md0
I have no add-ons installed, and this NAS is specifically used as a backup of another NAS. It uses ReadyNAS Replicate for backups.
Here's the output from df-h and df-i
I've already tried commands similar to these:
du -csh /var
du -csh /var/*
And the problem does not seem to be in those directories. Very low usage there.
This error started appearing on the day that I got a copy failed error from ReadyNAS Replicate that gave me an Exit Code: 11 (Error in file I/O)
Can someone help me fix this?
The reason you couldn't find it was that at some point your encrypted volume wasn't mounted (perhaps the USB key wasn't connected when you booted the NAS) and a Replicate backup job ran and filled the OS partition on the NAS.
When you looked at the system the data volume was mounted. There was data under /data on the OS partition but you couldn't tell that.
I have passed on a summary of what's happened to our engineers and am waiting for their suggestion. However as it is a long weekend in the US I don't expect a response for at least a few days.
9 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
More than likely its one or two very large files in one directory.
try
cd /var
du -hsx * | sort -rh | head -10
and if you see a directory that has gigabytes of stuff, descend into it and repeat.
If you don't pick a different main directory and try again.
/var, /etc, /usr, /opt, /frontview, /bin, /tmp are all places you can look.
Though maybe double-check /var/log first.
- SuperNASmanAspirant
None of those seem to be responsible.
root@RN102Backup:~# cd /var
root@RN102Backup:/var# du -hsx * | sort -rh | head -10
106M lib
53M backups
5.5M cache
700K log
624K readynasd
16K spool
16K netatalk
8.0K www
4.0K tmp
4.0K replicate
root@RN102Backup:/var# cd /etc
root@RN102Backup:/etc# du -hsx * | sort -rh | head -10
924K ssl
508K apache2
388K default
296K frontview
276K ssh
268K init.d
172K fonts
96K pam.d
80K apt
56K network
root@RN102Backup:/etc# cd /usr
root@RN102Backup:/usr# du -hsx * | sort -rh | head -10
78M lib
20M bin
18M sbin
16M share
48K local
4.0K src
4.0K include
4.0K games
root@RN102Backup:/usr# cd /opt
root@RN102Backup:/opt# du -hsx * | sort -rh | head -10
2.2M ctch
1.2M readycloud
776K replication
740K p2p
192K readydrop
92K remote
root@RN102Backup:/opt# cd /frontview
root@RN102Backup:/frontview# du -hsx * | sort -rh | head -10
20M dashboard
2.6M conf
1.1M lib
860K bin
0 recovery
root@RN102Backup:/frontview# cd /bin
root@RN102Backup:/bin# du -hsx * | sort -rh | head -10
800K bash
660K busybox
260K tar
224K ip
184K systemctl
152K grep
152K egrep
116K fgrep
108K netstat
108K cp
root@RN102Backup:/bin# cd /tmp
root@RN102Backup:/tmp# du -hsx * | sort -rh | head -10
du: cannot access `*': No such file or directory- vandermerweMaster
There are other directories you can look in, there has to be something there.
Of course you do have the option of factory defaulting the nas.
Related Content
NETGEAR Academy

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