NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
aVe2000
Apr 24, 2016Aspirant
system volume 100%
Hi community,
i run again and again into trouble with messed up system volume. Last time i was able to clean this with deleting logs, addons etc. via ssh.
Now i am not sure what to do:
df - i tells me /dev/md0 is 100% full. Strangely (if i take a look in other similiar posts here) i dont have a root device listed here.
On the other hand i have a file named ?q7@7 in / which i cannot delete.
df -h says there is enough space left (about 70% free).
I had plex media server installed and removed the directory in the apps dir. Frontend is still working but on the other hand baikal seemed to stop working.
Reinstalling OS seems to fail because of not enough space. I say 'seems' because there is this message on my device front but there was a reset for the admin password which happens during os reinstall.
I came across a post by Ivan Kuznetsov:
http://www.ivankuznetsov.com/2010/02/no-space-left-on-device-running-out-of-inodes.html. This post listed a command for listing and counting all file on my device.
for i in /*; do echo $i; find $i |wc -l; done
result:
/apps
2136
/bin
114
/boot
1
/data
102925
/dev
1448
/etc
2065
/frontview
918
/home
4
/homes
1
/lib
1147
/localtime
1
/lost+found
1
/media
1
/minidlna.conf
1
/minidlna.conf~
1
/mnt
1
/opt
172
/proc
52245
/�q7@
1
/root
107
/run
97268
/sbin
150
/selinux
1
/srv
1
/sys
13755
/tmp
7
/usr
30042
/var
30763
/webmin-setup.out
1
not very impressive...
Does anyone has an suggestion?
Thank you very much.
Regards.
If you have e.g. FTP enabled the USB disk would be mounted in a location under /var.
You need to be careful to distinguish between usage on the root volume and usage on the data volume or USB disks.
That inode check won't distinguish between them, but you can look at e.g.
# cat /proc/mounts
to see what is mounted where and what you can ignore when calculating root volume usage.
3 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee Retired
/apps is on the data volume not on the root volume so deleting stuff in /apps would have no effect on root volume usage.
That output suggests you need to look under /usr and /var to see what's using so many inodes.- aVe2000Aspirant
Hi mdgm,
thank you for your answer.
man, i hate the community software. I wasnt able to edit my post nor to append another message.
The problem seems to be the data i store itself. I have 3 4TB HDDs connected to a Raid5 (?). Thats 7,5 TB at all. The disks are filled up to the half with many files (pictures, mp3, videos, backups). I backup my pictures to an external hdd via usb on the back. If i pull off the external hdd the inodes workload is down to 60%. So this is a kind of workaround for now.
Is this as intended? Does the external hdd (and the internal, too) add up to the inodes count of my root? I am not very familiar with file systems under linux.
Much regards.
- mdgm-ntgrNETGEAR Employee Retired
If you have e.g. FTP enabled the USB disk would be mounted in a location under /var.
You need to be careful to distinguish between usage on the root volume and usage on the data volume or USB disks.
That inode check won't distinguish between them, but you can look at e.g.
# cat /proc/mounts
to see what is mounted where and what you can ignore when calculating root volume usage.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!