Operating System - HP-UX
1850991 Members
2435 Online
104056 Solutions
New Discussion

Re: extend an existing VG with dual controller path

 
SOLVED
Go to solution
YLTan
Frequent Advisor

extend an existing VG with dual controller path

I have this setup on one of my vg32, I need to extend vg32 to double its size.
All my disk is in the same SAN with two controllers. I have allocated a new
lun for the extend and seen by server from the same set of controllers.

/dev/vg32
/dev/dsk/c4t6d2 --- primary path
/dev/dsk/c5t6d2 ---- alt link

New disk to be added in
/dev/dsk/c4t6d5
/dev/dsk/c5t6d5

Can some one advice the vgextend command and its option to extend vg32?
tyl
5 REPLIES 5
RAC_1
Honored Contributor

Re: extend an existing VG with dual controller path

As a root execute following command.

vgextend /dev/vg32 /dev/dsk/c5t6d5 /dev/dsk/c4t6d5

Confirm with vgdisplay -v /dev/vg32
There is no substitute to HARDWORK
G. Vrijhoeven
Honored Contributor
Solution

Re: extend an existing VG with dual controller path

Hi,

Start with pvcreate ( on primary or alternate) and use vgextend primary alternate to add the disk.

Gideon

YLTan
Frequent Advisor

Re: extend an existing VG with dual controller path


how to specify which is primary and which is alt link? does vgextend knows how to handle this?
tyl
G. Vrijhoeven
Honored Contributor

Re: extend an existing VG with dual controller path

Hi,

the first listed in vgextend is the primairy

Gideon
Jean-Louis Phelix
Honored Contributor

Re: extend an existing VG with dual controller path

Hi,

My advise would be to use PVG (physical volume groups). Simply create a /etc/lvmpvg file like :

VG /dev/vg32
PVG prilink
/dev/dsk/c4t6d2
/dev/dsk/c4t6d5
PVG altlink
/dev/dsk/c5t6d2
/dev/dsk/c5t6d5

Regards.
It works for me (© Bill McNAMARA ...)