- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change which primary path to use on a VG
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:31 AM
06-29-2007 08:31 AM
I have a VG and its disk have 3 ALTERNATE PATHS. See below. How can I change the primary path? I want to use c12t1d7 as the primary path not c9t1d7.
PV Name /dev/dsk/c9t1d7
PV Name /dev/dsk/c10t1d7 Alternate Link
PV Name /dev/dsk/c11t1d7 Alternate Link
PV Name /dev/dsk/c12t1d7 Alternate Link
Thanks,
f. halili
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:36 AM
06-29-2007 08:36 AM
Re: change which primary path to use on a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:38 AM
06-29-2007 08:38 AM
Re: change which primary path to use on a VG
# vgreduce /dev/vgname /dev/dsk/c9t1d7 /dev/dsk/c10t1d7 /dev/dsk/c11t1d7
# vgextend /dev/vgname /dev/dsk/c9t1d7 /dev/dsk/c10t1d7 /dev/dsk/c11t1d7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:42 AM
06-29-2007 08:42 AM
Re: change which primary path to use on a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:45 AM
06-29-2007 08:45 AM
Re: change which primary path to use on a VG
In cases where you want to reorder a large number of pvlinks, (and can tolerate taking the volume group offline) you can 'vgexport' and 'vgimport' the volume group using the '-f outfile' to collect the pv_paths from the 'vgexport'; edit their order; and used the newly ordered members in the 'vgimport'.
See the manpages for 'vg(ex|im)port' for further details.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 08:54 AM
06-29-2007 08:54 AM
Re: change which primary path to use on a VG
To add to the use of 'pvchange'. You may want also to set 'pvchange -S' (n|y) to control whether or not LVM will switch back to the primary path that you originally had.
Too, using 'pvchange -s' will not be preserved across a reboot since the order of the pv_paths in the 'etc'lvmtab' is *not* affected. A primary path is simply one that occurs *first* in the list for a volume group in the 'lvmtab'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 07:55 AM
07-10-2007 07:55 AM