- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to do mirror
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-09-2002 10:39 AM
05-09-2002 10:39 AM
/dev/vg01/lv_u4 1024000 594188 403004 60% /u04
I was searching the net and could not get detail instructions.
How to do it? Please provide as much details as possible, as I am new to it.
Thank you for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:43 AM
05-09-2002 10:43 AM
Solutionproviding you have the available extents in your VG - and on another disk - otherwise the mirroring isn't really mirroring (it's copying - The IDEA of mirroring is to mirror data to a different disk in case the disk fails. You can mirror to the same disk, but why?):
lvextend -m 1 dev/vg01/lv_u4
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:45 AM
05-09-2002 10:45 AM
Re: how to do mirror
"vgextend /dev/vg01 /dev/dsk/cxxxxx"
to add the physical disk to the volume group, and then do:
"lvextend -m 1 /dev/vg01/lv_u4 /dev/dsk/cxxxxx"
to add the physical disk to the logical volume as a mirrored copy.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:45 AM
05-09-2002 10:45 AM
Re: how to do mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:47 AM
05-09-2002 10:47 AM
Re: how to do mirror
This document has complete steps (TKB #ULVMKBRC00008267):
http://us-support.external.hp.com/cki/bin/doc.pl/sid=fd8fce000f39f074f9/screen=ckiDisplayDocument?docId=200000058669767
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:52 AM
05-09-2002 10:52 AM
Re: how to do mirror
You first have to determine whether you have enough free space in vg01
vgdisplay -v /dev/vg01
If some free but less than what lv_u4 has now, you'll need the extend vg01 with a new disk
pvcreate /dev/rdsk/cxtydz # setup new drive - Note that you must use the raw disk (rdsk)
vgextend /dev/vg01 /dev/dsk/cxtydz # extends vg01
Then extend the LV using the mirror option
lvextend -m 1 /dev/vg01/lv_u4 #extend the LV using a mirror - NOTE this is all you'd have to do IF there is enough space in vg01
At the end check the LV
lvdisplay /dev/vg01/lv_u4
Should say mirror copies = 1
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 12:08 PM
05-09-2002 12:08 PM
Re: how to do mirror
(say you add c2t2d2 to vg01)
dev/vg01/lv_u4 1024000 594188 403004 60% /u04
# pvcreate /dev/rdsk/c2t2d0
# vgextend vg01 /dev/dsk/c2t2d0
==> add c2t2d0 to vg01
# lvextend -m 1 /dev/vg01/lv_u4 /dev/dsk/c2t2d0
==> extend a copy of "lv_u4" to c2t2d0
# lvdisplay -v /dev/vg01/lv_u4
==> check it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 12:23 PM
05-09-2002 12:23 PM