- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vxrootmir ERROR
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
тАО06-22-2009 02:00 AM
тАО06-22-2009 02:00 AM
vxrootmir ERROR
The error is as follows:
hub0x002:/# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t1d0s2 auto:hpdisk rootdisk02 rootdg online
c2t8d0 auto:hpdisk c2t8d0 aplic2_dg online
c4t8d0 auto:hpdisk c4t8d0 aplic2_dg online
hub0x002:/# idisk -wf /tmp/partitionfile /dev/rdsk/c2t0d0
hub0x002:/# insf -eC disk
hub0x002:/# mkboot -e -l /dev/dsk/c2t0d0
hub0x002:/# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t1d0s2 auto:hpdisk rootdisk02 rootdg online
c2t8d0 auto:hpdisk c2t8d0 aplic2_dg online
c4t8d0 auto:hpdisk c4t8d0 aplic2_dg online
hub0x002:/# vxdctl enable
hub0x002:/# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t0d0s2 auto:none - - online invalid
c2t1d0s2 auto:hpdisk rootdisk02 rootdg online
c2t8d0 auto:hpdisk c2t8d0 aplic2_dg online
c4t8d0 auto:hpdisk c4t8d0 aplic2_dg online
hub0x002:/# /etc/vx/bin/vxdisksetup -iB c2t0d0s2 format=hpdisk
hub0x002:/# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t0d0s2 auto:hpdisk - - online
c2t1d0s2 auto:hpdisk rootdisk02 rootdg online
c2t8d0 auto:hpdisk c2t8d0 aplic2_dg online
c4t8d0 auto:hpdisk c4t8d0 aplic2_dg online
hub0x002:/var/adm/syslog# vxdg -g rootdg adddisk rootdisk01=c2t0d0s2
hub0x002:/var/adm/syslog# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t0d0s2 auto:hpdisk rootdisk01 rootdg online
c2t1d0s2 auto:hpdisk rootdisk02 rootdg online
c2t8d0 auto:hpdisk c2t8d0 aplic2_dg online
c4t8d0 auto:hpdisk c4t8d0 aplic2_dg online
hub0x002:/# vxassist -g rootdg mirror standvol rootdisk01
hub0x002:/# vxassist -g rootdg mirror swapvol rootdisk01
hub0x002:/dev# /opt/VRTS/bin/vxrootmir -v -b c2t0d0
VxVM vxrootmir INFO V-5-2-2501 11:18: Gathering information on the current VxVM root configuration
VxVM vxrootmir INFO V-5-2-2441 11:18: Checking specified disk(s) for usability
VxVM vxrootmir INFO V-5-2-2566 11:18: Preparing disk c2t0d0 as a VxVM root disk
VxVM vxrootmir INFO V-5-2-3766 11:18: Disk c2t0d0 is now EFI partitioned disk c2t0d0s2
VxVM vxrootmir INFO V-5-2-2410 11:18: Adding disk c2t0d0s2 to rootdg as DM rootdisk01
VxVM vxrootmir INFO V-5-2-1646 11:18: Mirroring all volumes on root disk
VxVM vxrootmir INFO V-5-2-1648 11:18: Mirroring volume standvol
VxVM vxrootmir INFO V-5-2-1648 11:18: Mirroring volume swapvol
VxVM vxrootmir INFO V-5-2-1648 11:26: Mirroring volume rootvol
VxVM vxvmboot ERROR V-5-1-8879 vxvmboot: Disk /dev/vx/rdmp/c2t0d0s2 does not contain valid LIF structures.
Run mkboot prior to running this command.
VxVM vxbootsetup ERROR V-5-2-2697 vxvmboot failed for standvol on /dev/vx/rdmp/c2t0d0s2
VxVM vxassist ERROR V-5-1-510 Could not setup boot partition for new root mirror(s)
VxVM vxrootmir ERROR V-5-2-1648 Mirroring volume rootvol
VxVM vxrootmir INFO V-5-2-2443 11:26: Cleaning up
VxVM vxrootmir INFO V-5-2-2442 11:26: Clean up complete
Any suggestions on this?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 02:25 AM
тАО06-24-2009 02:25 AM
Re: vxrootmir ERROR
:-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 04:27 AM
тАО06-24-2009 04:27 AM
Re: vxrootmir ERROR
Things sounds to be fine. But, why was the below commands executed?
# vxdg -g rootdg adddisk rootdisk01=c2t0d0s2
# vxassist -g rootdg mirror standvol rootdisk01
# vxassist -g rootdg mirror swapvol rootdisk01
I think the problem is that you have already added the disk to rootdg and mirrored a couple of volumes on it. Well, when you execute the vxrootmir, it automatically initializes, adds the disk into rootdg and mirror's all the volumes. We need not do it manually. Since, vxrootmir is like a one shot command (does everything!).
If you could check #vxprint -htg rootdg, you should be able to find out the clear status of the volumes (VxVM objects)which may reside on this disk. Remove everything and just execute the command
#/opt/VRTS/bin/vxrootmir -v -b c2t0d0
Hope it helps.
All the best!
-SH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 04:47 AM
тАО06-24-2009 04:47 AM
Re: vxrootmir ERROR
#idisk -Wr /tmp/partition-file /dev/rdsk/c2t0d0
#mkboot -e -l /dev/rdsk/c2t0d0
#insf -eC disk
#vxdctl enable
#vxdisk list
#vxbrk_rootmir -v -b c2t0d0s2
VxVM vxrootmir INFO V-5-2-2501 11:18: Gathering information on the current VxVM root configuration
VxVM vxrootmir INFO V-5-2-2441 11:18: Checking specified disk(s) for usability
VxVM vxrootmir INFO V-5-2-2566 11:18: Preparing disk c2t0d0 as a VxVM root disk
VxVM vxrootmir INFO V-5-2-3766 11:18: Disk c2t0d0 is now EFI partitioned disk c2t0d0s2
VxVM vxrootmir INFO V-5-2-2410 11:18: Adding disk c2t0d0s2 to rootdg as DM rootdisk01
VxVM vxrootmir INFO V-5-2-1646 11:18: Mirroring all volumes on root disk
VxVM vxrootmir INFO V-5-2-1648 11:18: Mirroring volume standvol
VxVM vxrootmir INFO V-5-2-1648 11:18: Mirroring volume swapvol
VxVM vxrootmir INFO V-5-2-1648 11:26: Mirroring volume rootvol
VxVM vxvmboot ERROR V-5-1-8879 vxvmboot: Disk /dev/vx/rdmp/c2t0d0s2 does not contain valid LIF structures.
Run mkboot prior to running this command.
VxVM vxbootsetup ERROR V-5-2-2697 vxvmboot failed for standvol on /dev/vx/rdmp/c2t0d0s2
VxVM vxassist ERROR V-5-1-510 Could not setup boot partition for new root mirror(s)
VxVM vxrootmir ERROR V-5-2-1648 Mirroring volume rootvol
VxVM vxrootmir INFO V-5-2-2443 11:26: Cleaning up
VxVM vxrootmir INFO V-5-2-2442 11:26: Clean up complete
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 05:48 AM
тАО06-24-2009 05:48 AM
Re: vxrootmir ERROR
?-Are we setting up a new mirrored copy or, is this a failed disk which was replaced?
#vxprint -ht -g rootdg
# vxvmboot -v /dev/rdsk/cXtXdXs2 (Try on both the disks)
-SH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2009 02:00 AM
тАО06-25-2009 02:00 AM
Re: vxrootmir ERROR
:-D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2009 02:05 AM
тАО06-25-2009 02:05 AM
Re: vxrootmir ERROR
Perhaps, my question isn't clear. You already had a mirrored copy of the VxVM boot disk and removed it because it failed and replaced a new disk and trying to mirror it back?
If yes, was the disk removed using appropriate procedures?
Also, the output of the below please.
#vxprint -ht -g rootdg
# vxvmboot -v /dev/rdsk/cXtXdXs2 (Try on both the disks)
-SH