/ directory is full but things don't add up

I have my disk partition as follows:


Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              5162796   5144960         0 100% /
udev                   1029836       192   1029644   1% /dev
/dev/sda2               101105     14773     81111  16% /boot
/dev/sda8             52299960  28055764  21587452  57% /home
/dev/sda7              3099260    247968   2693860   9% /tmp
/dev/sda5             36123168   5410408  28877740  16% /usr
/dev/sda6             10325748    647680   9153548   7% /var
/dev/sdb1            156288320  94643444  61644876  61% /media/passport
192.168.1.24:/shares/Main/jim
                     243691056 137231128 106459928  57% /mnt/jim
192.168.1.24:/shares/Main/pc_backups
                     243691056 137231128 106459928  57% /mnt/backup

My root directory (/) is a 5G partition on the drive. (I also have a USB hard drive mounted on /media/passport and two NFS mounts - /mnt/jim and /mnt/backup.)

The problem is the / directory is full. I’ve looked at the files in that directory and when I add up all the files sizes, I only get about 450M.

Anyone have any idea what’s consuming the rest of the space?

Thanks,

You are actually saying that your / is only 450mb
That would be very strange
5GB is small for a / - and I would expect 5GB to be full

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes… what about /etc, /lib, /sbin, etc.?

Good luck.

caf4926 wrote:
> You are actually saying that your / is only 450mb
> That would be very strange
> 5GB is small for a / - and I would expect 5GB to be full
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJqgqqAAoJEFl00+q2r0YpyqoP/1eVHOYT0ki7ZSVo+LvbFQgE
xhb8q1wXrqBn2IWRtZvnV2ThMwd7XijJUt20iJ3wqQBXom4ZjcfHMSU/C2vEyTu7
EmoT/2lFEd8Afe1vIm739DWurqbRw25pB6MufvA1U3yHA6N8Et8qtj3fY+xSu4Na
HlrsQHGQhSNw5MXv/JuwmDl6Xg3D+xNyKj4UWv7R0c4cFYa86xSfrhYobMaf7xDy
nsWms1q9vPYJZHAkaT0OCCJrEyGmElhzGqKt8l62x7NhsO1KLbtMe7LUBJm910p4
KIsRJV6wqQUbHEEqF0RBZGjz3ykxo3qy8q7KyHAlZAFleOY8ktvRKAo0chYYE29w
lRykCFPe/OKgO9oe4KSKdIPaaynf5hany5vnjCEXfaMFPzfYnNJNiTHv1uBa/DDs
gGPVXcxsNYlSfhaqidy/hH/vSDJ1DFha+9z36NVVEeYNVRxa3kM3HXocT1O3HbXN
o59GJ/9PgD3ZoTnj3E2UZM+Z1UrDcRZ3JBo2/RdUw9OCVRIsM4Qzc+EevExRN6Of
qCNUOcrzrANraCXwtMcPNQxWba7DW0ZBHI5/wx0/sI1cRzX+9BipgeOv9DFZD03V
fjSXG+ZAKixKf7zQPx3NK6SrYrVx1Wge6OKVDfpWFqiHDyqhz7EA/ljrOHd5wdSe
Cjx5yZLH3DgzlaFW7H1w
=3Cdl
-----END PGP SIGNATURE-----

No. I’m saying / is 5GB. Look at the ‘df -k’ output. I partitioned the disk in a very specifically when I installed the software.

“/”, “/boot”, “/home”, “/tmp”, “/usr”, and “/var” all have their own separate partition on the drive.

As for the other directories that are part of the “/” directory, here is what ‘df -k’ says:

/bin 8.8M
/lib64 14M
/opt 110M
/root 10M
/srv 61M
/etc 119M
/lib 136M
/sbin 11M

These total up to ~470M.

Well there are still some directories not covered.

Do you have any large files in /media or /mnt perhaps? You are only mounting to subdirectories of that. Or perhaps the mounts are obscuring a large directory underneath? To check unmount the /media and /mnt partitions and then do a du on them.

Come to think of it, is there anything underneath /usr or /var before you mounted them? How did you create those partitions? After the install? If you mount onto a populated mountpoint, everything underneath is obscured, but still takes up space.

Are there any large dot directories, maybe /.Trash or something like that?

That was it!

Turned out I had a 4.4G backup file being obscured by the backup NFS mount.

Thanks.