Saturday, August 22, 2009

EXTENDING A VOLUME GROUP

EXTENDING A VOLUME GROUP

Step 1: Confirm that the free disk identified is not in any of the already volume groups

# strings /etc/lvmtab > /tmp/lvm

# grep c0t10d0 /tmp/lvm

Step 2: Initialize the Physical Volume which has been identified as free

# pvcreate /dev/rdsk/c0t10d0

Physical volume "/dev/rdsk/c0t10d0" has been successfully created.

Step 3: Extend the Volume group to the initialized disk

# vgextend /dev/vg01 /dev/dsk/c0t10d0

Volume group "/dev/vg01" has been successfully extended.

Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

Step 4: Check the disk has been added to the Volume Group

# vgdisplay -v /dev/vg01 | grep "PV Name"

PV Name /dev/dsk/c0t9d0

PV Name /dev/dsk/c0t10d0

No comments:

Post a Comment