- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 11iv2 (or 11iv3) nonroot lvol - lvol is spread acr...
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
08-09-2013 10:30 AM
08-09-2013 10:30 AM
WE are migration to new storage.
My question concerns all NONROOT VGs/LVs and using lvextend.
if i have an LV that currently is spread accros 2 PVs. We created 2 new PVS. equal size and the host is also mapped to these now.
Using mirroring how do you mirror the lvol over to the 2 new PVs..(new pvs are cytydy and cztzdz)
Just specifying lvextend -m 1 /dev/vgxx/lvxx /dev/dsk/cytydy will be not work as this lvol will fill up this PV and the lvol needs more space (thus use the second new PV and run lvextend again????).
What other options are on the lvextend that I may not be aware of?
Solved! Go to Solution.
- Tags:
- lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2013 01:49 PM
08-09-2013 01:49 PM
Re: 11iv2 (or 11iv3) nonroot lvol - lvol is spread across several disks
You are going to want to create a PV Group. See the vgextend man page, but the -g pvg_name option is what you will be looking for.
You will then use the PVG name when running the lvextend command.
Also see the lvmpvg man page.
-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
08-10-2013 11:23 AM
08-10-2013 11:23 AM
SolutionFor a bunch of PVs, PVGs are the way to go. But for just 2 or 3, the lvextend command allows multiple PVs on the same line:
lvextend -m 1 /dev/vgxx/lvxx /dev/dsk/cytydy /dev/dsk/cztzdz
You can also take advantage of the shell's filename matching and specify 5 or 10 PVs like this:
lvextend -m 1 /dev/vgxx/lvxx /dev/dsk/cyty*
I do this when adding alternate links. The controller is usually the same and using [ ] patterns, you can specify ranges:
lvextend -m 1 /dev/vgxx/lvxx /dev/dsk/c6t[0-4]*
which sends these PVs to the lvextend command:
c6t0d0 c6t0d1 c6t1d0 c6t1d1 and so on...
Since this is a one time storage migration, your PVG will only be temporary so lvextend may be simpler.
Bill Hassell, sysadmin