Re: out of space on /

"jdow" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Having enfolded this problem in a loving embrace a couple times I do have
some suggestions.

init 1
mkdir /t
mount /dev/hdb1 /t
mkdir /t/var
cp -a /var/* /t/var
mv /var /vtemp
ln -s /t/var /var
rm -rf vtemp
e2label /dev/hdb1 /var
<editor command of choice> /etc/fstab
<add line:>LABEL=/var /var  ext3    defaults        1 2
<exit>
init 3

And one hopes the system comes up playing with plenty of room on / and
/var on /dev/hdb1. You can also move /usr and /home over if they are
overly large. Although /var may be the one that keeps growing with log
files and whatnot.

{^_^}
----- Original Message ----- 
From: "John" <[email protected]>

> Your right...   I meant /...   this is the root partition correct?
> 
> Look what df -H gives me after I tried to mount / onto a new partition
> with lots of free space:
> 
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda2             1.6G  1.6G     0 100% /
> /dev/hda1              50M  6.2M   41M  13% /boot
> none                  263M     0  262M   0% /dev/shm
> /dev/hdb2             2.9G   34M  2.7G   2% /oracle
> /dev/hdb4             6.6G  3.6G  2.6G  58% /backup
> /dev/hdb4             6.6G  3.6G  2.6G  58% /pub
> /dev/hdb3             2.9G   34M  2.7G   2% /oradata
> /dev/hdb4             6.6G  3.6G  2.6G  58% /tmp
> /dev/cdrom            678M  678M     0 100% /mnt/cdrom
> /dev/hdb1             1.6G  1.6G     0 100% /
> 
> If deleting files now but I can say right now that /dev/hdb1 is empty..
> What is going on here?
> 
> Is increasing the / partition the only way to create space for more
> packages?
> 
> I think I may have screwed something up...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.