Operating System - HP-UX
1752302 Members
4806 Online
108786 Solutions
New Discussion юеВ

Re: creating vg with alternate links

 
S.S.
Super Advisor

creating vg with alternate links

Hi All,
Please help me how to create a volume group with alternate Links?

Please respond me immediate, i am creating the vg now.

Thanks!!
15 REPLIES 15
Torsten.
Acclaimed Contributor

Re: creating vg with alternate links

Just use "vgextend" to create the alternate links, that's it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jupinder Bedi
Respected Contributor

Re: creating vg with alternate links

you add the alternate path of the PV to the volume group using the vgextend command

vgextend /dev/vgname /dev/dsk/alt-pv-path

Do not run pvcreate on the alternate path, the vgextend will know that the new PV is the alternate path of an existing PV.
All things excellent are as difficult as they are rare
Kapil Jha
Honored Contributor

Re: creating vg with alternate links

Yeh alternate links are no special things....you just have to add those as normal disks.
inside vg if one disks are added with other name it would show as alternate link.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: creating vg with alternate links

Do you use hp-ux 11.31 or a lower version with additional multipathing software (e.g. autopath)?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
S.S.
Super Advisor

Re: creating vg with alternate links

Hi All,

Actually for the creation of new filesystem.

I have created a vdisk at EVA, i presented the LUNS to the host. Later i created vg and created filsystem with 100gb capacity.

The New device file created by insf and the device file name is /dev/dsk/c36t1d5.

I have created Vg by using the above PV.

How can i get the device files for the alternate links.

we are using "autopath".

MY OS version is HP-UX 11.11

Kindly suggest me how can i create a device files for the alternate links.
Kapil Jha
Honored Contributor

Re: creating vg with alternate links

do
#insf -e
#cd /dev/dsk
#ls -lrt

check the dates of device files created same tXdX are alternate links.

number of alternate links would be same as number of FC cards configured.

This is one of the easient way I used to follow.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: creating vg with alternate links

Consider to check with "autopath discover" and "autopath display".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jupinder Bedi
Respected Contributor

Re: creating vg with alternate links

autopath display and autopath discover is the correct answer to you query.
All things excellent are as difficult as they are rare
S.S.
Super Advisor

Re: creating vg with alternate links

Hi,

Thank you All.

I am able to see the alternate links by using autopath display.

Kapil,

If i use #insf -e without using H/W path then it will install device files for pseudo drivers also right?
Then in that case can we use it ?