- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring and PVG help
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
05-16-2002 03:43 PM
05-16-2002 03:43 PM
Mirroring and PVG help
I want to mirror the logical volume onto an attached JBOD. If I vgextend two new jbod disks (c4t2d0 & c4t3d0) into VG01, can I use the command "lvextend ???m 1 /dev/vg01/lvol1" and expect that lvol1 will be mirrored onto the recently added JBOD disks? If this won???t work, can I place only the two new jbod disks into a PVG and mirror onto the PVG? In other words can I mirror onto a PVG from a non-PVG (my current lvol1)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 03:51 PM
05-16-2002 03:51 PM
Re: Mirroring and PVG help
You can specify which disk you would like to mirror to within the lvextend command. There is a good document within the Knowledge Base describing the procedure.
Doc Id: ULVMKBRC00008267
Hope this helps!
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 03:55 PM
05-16-2002 03:55 PM
Re: Mirroring and PVG help
I would explicitly the physical volumes you wish to mirror to.
Lets assume two disks you wish to use are:
/dev/dsk/c4t2d0 and /dev/dsk/c4t3d0
To do the mirroring:
# pvcreate /dev/dsk/c4t2d0
# pvcreate /dev/dsk/c4t3d0
# vgextend /dev/yourvg /dev/dsk/c4t2d0
# lvextend -m 1 /dev/yourvg/yourlv1 /dev/dsk/c4t2d0
# lvextend -m 1 /dev/yourvg/yourlv2 /dev/dsk/c4t3d0
Continue for each logical volume.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 04:14 PM
05-16-2002 04:14 PM
Re: Mirroring and PVG help
As already noted, using 'lvextend' and specifying the pv_path(es) as arguments to restrict (here) the mirrored extents to particular disks is one method.
You can also manually edit the '/etc/lvmpvg' file and define the PVG for the unmirrored and the "mirrored-to-be" group of disks. Then:
# lvchange -s g /dev/vgXX/lvolX
...to establish a PVG strict allocation policy, and finally, 'vgextend' using the PVG name of the "mirrored-to-be" group of disks.
See the man pages for 'lvchange' and 'lvextend' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 04:43 PM
05-16-2002 04:43 PM
Re: Mirroring and PVG help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:06 AM
05-17-2002 06:06 AM
Re: Mirroring and PVG help
When I was working for HP I have written an LVM Quick Reference that contains multiple steps by steps for LVM. Whithin the document there is a section for PVG.
The document is named: LVM Quick reference
and the docid is KBAN00000514.
The following link should access the document:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=9f022c54125c117f45/screen=ckiDisplayDocument?docId=200000058994424
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 07:40 AM
05-17-2002 07:40 AM
Re: Mirroring and PVG help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 07:58 AM
05-17-2002 07:58 AM