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

Re: [linux-lvm] Resizing a volume group

Dean Takemori wrote:
I'm running a Fedora Core 1 box using LVM on RAID (lvm-1.0.3-13) I moved
from a pair of RAID1 hard drives to a larger pair of drives by strategically
failing and replacing the drives. This has left me with the following situation : Volume group lv0 (26GB) resides
on /dev/md1, which are a pair of 250GB partitions. But the lvm tools only see
/dev/md1 as being 26GB (which is what it was on the old hard drives). (Oddly,
vgdisplay does note that the maximum lv size is 250GB).

Is it possible to resize the pv and lv so that they use up the full space of
the partition?

so, blockdev -s /dev/md1 shows 26 or 250GB ?

I'm struggling to see how you would have changed the size of a block
device with "strategically failing and replacing" drives.

~ > pvdisplay /dev/md1
PV Size 26.44 GB [55453952 secs] / NOT usable 4.19 MB

If /dev/md1 really is 250GB then you might have some surgical disk partitioning to do. ie, get it back to the size it was, then add the
rest of the disk as another /dev/md PV.


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