[Linux-cluster] What is the proper way to grow LVM/GFS volumes
Alan A
alan.zg at gmail.com
Tue Nov 18 21:09:46 UTC 2008
I tried a few times to grow LVM by adding additional PV to VG, and then
executing 'lvextend' command. I am not sure what I am doing wrong but I get
the message that there is error locking on one of the nodes, and then the
GFS hangs.
Here are some of the details:
[root at fenmrdev03 ~]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 2 2 0 wz--n- 50.75G 0
gfs_sda1 1 1 0 wz--nc 10.00G 5.00G
gfs_sdb1 1 1 0 wz--nc 10.00G 3.00G
nuvg4 2 1 0 wz--nc 10.00G 5.00G
[root at fenmrdev03 ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol00 VolGroup00 -wi-ao 40.81G
LogVol01 VolGroup00 -wi-ao 9.94G
gfs_sda1 gfs_sda1 -wi-ao 5.00G
gfs_sdb1 gfs_sdb1 -wi-ao 7.00G
nulv4 nuvg4 -wi-ao 5.00G
[root at fenmrdev03 ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 VolGroup00 lvm2 a- 33.81G 0
/dev/cciss/c0d1p1 VolGroup00 lvm2 a- 16.94G 0
/dev/sda1 gfs_sda1 lvm2 a- 10.00G 5.00G
/dev/sdb1 gfs_sdb1 lvm2 a- 10.00G 3.00G
/dev/sdc nuvg4 lvm2 a- 5.00G 0
/dev/sdd nuvg4 lvm2 a- 5.00G 5.00G
Command I tried:
[root at fenmrdev03 ~]# lvextend -l100%FREE /dev/nuvg4/nulv4
--
Alan A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20081118/ba4652f2/attachment.htm>
More information about the Linux-cluster
mailing list