Operating System - HP-UX
1833875 Members
1919 Online
110063 Solutions
New Discussion

Extending the VG with Multiple Path

 
SOLVED
Go to solution
UVA
Regular Advisor

Extending the VG with Multiple Path

Hi,

Good Morning

I have Eva 8100 with 2C6D, When i present a VD to my hp-ux its gets 16 path, i have created one VG by using first path of VD,

now what's the problem is extending the additional paths to my VG, extending remainig 15 path to my VG is little difficult as already some more vg's are available, so the ioscan command is showing lots of paths.
i need to find all the paths for my VG

is any alternate method is there to simplify this task
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Extending the VG with Multiple Path

Shalom,

Take a look at the volume group with vgdisplay -v.

Extend along the same path that it was created on and the other paths should be fine.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
UVA
Regular Advisor

Re: Extending the VG with Multiple Path

Hi,

I am vgextending with by following paths, but some of the paths are not getting extend

my alternate paths

/dev/dsk/c2t0d1
/dev/dsk/c4t0d1
/dev/dsk/c6t0d1
/dev/dsk/c8t0d1

/dev/dsk/c12t0d1
/dev/dsk/c14t0d1
/dev/dsk/c16t0d1
/dev/dsk/c18t0d1

/dev/dsk/c22t0d1
/dev/dsk/c24t0d1
/dev/dsk/c26t0d1
/dev/dsk/c28t0d1

/dev/dsk/c32t0d1
/dev/dsk/c34t0d1
/dev/dsk/c36t0d1
/dev/dsk/c38t0d2

# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk3_p2
/dev/VG_EDV_DATA
/dev/dsk/c2t0d1
/dev/dsk/c2t0d3
/dev/VG_EDV_LOG
/dev/dsk/c2t0d2
/dev/VG_EDV_SAPBACK
/dev/dsk/c2t1d0

Volume group VG_EDV_DATA
=========================

But im getting error and some of the path are extended rest is not.

#vgextend VG_EDV_DATA /dev/dsk/c4t0d1 /dev/dsk/c6t0d1 /dev/dsk/c8t0d2 /dev/dsk/c12t0d1 /dev/dsk/c14t0d1 /dev/dsk/c16t0d1 /dev/dsk/c18t0d1 /dev/dsk/c22t0d1 /dev/dsk/c24t0d1 /dev/dsk/c26t0d1 /dev/dsk/c28t0d1 /dev/dsk/c32t0d1 /dev/dsk/c34t0d1 /dev/dsk/c36t0d1 /dev/dsk/c38t0d2


# ./vgextnd
vgextend: Couldn't install the physical volume "/dev/dsk/c8t0d2".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c24t0d1".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c26t0d1".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c28t0d1".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c32t0d1".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c34t0d1".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c36t0d1".
Device busy
vgextend: Couldn't install the physical volume "/dev/dsk/c38t0d2".
Device busy

After extending
===============
/dev/vg00
/dev/disk/disk3_p2
/dev/VG_EDV_DATA
/dev/dsk/c2t0d1
/dev/dsk/c2t0d3
/dev/dsk/c4t0d1
/dev/dsk/c6t0d1
/dev/dsk/c12t0d1
/dev/dsk/c14t0d1
/dev/dsk/c16t0d1
/dev/dsk/c18t0d1
/dev/dsk/c22t0d1
/dev/VG_EDV_LOG
/dev/dsk/c2t0d2
/dev/VG_EDV_SAPBACK
/dev/dsk/c2t1d0

Mridul Shrivastava
Honored Contributor
Solution

Re: Extending the VG with Multiple Path

This is because you are adding another link for the same PV and the max alternate link can be added to one PV is 7.

Have a look at the following thread, this will clear up the things:

http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1208475137003+28353475&threadId=1210636
Time has a wonderful way of weeding out the trivial
Mridul Shrivastava
Honored Contributor

Re: Extending the VG with Multiple Path

you have assigned points to 27 of 77 responses. Please take some time to assign points so the person gets the credit for his reply in terms of points.

Probably you may see more answers coming in if they see you are giving credit for the time spent by someone.

Thanks for the understanding and Have a nice day.

Mridul
Time has a wonderful way of weeding out the trivial
Avinash Agarkar
Valued Contributor

Re: Extending the VG with Multiple Path

Hi

while creating new Vg use -

vgcreate -p 16 vgname

so you will be able to extend the vg with alternate path too.

Thanks,
Avinash
Great Power Comes With Great Responsibility
Mridul Shrivastava
Honored Contributor

Re: Extending the VG with Multiple Path

>>Avinash,

-p is for the max_pv and here the problem is in adding alternate path not the new PV and Currently LVM supports a maximum of 8 paths to a physical volume (7 alternates and one primary).
Time has a wonderful way of weeding out the trivial
UVA
Regular Advisor

Re: Extending the VG with Multiple Path

Hi,

Thanks for your responces, i got cleared

Hi Mirdul

I Always giving good points, befre my forum
name was c.uvaraja.