1833886 Members
1518 Online
110063 Solutions
New Discussion

switch alternate path

 
SOLVED
Go to solution
Nappy_1
Frequent Advisor

switch alternate path

i have switched manually the alternate path of a PV to be the primary path using "pvchange -s"

what should i do to make this modification persitant after a reboot
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: switch alternate path

Shalom,

http://docs.hp.com/en/5991-0671/ch06s04.html

There is no need to make any changes to scripts or makefiles to make use of the ... You should disable sparing by using the pvchange -z n command on ...

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
James R. Ferguson
Acclaimed Contributor

Re: switch alternate path

Hi Nappy:

To promote a alternate (secondary) pvlink to a primary, 'vgreduce' the current _primary_ path. This promotes the secondary to a primary. Now add back the original primary path. It will now be a secondary pvlink.

Using this method makes the relationships permanent. It is the order of appearance in the '/etc/lvmtab' that determines which path is primary and which is secondary. The primary is simply first therein.

Regards!

...JRF...