[Wylug-help] Adding new disks, include in volume group

John Hodrien johnh at comp.leeds.ac.uk
Tue Jun 14 10:12:42 BST 2005


On Mon, 13 Jun 2005, Gary Stainburn wrote:

> Hi folks.
>
> I've got a FC3 system with default disk format as shown below.  Is it
> possible to add 2 more drives to the system so that the root filesystem
> grows to use them?
>
> If so, how would I go about this?

I've been a very lazy bunny with lvm, so I'd do something like:

partition the disks as you see fit (say one big part on each).

system-config-lvm
    create PVs on both of the disks
    add them to your existing VG

Nice and clear what you're doing using that, and helps stop me being stupid.

run lvresize to increase the size of /dev/mapper/VolGroup00-LogVol00
run ext2online /dev/mapper/VolGroup00-LogVol00 to do an online mounted resize
of your / filesystem.

That should do it shouldn't it?

Obviously backup everything before hand, blah, blah, blah.

jh

-- 
"People demand freedom of speech as a compensation for the freedom of thought
  which they seldom use."                             -- Kierkegaard



More information about the Wylug-help mailing list