- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Are Alternate Paths Required for lvextend/lvre...
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
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
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
09-19-2013 08:45 AM
09-19-2013 08:45 AM
Say you have a VG with multiple paths to each disk:
PV Name /dev/dsk/c75t2d7
PV Name /dev/dsk/c67t2d7 Alternate Link
PV Name /dev/dsk/c68t2d7 Alternate Link
PV Name /dev/dsk/c76t2d7 Alternate Link
Let's say you want to mirror and existing LV to the disk above. Do you HAVE to do this:
lvextend -m 1 /dev/vg10 /dev/dsk/c75t2d7 /dev/dsk/c67t2d7 /dev/dsk/c68t2d7 /dev/dsk/c76t2d7
I'm thinking that since the alternate paths are already defined at the VG level, it isn't required, and thus:
lvextend -m 1 /dev/vg10 /dev/dsk/c75t2d7
would be equivalent. Am I wrong? Help!
Solved! Go to Solution.
- Tags:
- lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 09:09 AM
09-19-2013 09:09 AM
SolutionYou are correct. You just specify one of the paths, I usually try to use the currently defined primary path, when doing an lvextend to create a mirror. You could use any of the paths though since they all point to the same disk device / LUN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 09:33 AM
09-19-2013 09:33 AM
Re: Are Alternate Paths Required for lvextend/lvreduce?
Thanks Patrick! Anyone else have a different opinion? Really need to be sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 01:21 PM
09-19-2013 01:21 PM
Re: Are Alternate Paths Required for lvextend/lvreduce?
A different opinion? OK...I dont think chocolate cake is all it lives up to be.
Further confirmation about the answer to your question? Oh. Yes, what Patrick states is correct. Since each alternate link is just a pointer or, well, a link to the actual physical volume, the actions taken on the physical volume will be represented by each device path going to that volume.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 02:45 PM
09-19-2013 02:45 PM
Re: Are Alternate Paths Required for lvextend/lvreduce?
I've been under the impression this was correct for a long time. I have a team of senior level *nix admins who don't believe me. Now I have some backup. Thanks guys!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2013 08:44 AM
09-20-2013 08:44 AM
Re: Are Alternate Paths Required for lvextend/lvreduce?
What they may be referring to is that when you first setup the alternate links you need to run 'vgextend' with all of the alternate device paths.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!