Resizing a volume group

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

 



Hello,

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?



~ > pvdisplay /dev/md1
--- Physical volume ---
PV Name /dev/md1
VG Name lv0
PV Size 26.44 GB [55453952 secs] / NOT usable 4.19 MB [LVM: 154 KB]
PV# 1
PV Status available
Allocatable yes (but full)
Cur LV 7
PE Size (KByte) 4096
Total PE 6768
Free PE 0
Allocated PE 6768
PV UUID nrQNYO-Iva3-UP0M-64U5-M2L9-YT7o-tRhTBV


~ > vgdisplay lv0
--- Volume group ---
VG Name               lv0
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                7
Open LV               7
MAX LV Size           255.99 GB
Max PV                256
Cur PV                1
Act PV                1
VG Size               26.44 GB
PE Size               4 MB
Total PE              6768
Alloc PE / Size       6768 / 26.44 GB
Free  PE / Size       0 / 0
VG UUID               OLmdue-W62m-fr8z-Eo4N-gS0A-4Tfm-E9wuM4


-dean takemori

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux