- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Vxrootmirror problem
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
01-04-2008 06:40 AM
01-04-2008 06:40 AM
I have disk below ....
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t6d0 simple rootdisk01 rootdg online
c2t6d0 simple rootdisk02 rootdg online
#
i checked vxprint and it shows its not mirrored i mean the volumes does not show any rootdisk02.
# vxprint -g rootdg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg rootdg rootdg - - - - - -
dm rootdisk01 c0t6d0 - 71681248 - - - -
dm rootdisk02 c2t6d0 - 71683264 - - - -
v homevol fsgen ENABLED 693856 - ACTIVE - -
pl homevol-01 homevol ENABLED 693856 - ACTIVE - -
sd rootdisk01-04 homevol-01 ENABLED 693856 0 - - -
v home1vol fsgen ENABLED 4096000 - ACTIVE - -
pl home1vol-01 home1vol ENABLED 4096000 - ACTIVE - -
sd rootdisk01-05 home1vol-01 ENABLED 4096000 0 - - -
I tried vxdiskadm but gives me error
The disk device c2t6d0 appears to have already been initialized
for vxvm use on the system "loopback".
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2008 07:09 AM
01-04-2008 07:09 AM
Re: Vxrootmirror problem
your disk is defined is volume gorup rootdg but non of the volumes are mirrorred . you can either remove it from rootdg by
vxdg -g rootdg rmdisk c2t6d00
or mirror each volume by vxassist
vxassist -g rootdg mirror
hasan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2008 08:06 AM
01-04-2008 08:06 AM
Re: Vxrootmirror problem
anything missed? I need also to test after mirroring if i can boot with it c2t6d0.
twsmp7:/root#vxassist -b -g rootdg mirror rootvol
twsmp7:/root#vxbootsetup: ERROR: Disk rootdisk02 (c2t6d0) priv offset = 128, S/B 2144
vxvm:vxassist: ERROR: Could not setup boot partition for new root mirror(s)
See below vxprint results
twsmp7:/root#vxprint -g rootdg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg rootdg rootdg - - - - - -
dm rootdisk01 c0t6d0 - 71681248 - - - -
dm rootdisk02 c2t6d0 - 71683264 - - - -
v homevol fsgen ENABLED 693856 - ACTIVE - -
pl homevol-01 homevol ENABLED 693856 - ACTIVE - -
sd rootdisk01-04 homevol-01 ENABLED 693856 0 - - -
pl homevol-02 homevol ENABLED 693856 - ACTIVE - -
sd rootdisk02-02 homevol-02 ENABLED 693856 0 - - -
v home1vol fsgen ENABLED 4096000 - ACTIVE ATT1 -
pl home1vol-01 home1vol ENABLED 4096000 - ACTIVE - -
sd rootdisk01-05 home1vol-01 ENABLED 4096000 0 - - -
pl home1vol-02 home1vol ENABLED 4096000 - TEMPRMSD ATT -
sd rootdisk02-03 home1vol-02 ENABLED 4096000 0 - - -
v inbackupvol fsgen ENABLED 4706304 - ACTIVE ATT1 -
pl inbackupvol-01 inbackupvol ENABLED 4706304 - ACTIVE - -
sd rootdisk02-01 inbackupvol-01 ENABLED 4706304 0 - - -
pl inbackupvol-02 inbackupvol ENABLED 4706304 - TEMPRMSD ATT -
sd rootdisk01-11 inbackupvol-02 ENABLED 4706304 0 - - -
v optvol fsgen ENABLED 2763192 - ACTIVE ATT1 -
pl optvol-01 optvol ENABLED 2763192 - ACTIVE - -
sd rootdisk01-06 optvol-01 ENABLED 2763192 0 - - -
pl optvol-02 optvol ENABLED 2763192 - TEMPRMSD ATT -
sd rootdisk02-04 optvol-02 ENABLED 2763192 0 - - -
v rootvol root ENABLED 204800 - ACTIVE - -
pl rootvol-01 rootvol ENABLED 204800 - ACTIVE - -
sd rootdisk01-03 rootvol-01 ENABLED 204800 0 - - -
v standvol fsgen ENABLED 307200 - ACTIVE - -
pl standvol-01 standvol ENABLED 307200 - ACTIVE - -
sd rootdisk01-01 standvol-01 ENABLED 307200 0 - - -
pl standvol-02 standvol ENABLED 307200 - ACTIVE - -
sd rootdisk02-05 standvol-02 ENABLED 307200 0 - - -
v swapvol swap ENABLED 4194304 - ACTIVE ATT1 -
pl swapvol-01 swapvol ENABLED 4194304 - ACTIVE - -
sd rootdisk01-02 swapvol-01 ENABLED 4194304 0 - - -
pl swapvol-02 swapvol ENABLED 4194304 - TEMPRMSD ATT -
sd rootdisk02-06 swapvol-02 ENABLED 4194304 0 - - -
v tmpvol fsgen ENABLED 630784 - ACTIVE ATT1 -
pl tmpvol-01 tmpvol ENABLED 630784 - ACTIVE - -
sd rootdisk01-07 tmpvol-01 ENABLED 630784 0 - - -
pl tmpvol-02 tmpvol ENABLED 630784 - TEMPRMSD ATT -
sd rootdisk02-07 tmpvol-02 ENABLED 630784 0 - - -
v uorabinvol fsgen ENABLED 4300800 - ACTIVE ATT1 -
pl uorabinvol-01 uorabinvol ENABLED 4300800 - ACTIVE - -
sd rootdisk01-08 uorabinvol-01 ENABLED 4300800 0 - - -
pl uorabinvol-02 uorabinvol ENABLED 4300800 - TEMPRMSD ATT -
sd rootdisk02-08 uorabinvol-02 ENABLED 4300800 0 - - -
v usrvol fsgen ENABLED 2776168 - ACTIVE ATT1 -
pl usrvol-01 usrvol ENABLED 2776168 - ACTIVE - -
sd rootdisk01-09 usrvol-01 ENABLED 2776168 0 - - -
pl usrvol-02 usrvol ENABLED 2776168 - TEMPRMSD ATT -
sd rootdisk02-09 usrvol-02 ENABLED 2776168 0 - - -
v varvol fsgen ENABLED 4706304 - ACTIVE ATT1 -
pl varvol-01 varvol ENABLED 4706304 - ACTIVE - -
sd rootdisk01-10 varvol-01 ENABLED 4706304 0 - - -
pl varvol-02 varvol ENABLED 4706304 - TEMPRMSD ATT -
sd rootdisk02-10 varvol-02 ENABLED 4706304 0 - - -
twsmp7:/root#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2008 01:52 PM
01-04-2008 01:52 PM
Re: Vxrootmirror problem
but it would work only when disk is not linked with any dg
vxdg -g rootdg rmdisk c2t6d00
Then just give
vxrootmirr -a
Hope this help !!!
kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2008 03:42 AM
01-05-2008 03:42 AM
Solutionremove the c2t6d0 from your root disk group.
# vxdg -g rootdg rmdisk rootdisk02=c2t6d0
# /etc/vx/bin/vxdisksetup -iB c2t6d0
# vxdg -g rootdg adddisk rootdisk02=c2t6d0
# vxdiskadm
---
Select an operation to perform: 5
--
At the prompt below, supply the name of the disk containing the volumes to be mirrored.
Enter disk name: [
The rootdisk01 is the root disk, an empty destination disk is required to mirror the root disk.
Enter an empty destination disk: [
Note: This operation can take a long time to complete.
Continue with operation? [y,n,q,?] (default: y)
---
# vxvmboot -v /dev/rdsk/c2t6d0
check both disks
# lifls -l /dev/rdsk/c2t6d0
# lifls -l /dev/rdsk/c0t6d0
Check mirror conf
# vxprint -g rootdg
Regards,
Robert-Jan