Alternate Links - again

 
SOLVED
Go to solution
ConnieK
Regular Advisor

Alternate Links - again

I need to add 50GB space to an existing volume group. (HPUX 11.11). The 2 25 GB disks were "provisioned" by my storage engineer. What I determined he added were:
/dev/dsk/c37t8d4
/dev/dsk/c37t8d5
/dev/dsk/c34t8d4
/dev/dsk/c34t8d5

I did a pvcreate -f /dev/dsk/c34t8d5 and
pvcreate -f /dev/dsk/c34t8d4 to get ready to do the vgextend.

My question is simply, do I do another pvcreate on the c37t8d4 and c37t8d5 first?
Or can I just do a vgextend after the first two disks are added to the volume group? Like so:

vgextend /dev/vgtest /dev/dsk/c34t8d4
vgextend /dev/vgtest /dev/desk/c37t8d4

Thanks

Independent by nature
2 REPLIES 2
Devender Khatana
Honored Contributor
Solution

Re: Alternate Links - again

Hi,

pvcreate on the the device file with alternate link is not required. But you will have to extend your VG to alternate device file also for enabling the alternate link to be used by LVM.

vgextend /dev/vgtest /dev/dsk/c34t8d4
vgextend /dev/vgtest /dev/desk/c37t8d4
vgextend /dev/vgtest /dev/dsk/c34t8d5
vgextend /dev/vgtest /dev/desk/c37t8d5

Once done with vgextend you can check your alternate path through vgdisplay -v command.

HTH,
Devender
Impossible itself mentions "I m possible"
ConnieK
Regular Advisor

Re: Alternate Links - again

Devender -

Just exactly what I was looking for! Thanks so much!

Connie
Independent by nature