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

Re: partition mayhem



Is there a way to add more space to a partition by attaching new HD ?
for example, if i have 2 disks of 512 and i want one of 1024 can i attach one
to the other so the file system will think that i have only one ?

Mike


Guy Cohen wrote:

> 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


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