- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirror ask?
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
02-18-2003 09:52 AM
02-18-2003 09:52 AM
How can I do the mirror
LV Name /dev/vg00/lvol7
VG Name /dev/vg00
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c9t5d0 160 160
/dev/dsk/c9t9d0 140 140
When I do the lvextend -m 1
what disk is?
Thnaks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 10:00 AM
02-18-2003 10:00 AM
Re: Mirror ask?
lvextend -m 1 /dev/vg01/lvol5
If you wish to, you can also specify which physical disk you want to allocate the mirror copy on.
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 10:01 AM
02-18-2003 10:01 AM
Re: Mirror ask?
When you do the 'lvextend -m...' *all* extents of the logical volume on *all* physical volumes on which it resides are extended. Remember that mirroring is at the *logical volume* level. You can limit the mirror to a particular physical volume(s) by specifying the pv_path(es). Otherwise, all physical volumes are candidates for the mirror extents, within the constraints of the 'strict' allocation policy (which by default, prevents allocating mirror extents on the same physical volume as corresponding extents already exist).
See the man pages for 'lvcreate' and 'lvextend' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 10:05 AM
02-18-2003 10:05 AM
SolutionHope that helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 10:05 AM
02-18-2003 10:05 AM
Re: Mirror ask?
# lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c1t2d0
otherwise (without specifying the disk) it'll mirror to any available PV extents which are not on the same PV.
To establish a "clean mirror" it's best of you can setup PVG and enable the PVG-strict allocation. I usually do that if I have more than 2 disks in my vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 10:19 AM
02-18-2003 10:19 AM
Re: Mirror ask?
I am considering that you have multiple logical volumes spread over these two disks listed above.
You will need two different disks to mirror your logical volumes to.
lvextend -m1 /dev/vg00/lvol7 /dev/dsk/newdisk
See attache doc
-Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 10:20 AM
02-18-2003 10:20 AM
Re: Mirror ask?
I am considering that you have multiple logical volumes spread over these two disks listed above.
You will need two different disks to mirror your logical volumes to.
lvextend -m1 /dev/vg00/lvol7 /dev/dsk/newdisk
See attached doc
-Anil