- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Split mirrored VXVM disk to use as boot disk
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
06-16-2010 09:20 AM
06-16-2010 09:20 AM
rootdg has 3 disks in the mirror now.
I would lkie to split one out to use as a boot disk on another system.
What commands should I use??
in vxdiskadm - there is the option for removing a failed disk.
Should I use that??
Will the disk be intact - VXVM bootable ??
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2010 04:04 PM
06-16-2010 04:04 PM
Re: Split mirrored VXVM disk to use as boot disk
if you remove the mirored disk you do not have any protection from a disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 06:38 AM
06-17-2010 06:38 AM
Re: Split mirrored VXVM disk to use as boot disk
There are 3 disks that are part of the mirror, I will removing only one of them and then remirroring on the new system.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 07:49 PM
06-17-2010 07:49 PM
SolutionThe vxbrk_bootmir script can be used to automatically split the VxVM boot mirror and convert it to an independent diskgroup.
For example :
#/etc/vx/bin/vxbrk_rootmir -g test_rootdg -vb c0t1d0
Check if this script is available on your system else contact your HP Support team to get one.
Best Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 09:04 PM
06-17-2010 09:04 PM
Re: Split mirrored VXVM disk to use as boot disk
It would be nice to look at the
#vxprint -hrt output first:
However assuming default configuration you can check this out:
- Suppose you have two disk rootdisk01 & rootdisk02 in rootdg mirrired, you can break with the below steps:
1. Break mirrir for rootdisk02. rootdisk02 can be used for other purpose.
# for i in `vxprint -g rootdg -hrt | grep ^pl | awk '{print $3}' | uniq`
> do
> echo "VOL=$i "
> vxassist -g rootdg remove mirror $i !rootdisk02
> done
VOL=optvol
VOL=rootvol
VOL=standvol
VOL=swapvol
VOL=tmpvol
VOL=usersvol
VOL=usrvol
VOL=varvol
#
2.Remove the Alternate disk from diskgroup.
# vxdg -g rootdg rmdisk rootdisk02
3. Verify the plexes from rootdisk02 are not listed:
# vxprint -g rootdg -hrt
4. Reboote and check booting off the ALT disk by interupting at PDC or EFI, and choose alternate disk. It might throw an error due to two rootdg disk, but it will boot up eventually.
Cheers,
Raj.