Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I run the vxprint -g rootdg on my Solaris machine (HW- NETRA T2000)

As we see here - rootvol & rootdisk7vol has missing lines (swapvol is OK)

How to fix the rootvol & rootdisk7vol in order to bring the missing lines as we see then in swapvol ?

  vxprint -g rootdg
  TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  dg rootdg       rootdg       -        -        -        -        -       -

  dm rootdisk     c0t1d0s2     -        286617216 -       -        -       -
  dm rootmirror   c0t3d0s2     -        286617216 -       -        -       -

  v  rootdisk7vol gen          ENABLED  122112   -        ACTIVE   -       -
  pl rootdisk7vol-01 rootdisk7vol ENABLED 122112 -        ACTIVE   -       -
  sd rootdisk-03  rootdisk7vol-01 ENABLED 122112 0        -        -       -


  v  rootvol      root         ENABLED  253016064 -       ACTIVE   -       -
  pl rootvol-01   rootvol      ENABLED  253016064 -       ACTIVE   -       -
  sd rootdisk-02  rootvol-01   ENABLED  253016064 0       -        -       -


  v  swapvol      swap         ENABLED  33479040 -        ACTIVE   -       -
  pl swapvol-01   swapvol      ENABLED  33479040 -        ACTIVE   -       -
  sd rootdisk-01  swapvol-01   ENABLED  33479040 0        -        -       -
  pl swapvol-02   swapvol      ENABLED  33479040 -        ACTIVE   -       -
  sd rootmirror-01 swapvol-02  ENABLED  33479040 0        -        
share|improve this question

migrated from superuser.com Feb 29 '12 at 21:36

This question came from our site for computer enthusiasts and power users.

1 Answer 1

I'll look for my old documentation on mirroring root disk with Veritas Volume Manager since it is not quite as simple as the rest.

The simple way to mirror the volumes in rootdg is the same as with any other diskgroup.

vxassist -g rootdg mirror rootdisk7vol rootmirror
vxassist -g rootdg mirror rootvol rootmirror

This will create the lines you're missing the only problem is that there are problems booting with disks that have been mirrored like this if you ever decide to boot from physical slices.

I'll try to find my old documentation on the subject.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.