VxVM can't create encapsulation volume.

From: kristianto.setiawan@sun.co.id
Date: Mon Jan 08 2007 - 04:10:02 EST


Hi all,

I have a problem when encapsulation boot disk using Veritas 4.0 after doing
Solaris 9 upgrade.
Need other sharing info if facing the same problem and how to resolve it.

Thanks
Kristianto

Here is the data captured.

Condition before encapsulation : disk c1t0d0
----------------------------------------------------------------
root@abc # vxdisk list

c0t1d0s2 auto:sliced rootdisk rootdg online
c1t0d0s2 auto:none - - online invalid
c1t6d0s2 auto:none - - online invalid
c3t3d0s2 auto:none - - online invalid
c6t0d0s2 auto:sliced vxrootmir rootdg online

Condition after encapsulation : disk c1t0d0
-----------------------------------------------------------------
 1. vxdiskadm --> select 2
 2. choose disk --> c1t0d0
 3. which disk group --> nrootdg
 4. Continue with encapsulation? [y,n,q,?] (default: y) y
     VxVM vxdctl ERROR V-5-1-5483 bootdg nrootdg failed: A boot disk group
already exists
     VxVM NOTICE V-5-2-1499 Disk c1t0d0 contains of of these file systems: /
/usr /var. As a result
      it must be added to the rootdg disk group.
 5. Enter disk name --> newroot
 6. Shutdown -y -g0 -i6
 7. The root cannot manage by Veritas because an error :
     VxVM vxvm-reconfig INFO V-5-2-324 The Volume Manager is now reconfiguring
(partition phase)...
     VxVM vxvm-reconfig INFO V-5-2-499 Volume Manager: Partitioning c1t0d0 as an
encapsulated disk.
               /dev/dsk/c1t0d0s1 was dump device --invoking dumpadm(1M) -d swap
to select new dump device
    VxVM vxvm-reconfig INFO V-5-2-323 The Volume Manager is now reconfiguring
(initialization phase)...
    VxVM vxvm-reconfig INFO V-5-2-497 Volume Manager: Adding newroot (c1t0d0) as
an encapsulated disk.
    Vvxcap-vol INFO V-5-2-89 Adding volumes for c1t0d0...
    VxVM vxmake ERROR V-5-1-1173 Volume rootvol already exists
    VxVM vxvm-reconfig ERROR V-5-2-329 The creation of encapsulated volumes for
c1t0d0 failed.
    VxVM vxvm-reconfig ERROR V-5-2-361 The following disks failed encapsulation:
c1t0d0
 8. OS can boot normally, but / still mount as /dev/dsk/c1t0d0s0
 9. root@abc # vxdisk list :
      c0t1d0s2 auto rootdisk rootdg online c0t1d0s2
      c1t0d0s2 auto newroot rootdg online c1t0d0s2
      c1t6d0s2 auto - - online c1t6d0s2
      c3t3d0s2 auto - - online c3t3d0s2
      c6t0d0s2 auto vxrootmir rootdg online c6t0d0s2
10. root@abc # vxprint -ht :

Disk group: rootdg

DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME NVOLUME KSTATE STATE
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO

dg rootdg default default 109000 1113305291.5.sapprod

dm newroot c1t0d0s2 auto 20351 143349311 -
dm rootdisk c0t1d0s2 auto 20351 143349311 -
dm vxrootmir c6t0d0s2 auto 20351 143328960 -

sd rootdiskPriv - rootdisk 101190144 20351 PRIVATE c0t1d0 ENA

v rootdisk7vol - ENABLED ACTIVE 213696 ROUND - gen
pl rootdisk7vol-01 rootdisk7vol ENABLED ACTIVE 213696 CONCAT - RW
sd rootdisk-03 rootdisk7vol-01 rootdisk 143135615 213696 0 c0t1d0 ENA
pl rootdisk7vol-02 rootdisk7vol ENABLED ACTIVE 213696 CONCAT - RW
sd vxrootmir-03 rootdisk7vol-02 vxrootmir 143115264 213696 0 c6t0d0 ENA

v rootvol - ENABLED ACTIVE 101190144 ROUND - root
pl rootvol-01 rootvol ENABLED ACTIVE 101190144 CONCAT - RW
sd rootdisk-B0 rootvol-01 rootdisk 101190143 1 0 c0t1d0 ENA
sd rootdisk-02 rootvol-01 rootdisk 0 101190143 1 c0t1d0 ENA
pl rootvol-02 rootvol ENABLED ACTIVE 101190144 CONCAT - RW
sd vxrootmir-01 rootvol-02 vxrootmir 0 101190144 0 c6t0d0 ENA

v swapvol - ENABLED ACTIVE 41925120 ROUND - swap
pl swapvol-01 swapvol ENABLED ACTIVE 41925120 CONCAT - RW
sd rootdisk-01 swapvol-01 rootdisk 101210495 41925120 0 c0t1d0 ENA
pl swapvol-02 swapvol ENABLED ACTIVE 41925120 CONCAT - RW
sd vxrootmir-02 swapvol-02 vxrootmir 101190144 41925120 0 c6t0d0
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:26 EDT