RE: out of space on /

"John" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <000101c2e1c9$395a98f0$0200000a@JOHN>
YES! Thank you I am confused about this....   I restarted and the
machine and now only the original /dev/hda2 is mounted as root.    So
don't be scared...   

Hdb4 is mounted three times but is not being used at all... no activity
has yet occurred on this disk other thank my making a couple of
directories and mounting it too many times... so I can fix that.  

What I have learned... each partition can be mounted only once... if I
want other directories to be in the volume then I must move them there
in the mount point directory.  This is what Joan is suggesting.  Right? 

john   

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

On Mon, 3 Mar 2003, jdow wrote:

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

Joan, very motherly :-)
There are a couple of problems here. 

1. /dev/hda2 and /dev/hdb1 are both mounted as root. Not kosher. Never 
heard of mounting the same partition twice. I'm scared. Also, look at 
hdb4. That one is mounted *3* times! Certainly, this machine is a 
candidate for a data-wipe and a reload.

2. "John" is flying on a wrong premise. He thinks that he can remount a
directory on a different partition. Bzzzt. You can mount the partition
on
a different directory. But if you do, the content of the partition is
unchanged.


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

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things
have -
-happened but none stranger than this. Does your driver's license say
Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are
all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net



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