- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to do root disk mirroing in vxvm
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
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
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
тАО10-14-2009 11:37 AM
тАО10-14-2009 11:37 AM
how to do root disk mirroing in vxvm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 11:56 AM
тАО10-14-2009 11:56 AM
Re: how to do root disk mirroing in vxvm
# vxdisksetup -iB cxtydz
b) To add the disk to the VxVM dg:
# vxdg -g rootdg adddisk rootdisk=cxtydz
c) To create the mirror:
# vxrootmir -v -b -R cxtydz
For non-root data groups, one of the ways
to set the mirroring is:
# vxassist -g mydg mirror VOLX mirror=enclr ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 06:36 PM
тАО10-14-2009 06:36 PM
Re: how to do root disk mirroing in vxvm
Else the simplest way is to
partition the disk similar to itanium
vxrootmir -a newdisk-s2 {this would copy everything and takes time )
and then update the lif area
/opt/VRTS/bin/vxbootsetup VMVM_name_of_disk
to check:
vxvmboot -v /dev/rdsk/cxtxdx
lifls -lC /dev/rdsk/cxtxdx
then boot it from new disk to check if everythingis cool.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 06:37 PM
тАО10-14-2009 06:37 PM
Re: how to do root disk mirroing in vxvm
PLease find attahcment for step by step procedure.
Doc ID: emr_na-c01001982-7
Hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 09:39 PM
тАО10-14-2009 09:39 PM
Re: how to do root disk mirroing in vxvm
here is the steps For VxVM
For VxVM most of the work is done automatically by the vxrootmir(1M) script.
1) Have VxVM see the new c2t1d0 disk (if not already booted with it):
# vxdctl enable
2) Confirm that you can see the new disk as ├в online├в or ├в online invalid├в :
# vxdisk list
3) Mirror the root disk. This may take some time:
# /etc/vx/bin/vxrootmir -v ├в b c2t1d0
4) Verify that all volumes are mirrored:
# vxprint -g rootdg
5) Verify the LABEL files on root and mirror disk:
# vxvmboot -v /dev/rdsk/c1t0d0s2
LIF Label File @ (1k) block # 834 on VxVM Disk /dev/rdsk/c1t0d0s2:
Label Entry: 0, Boot Volume start: 3168; length: 300 MB
Label Entry: 1, Root Volume start: 4504672; length: 400 MB
Label Entry: 2, Swap Volume start: 310368; length: 4096 MB
Label Entry: 3, Dump Volume start: 310368; length: 4096 MB
# vxvmboot -v /dev/rdsk/c2t1d0s2
LIF Label File @ (1k) block # 834 on VxVM Disk /dev/rdsk/c2t1d0s2:
Label Entry: 0, Boot Volume start: 3168; length: 300 MB
Label Entry: 1, Root Volume start: 4504672; length: 400 MB
Label Entry: 2, Swap Volume start: 310368; length: 4096 MB
Label Entry: 3, Dump Volume start: 310368; length: 4096 MB
6) Verify the setboot path:
# setboot
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 09:40 PM
тАО10-14-2009 09:40 PM
Re: how to do root disk mirroing in vxvm
Some junk characters are there in previous post plese find the attached file ....
Suarj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2010 03:48 AM
тАО01-25-2010 03:48 AM
Re: how to do root disk mirroing in vxvm
you gave correct and exact steps for vxvm root mirror ,
Once again thanks a lots.
cheers,
Kalai.