NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
rightster
Nov 27, 2014Aspirant
Root partition full and can't account for all 4GB
I am trying to figure out how the 3.1G of the 4G root partition is being used. I'm at 84% right now but it's been as high as 98% and don't want to run into that situation again.
I can't figure out where all that disk space is being used at. When I look at the du excluding the other mount points I can only see about 1.8G of usage.
root@RIGHTSTER-NAS:/etc/default# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 4.0G 3.1G 610M 84% /
tmpfs 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 3.1G 610M 84% /
tmpfs 1.9G 44K 1.9G 1% /dev/shm
tmpfs 1.9G 21M 1.9G 2% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 1.9G 0 1.9G 0% /media
/dev/md127 28T 9.9T 18T 37% /data
/dev/md127 28T 9.9T 18T 37% /home
/dev/md127 28T 9.9T 18T 37% /apps
/dev/md127 28T 9.9T 18T 37% /var/ftp/syslog
/dev/md127 28T 9.9T 18T 37% /run/nfs4/home
I can't figure out where all that disk space is being used at. When I look at the du excluding the other mount points I can only see about 1.8G of usage.
root@RIGHTSTER-NAS:/etc/default# du -k /* --exclude=/data --exclude=/home --exclude=/apps --exclude=/run/sfs4/home --exclude=/dev/shm --exclude=/run --exclude=/sys/fs/cgroup --exclude=/media --max-depth=1 | sort -nr | cut -f2 | xargs -d '\n' du -sh
1.1G /var
503M /usr
116M /opt
67M /frontview
47M /root
36M /lib
7.9M /sbin
7.0M /bin
7.0M /etc
52K /tmp
8.0K /cp_check_md5sums.sh
4.0K /logs
4.0K /lib64
4.0K /homes
48K /dev
14 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredWhich version of mysqlr6 do you have installed? I guess you have 1.0.0 installed?
# dpkg -l | grep mysql
You should update to 1.0.1. You could do this from the UI or do
# apt-get update
# apt-get install mysqlr6 - nass06AspirantThis is the output for mysql
ii libdbd-mysql-perl 4.021-1+b1 armel Perl5 database interface to the MySQL database
ii libmysqlclient18:armel 5.5.41-0+wheezy1 armel MySQL database client library
ii mysql-client 5.5.41-0+wheezy1 all MySQL database client (metapackage depending on the latest version)
ii mysql-client-5.5 5.5.41-0+wheezy1 armel MySQL database client binaries
ii mysql-common 5.5.41-0+wheezy1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.41-0+wheezy1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.41-0+wheezy1 armel MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.41-0+wheezy1 armel MySQL database server binaries
ii php5-mysql 5.4.36-0+deb7u3 armel MySQL module for php5
ii rsyslog-mysql 5.8.11-3+deb7u2 armel
I did the update and I still have ibdata1 in var and still 2Go, so what should I do?
Thank you. - mdgm-ntgrNETGEAR Employee RetiredYou may need to uninstall the apps that use mysql as well as mysqlr6 and then install mysqlr6 then the apps that use mysql again.
Or manually move the databases onto the data volume and create a symlink. - nass06AspirantOk, I will do a symlink because I don't know what apps use mysql (I think all of them), even the system I don't know if he use mysql.
Related Content
- Apr 16, 2020Retired_Member
- Jan 26, 2024Retired_Member
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!