RE: out of space on /

"John" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <000001c2e1c8$40ba5fa0$0200000a@JOHN>
I want to make sure I uderstand this before I try....
I see that you are creating a new place for /var on the larger drive.
Then copy the contents over.

But you lose me

mv /var /vtemp

where does /vtemp come from and what is the purpose if it is just
removed after making the link?

Is this the way to 'move' /usr and /home as well?

Thanks...

J

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of jdow
Sent: Monday, March 03, 2003 12:22 PM
To: [email protected]
Subject: Re: out of space on /

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...



_______________________________________________
enigma-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/enigma-list
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.