[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: partition mayhem



At this (Sun, Sep 12, 1999 at 04:08:49PM +0200) day, Muli B.Y. wrote:
| Hello, all.
| 
| When I first installed linux, I cleared up 1 of 4 gigs on my disk. I
| made a swap partition, a /root partition, and a (700+ megabytes) /usr
| partition. Well, my /usr grew and now more than 90 percent of the space
| is occupied. So, I cleared up another 1 gig. Problem is, I don't know
| how to grow the /usr partition. Any suggestions?

Your /usr directory probebly got filled up under /usr/local/ dir,
if you didn't installed all the software with --prefix=/usr
(or the appropriate rpm flag). so what you want to do is mount /usr/local
under the new 1G partition. its preety simple:
# cd /usr
# mv local localt
# mkdir /usr/local
# mount /usr/local /dev/<new 1g>
# cd /usr/localt ; tar cvf - .|(cd /usr/local&&tar xvfBp -)
thats it. make sure everything is indeed in order, then you can 
delete /usr/localt, and add /usr/local to fstab. Your set.

HTH.

| 
| Thank you!
| -- 
| Muli B.Y.
| email: mulix@ibm.net
| 
| =================================================================
| To unsubscribe, send mail to linux-il-request@linux.org.il with
| the word "unsubscribe" in the message body, e.g., run the command
| echo unsubscribe | mail linux-il-request@linux.org.il

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il