1834429 Members
2375 Online
110067 Solutions
New Discussion

alternate link creation

 
SOLVED
Go to solution
Error_1
Occasional Advisor

alternate link creation

i need to create a volume group with one disc using 2 PV

my pri link is c3t1d0
my alt link is c4t1d0

how do i do this?
Why is abbreviation such a long word?
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: alternate link creation

Hi:

Given that the device files represent the same physical disk, then the primary link is the first one specified when the volume group is created. A subsequent 'vgextend' adds the other pv-path as the alternate link.

in your example, either case below achieves your objective:

# vgcreate /dev/vgXX /dev/dsk/c3t1d0 /dev/dsk/c4t1d0

...or...

# vgcreate /dev/vgXX /dev/dsk/c3t1d0
# vgextend /dev/vgXX /dev/dsk/c4t1d0

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: alternate link creation

Hi,

T0 create volume group you do this:

# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 0x010000
# vgcreate /dev/vgxx /dev/dsk/c3t1d0
# vgextend /dev/vgxx /dev/dsk/c4t1d0

Substitute 0x010000 in the mknod with
next available number you have, so list
the group numbers already used first.

# ls -l /dev/*/group

HTH
-Michael
Anyone for a Mutiny ?