From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: 06 October 2009 16:03
To: [email protected]
Subject: [rhelv5-list] Increase size of a LUN without reboot

 


Hi All, 

is it possible to increase the size of a SAN LUN in order to extend a
LVM PV and VG living on that LUN without a reboot?  Of course I can
hot-add a new physical disk and extend the VG but for some reasons we
sometimes want to resize an existing LUN so that the number of LUNs
attached to the system remains constant. 

Any hints are welcome. Thank you! 

Best Regards,

Oliver Fenker



Oliver 

pvcreate /dev/sdx

vgextend vgname /dev/sdx

lvextend /dev/vgname/lvname -L+10G [/dev/sdx]

resize2fs /dev/vgname/lvname

man pvcreate

man vgextend

man lvextend

No reboot necessary and no need to unmount the file system.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to