the amazing disapearing root partition

the amazing disapearing root partition

Post by Tre » Wed, 30 Jul 1997 04:00:00



Well, I installed 2.2.2 a week or  two ago, built my custom kernel,
and installed some packages and a port or two.  I installed FreeBSD
with a 32mb root partition, but now, it's gone.  I often find df
reporting my root partition in the negative for free space.  How do I
find out what directories are mounted on / ?  The only way I get into
the positive on each session is to remove kernel.old.

What could be eating my diskspace like that?

Thanks
Trey

 
 
 

the amazing disapearing root partition

Post by Ron Echever » Wed, 30 Jul 1997 04:00:00



>Well, I installed 2.2.2 a week or  two ago, built my custom kernel,
>and installed some packages and a port or two.  I installed FreeBSD
>with a 32mb root partition, but now, it's gone.  I often find df
>reporting my root partition in the negative for free space.  How do I
>find out what directories are mounted on / ?

man find(1).

Quote:>What could be eating my diskspace like that?

It's probably in /tmp, if you haven't linked /tmp to /var/tmp.  I
would also recommend using xdu, which gives you a graphical
representation of du's output, which can probably help you find the
problem.  It's in the ports.

rone
--
rone's rules:                                                     Ron Echeverri
- I don't care.                                   Systems/Usenet Administration
- It's not important.                              Best Internet Communications


 
 
 

the amazing disapearing root partition

Post by Steven G. Kar » Thu, 31 Jul 1997 04:00:00




Quote:> Well, I installed 2.2.2 a week or  two ago, built my custom kernel,
> and installed some packages and a port or two.  I installed FreeBSD
> with a 32mb root partition, but now, it's gone.  I often find df
> reporting my root partition in the negative for free space.  How do I
> find out what directories are mounted on / ?  The only way I get into
> the positive on each session is to remove kernel.old.

> What could be eating my diskspace like that?

> Thanks
> Trey

troutmask:kargl[222] df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a       31775    15787    13446    54%    /
/dev/sd0s1f    897575   557581   268188    68%    /usr
/dev/sd0s1e     29727     3201    24148    12%    /var
/dev/sd1s1e    496367   316061   140597    69%    /users
/dev/sd1s1f    133906      688   122506     1%    /pub
procfs              4        4        0   100%    /proc
pag:/users     895501   590711   215239    73%    /pag
troutmask:kargl[226] ls /
COPYRIGHT       etc/            pag/            sbin/           users/
bin/            kernel*         proc/           stand/          usr/

dev/            mnt/            root/           tmp/

Okay, everything not under the /usr, /var, /users, /pub, and /pag
directories is under the / directory and it resides in the root
partition.  If your root partition is constantly growing, I suspect
that the directory hierarchy under my /var partition resides on
your root partition and/or your /tmp directory needs some serious
attention.  The several daemons write important information about
the system's performance in /var/log.  These files can grow.

--
Steve


http://troutmask.apl.washington.edu/~kargl/sgk.html

 
 
 

the amazing disapearing root partition

Post by Donn Mille » Wed, 13 Aug 1997 04:00:00



> Well, I installed 2.2.2 a week or  two ago, built my custom kernel,
> and installed some packages and a port or two.  I installed FreeBSD
> with a 32mb root partition, but now, it's gone.  I often find df
> reporting my root partition in the negative for free space.  How do I
> find out what directories are mounted on / ?

to find out where your partitions are mounted: mount (gives info about
directories and their mount points [directories])

To find all directories under / partition:

% find / -type d or
% ls -R /

Quote:> The only way I get into
> the positive on each session is to remove kernel.old.

> What could be eating my diskspace like that?

root's home directory is mounted on /, so check to see what files are
stored under root's login directories.  Also, check /tmp for any large
files stored there (ls -l -R /tmp or you can use du /tmp).  You might want
to rm -rf /tmp/*.
Quote:> Thanks
> Trey

 
 
 

1. The amazing disapearing CPU

I am running RH7.2 with the SMP kernel. After leading the OS and
testing, both CPU's were present and working. Now after a reset many
days later the second CPU is not present nor is it initializing. The
dmesg reports the primary CPU#0 as initializing but gives not
information about CPU#2.

This server is a production web server and my fear is that a power
cycle would bread an unrecoverable result. Since the machine is remote
and not accessable while I am at my "regular job" I was wondering if
anyone had a simular problem:

Deatils:

Loaded OS and tested dual CPU's were active

No changes in Kernel since

Had the machine reset (not power cycled). This was all that happened?
Could it be that the machine was not power cycled and therefore did
not initialize the CPUs at the post stage which translated to the OS
as identifing only one CPU?

2. Sun Mono Monitor

3. Desktop Icons disapeared for root only when I changed hostname.

4. Why doesn't it cache? (CERN httpd)

5. My NT partition is disapeared after installing LILO

6. RPM (NEWBIE)

7. mounting root partition from root floppy diskette

8. Word 5.0 for SCO UNIX

9. /root bloated, taking up all space on root partition - why?

10. Root Partition on an extended partition

11. root partition on extended partition

12. What size to partition root, user and swap partitions?

13. Partition problem - cannot add root partition