cancel
Showing results for 
Search instead for 
Did you mean: 

Mirroring root vol.

Anu
Level 2
Hello,
I have root disk of 18 gb and 4 other disks of 8 gb each. I want to mirror the root vol but don't have another disk of same geometry, is it possible to do so, if so please advice.
Following is my vxprint, i have already encapsulated root disk but get the following error when trying to mirror.Also is it mandatory to have the second disk in the same diskgroup i.e rootdg?
 
bash-3.00# 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         RVG          KSTATE   STATE    NVOLUME
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
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE
dg rootdg       default      default  42000    1203736627.13.sun1
dm disk-2       c1t9d0s2     auto     65536    17616288 -
dm rootdg01     c0t0d0s2     auto     67535    40019615 -
sd rootdg01Priv -            rootdg01 16384032 67535    PRIVATE   c0t0d0   ENA
v  home         -            ENABLED  ACTIVE   22570128 ROUND     -        fsgen
pl home-01      home         ENABLED  ACTIVE   22570128 CONCAT    -        RW
sd rootdg01-03  home-01      rootdg01 17449487 22570128 0         c0t0d0   ENA
v  rootvol      -            ENABLED  ACTIVE   16384032 ROUND     -        root
pl rootvol-01   rootvol      ENABLED  ACTIVE   16384032 CONCAT    -        RW
sd rootdg01-B0  rootvol-01   rootdg01 16384031 1        0         c0t0d0   ENA
sd rootdg01-02  rootvol-01   rootdg01 0        16384031 1         c0t0d0   ENA
v  swapvol      -            ENABLED  ACTIVE   997920   ROUND     -        swap
pl swapvol-01   swapvol      ENABLED  ACTIVE   997920   CONCAT    -        RW
sd rootdg01-01  swapvol-01   rootdg01 16451567 997920   0         c0t0d0   ENA
Disk group: dg2
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         RVG          KSTATE   STATE    NVOLUME
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
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE
dg dg2          default      default  16000    1203729582.16.sun1
dm disk-3       c1t10d0s2    auto     65536    17616288 -
bash-3.00# /etc/vx/bin/vxroot
vxroot     vxrootmir
bash-3.00# /etc/vx/bin/vxrootmir disk-2
VxVM vxrootmir ERROR V-5-2-3579 Disk disk-2 cannot be used to mirror a rootvol
Thanks,
Anu.
1 REPLY 1

cowboycraig
Level 4