> v  rootvol      -            ENABLED  ACTIVE   7171664  ROUND     -
> root
> pl rootvol-01   rootvol      ENABLED  ACTIVE   7171664  CONCAT    -
> RW
> sd rootdg01-02  rootvol-01   rootdg01 4198391  7171664  0         c0t0d0
> ENA
> pl rootvol-02   rootvol      ENABLED  ACTIVE   7171664  CONCAT    -
> RW
> sd rootmirror-02 rootvol-02  rootmirror 4198392 7171664 0         c0t1d0
> ENA
> 
> v  swapvol      -            ENABLED  ACTIVE   4198392  ROUND     -
> swap
> pl swapvol-01   swapvol      ENABLED  ACTIVE   4198392  CONCAT    -
> RW
> sd rootdg01-B0  swapvol-01   rootdg01 35358847 1        0         c0t0d0
> ENA
> sd rootdg01-01  swapvol-01   rootdg01 0        4198391  1         c0t0d0
> ENA
> pl swapvol-02   swapvol      ENABLED  ACTIVE   4198392  CONCAT    -
> RW
> sd rootmirror-01 swapvol-02  rootmirror 0      4198392  0         c0t1d0
> ENA

> I used:
> 
> vxassist -g rootdg mirror $VOL rootmirror  { for non-root volumes}
> /etc/vx/bin/vxrootmir rootmirror  {for root volume}
> 
> Questions:
> 
> a) Did I mirror the root disk correctly?

Commands look correct to me.

> b) I noticed the "swapvol" has "sd rootdg01-B0"; does this implies the
> bootsector is in swap?

Hmm.., normaly I'd say yes, but I'm not certain here.  If you look at
the "sd" line, the figure right after the name of the disk is the offset
on the disk (although technically its the offset into the public region
of the disk).  The -B0 is at a high offset, so it's not the boot sector.
If anything, it would be rootdg01-01 and rootmirror-01.

Now, under normal circumstances, you may have already allocated the boot
sector to an in-use slice.  If the swap slice started at cylinder zero,
this would be true.

UFS filesystems and swap devices do not write to the first 16 block,
just in case the VTOC or boot sectors are at the beginning.  But if
something else were using the device (say a database), then we wouldn't
want the sector to be there.

> c) If from the PROM prompt (aka ok prompt) I type boot rootmirrror - would
> the system boot off the secondary rootmirror disk?

You'd need to verify that you have an OBP alias for 'rootmirror'
configured (sometimes VxVM sets it up as 'vx-rootmirror').  If so, yes.

-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to