Re: Full Root

1997-12-29 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

On Mon, 22 Dec 1997, Anthony Landreneau wrote:
 My root partition, of 400 megs is full. The partition   /usr  and that of
 /var are all on their own partition.  I have looked in every directory for
 a core file, and have scanned for viruses.  There is no reason that the
 root partition should be filled to capacity and I can't seem to find the
 reason that it is.  Fsck, shows the drive as find.  Any help in this matter
 would be much appreciated. 
A file that had been deleted, but is still opened by some process (e.g. a
daemon) will still occupy space until the last process that has a file
descriptor open will close it. So if all else fails, see if rebooting
makes any difference.

Nils


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQB1AwUBNKfP4VptA0IhBm0NAQFmYQL+NBLm513FjE2QMnKlFHT0mpTZsqltziUb
p1eQ7WfyNoQZVIH7QsT4oRUhSQJBqthRGu7MWWlog/HWYLIo1wbo6QxoBy8dqCEp
k5OLgTfdIeAPdu3tTZddA13DHtVjzMts
=VmjD
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Full Root

1997-12-22 Thread Martin Bialasinski
On Mon, 22 Dec 1997, Anthony Landreneau wrote:

 My root partition, of 400 megs is full. The partition   /usr  and that of
 /var are all on their own partition.  I have looked in every directory for
 a core file, and have scanned for viruses.  There is no reason that the
 root partition should be filled to capacity and I can't seem to find the
 reason that it is.  Fsck, shows the drive as find.  Any help in this matter
 would be much appreciated. 
 
OK, lets do this systematically:

df  -- will show you how much space you have left

du -sx /*  -- will sum up the diskspace your toplevel directories use
(excluding your /usr and /var which are on different partitions)

find / -xdev -size 500k -- will find all files bigger then 500k on your
disk (excluding your /usr and /var which are on different partitions)  

You could also check if /usr and /var *are* on different partitions 
(cat /etc/mtab)

Ciao,
Martin - Who always has too few diskspace :-)



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Full Root

1997-12-22 Thread Oliver Elphick
Anthony Landreneau wrote:
  My root partition, of 400 megs is full. The partition   /usr  and that of
  /var are all on their own partition.  I have looked in every directory for
  a core file, and have scanned for viruses.  There is no reason that the
  root partition should be filled to capacity and I can't seem to find the
  reason that it is.  Fsck, shows the drive as find.  Any help in this matter
  would be much appreciated. 
  

Is it possible that you have data in /usr on the root partition, which is
hidden when you mount the separate partition on /usr? (Or /var, of course.)
To test, umount the partitions and then ls the /usr and /var directories.
There should be nothing in them.

You can use du to find out how much space is taken up by a directory.  Do this
with only the root partition mounted:

  cd /; du -s *

(Another responder said to use `du -sx /*', but I find that this does not
ignore other partitions; the man page leaves me uncertain about its
intended effect.)
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .