- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend on wrong disk
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
07-08-2009 05:59 AM
07-08-2009 05:59 AM
I have a VG with 4 LUNs.... 2 from storage1 and 2 from storage 2
I have 2 PVG on that VG: PVG0 and PVG1
PVG0 with 2 LUNs from storage1
PVG1 with 2 LUNs from storage2
The LVs are mirrored with PVG0 and PVG1
But, when I run lvextend for any LV... that extend mirror the LV on the same PVG
Any idea?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 06:04 AM
07-08-2009 06:04 AM
Re: lvextend on wrong disk
Post your lvextend syntax for more details.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 06:05 AM
07-08-2009 06:05 AM
Re: lvextend on wrong disk
Because you are not specifying the PVG
lvextend -m 1 < logical volume name >
Prevents this:
lvextend -m 1 /dev/vg01/lvol7 /dev/dsk/c1t1d0
Don't let the command pick the disk you pick it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 06:07 AM
07-08-2009 06:07 AM
Re: lvextend on wrong disk
- the contents of the lvmpvg file
- your complete command line
- a "vgdisplay -v" and "lvdisplay -v" for the items in question
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 06:09 AM
07-08-2009 06:09 AM
Re: lvextend on wrong disk
lvextend â L 10000 /dev/vgname/lvolname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 06:10 AM
07-08-2009 06:10 AM
SolutionIf you do an 'lvdisplay /dev/vg?/lv?' (specifying the real LV name) and look at the "Allocation" line, you should see "PVG-strict/distributed". If you don't, you should change it.
# lvchange -s g /dev/vg?/lv?
This option disallows mirrors of the LV to share the same PVG, which is what you want. Have a look at the lvcreate or lvchange man page for information on teh PVG-strict policy.
Now when you do an lvextend, the mirror should be correctly allocated.