- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding alternate SAN links to lvols
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
Discussions
Discussions
Forums
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
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
тАО07-26-2008 08:33 AM
тАО07-26-2008 08:33 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2008 08:56 AM
тАО07-26-2008 08:56 AM
Re: Adding alternate SAN links to lvols
Alternate links, also known as 'pvlinks' are simply addtional paths to a physical volume. You add them with 'vgextend'.
The order of the pvlinks as recoreded for a volume group in '/etc/lvmtab' determines the primary and secondary link. To promote a secondary link to a primary one, 'vgreduce' the primary link and then add it back with 'vgextend'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2008 09:10 AM
тАО07-26-2008 09:10 AM
Re: Adding alternate SAN links to lvols
Ive already created the lvols and extended them onto the pv, like this:
lvextend -L 2048 /dev/vg01/lvol1 /dev/dsk/c7t2d0
but neglected to add in the alt paths when I lvextended them. Don't I need to lvextend over all 4 paths - one primary and 3 alternate?
I just need to know how to add the alternate paths onto each lvol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2008 09:24 AM
тАО07-26-2008 09:24 AM
SolutionAlternate links relate to a volume group and its physical volumes, not to a logical volume which is a subset of the volume group.
If, however, you have more than one alternate link to the volume group, simply use 'vgextend' to add up to seven alternate links in addition to your primary one.
Within a volume group, every logical volume is accessable by every pvlink to the volume group. There is nothing to do at the logical volume level.
LVM mirroring is done at the logical volume level.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2008 09:30 AM
тАО07-26-2008 09:30 AM
Re: Adding alternate SAN links to lvols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2008 09:31 AM
тАО07-26-2008 09:31 AM
Re: Adding alternate SAN links to lvols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2008 09:31 AM
тАО07-26-2008 09:31 AM
Re: Adding alternate SAN links to lvols
vgextend altpath1pv1 altpath2pv1 altpath1pv2 altpath2pv2 etc VGNAME
That is all u required. go through man page of vgextend/lvextend for any clarification.