1752571 Members
5289 Online
108788 Solutions
New Discussion юеВ

Re: Change PV Link path

 
SOLVED
Go to solution
j773303
Super Advisor

Change PV Link path

--- Volume groups ---
VG Name /dev/vg11

--- Physical volumes ---
PV Name /dev/dsk/c19t0d2
PV Name /dev/dsk/c13t0d2 Alternate Link
PV Name /dev/dsk/c18t0d2 Alternate Link
PV Name /dev/dsk/c15t0d2 Alternate Link
PV Status available
Total PE 6945
Free PE 0
Autoswitch On



Hi expert,
Please see the above VG11 info. Is it possible chagne the PV Link path as below?

Thanks.





PV Name /dev/dsk/c13t0d2
PV Name /dev/dsk/c19t0d2 Alternate Link
PV Name /dev/dsk/c18t0d2 Alternate Link
PV Name /dev/dsk/c15t0d2 Alternate Link
PV Status available
Total PE 5208
Free PE 0
Autoswitch On






Hero
3 REPLIES 3
Yang Qin_1
Honored Contributor
Solution

Re: Change PV Link path

You can use vgreduce and vgextend to reorganize Alternate links.

vgreduce /dev/vg11 /dev/dsk/c19t0d2
vgextend /dev/vg11 /dev/dsk/c19t0d2

and vg11 will become to:
PV Name /dev/dsk/c13t0d2
PV Name /dev/dsk/c18t0d2 Alternate Link
PV Name /dev/dsk/c15t0d2 Alternate Link
PV Name /dev/dsk/c19t0d2 Alternate Link

One thing I don't understand is that why you expect the "Total PE" will be reduced from 6945 to 5208?

Yang
j773303
Super Advisor

Re: Change PV Link path

Sorry the typing error . Total PE 6945
Hero
Rajeev  Shukla
Honored Contributor

Re: Change PV Link path

Yes either you can do vgreduce and then vgextend or try this single command
pvchange -s /dev/dsk/c13t0d2
this will set the /dev/dsk/c13t0d2 as the primary disk