Sunday, January 09, 2011

resize LVM by adding new disk to lvm

    
fdisk /dev/sdb
mkfs -t ext3 -c /dev/sdb1
pvcreate /dev/sdb1
vgextend VolGroup00 /dev/sdb1
lvextend -L+1G /dev/VolGroup00/LogVol00 ;for adding one more GB to Logical Volume LogVol01
resize2fs /dev/VolGroup00/LogVol00


Thanks to http://sujithemmanuel.blogspot.com/2007/04/how-to-add-disk-to-lvm.html

No comments: