On 04/02/2013 00:54, Mark E. Levy wrote:
> Thank you, that makes sense. How do I go about adding the new virtual
> disk to the LVM group?

Disclaimer: These are old instructions I last used in 2006 so read the 
man pages for each command to check nothings changed but it should help 
point you in the right direction...

* vgchange -a y
* lvcreate -L100G -nLogVol05 VolGroup00
* mkfs -t ext3 /dev/mapper/VolGroup00-LogVol05
* mkdir /backup
* vi /etc/fstab
/dev/VolGroup00/LogVol05  /backup  ext3  defaults  1  2
* mount /backup

... and growing an LVM group is as easy as follows...

* lvextend -L300G /dev/VolGroup00/LogVol05
* umount /backup
* e2fsck -f /dev/mapper/VolGroup00-LogVol05
* resize2fs -p /dev/mapper/VolGroup00-LogVol05
* mount /backup

... I hope that helps.

Dan
_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to