[lug] Disk space lying??

Shannon Johnston nunar at nunar.com
Fri Jun 14 10:55:31 MDT 2002


Here's a stumper....

I've got a DNS server running RH 7.2.
Bind is running in a chroot jail.

Today I was alerted that I was running out of disk space.

I logged into the server and found this:

[root at ns1 /chroot]# df -h
<cut>
/dev/hda8             988M  961M     0 100% /chroot
</cut>

Upon investigation I found a file called named.run. It was 900M! I
promptly deleted that file. (It looked like a log of DNS queries)

After the deletion I still get

[root at ns1 /chroot]# df -h
<cut>
/dev/hda8             988M  961M     0 100% /chroot
</cut>

Going to /chroot:

[root at ns1 /chroot]# du -sh *
16k     lost+found
668k    named


That's it! There is all of 680k in the chroot directory but "df" thinks
it's full! What's going on?

Shannon





More information about the LUG mailing list