du -s /dev = megabytes? found after at least 10G free space disappeared

Andy Green fedora at warmcat.com
Tue Apr 20 12:27:13 UTC 2004


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

On Tuesday 20 April 2004 11:16, Aaron.Sterr wrote:

> If du is not finding the space usage, then it sounds like there is a large
> file that has been unlinked, but still has an open file descriptor.
>
> Did you rm any files that might still be referenced by a running process?

That's a really good point from Aaron... especially if your machine serves 
with Samba, smbd can still have a finger on apparently dead files.  lsof -n | 
grep smbd will show them if that is the case, and service smb restart will 
magically free the 'deleted' files.  I had that here with some large media 
files I had served over Samba, then deleted at the server, but I was not 
getting my space back due to smbd feeling nostalgic for them.

- -Andy

- -- 
Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players
http://warmcat.com/usbautocam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAhRchjKeDCxMJCTIRAlbDAJ45Pi3N1Zg37g//AQr1sQvlNzDYWwCeLBNK
hRHTAEOfXTHFlkreciJ6bvg=
=3KJT
-----END PGP SIGNATURE-----





More information about the fedora-test-list mailing list