cancel
Showing results for 
Search instead for 
Did you mean: 

Mirroring Veritas Volume Manager error

andrich
Level 4

Hello Everybody

I am trying to add a mirror disk into a Oracle disk group, bue it shows this message:

VxVM  WARNING V-5-2-1563 There is insufficient space on disk

The origin disk has 150GB and the new disk has 200GB.

Any idea ?

Alexandre Andrich

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

As Riaan says, try using vxassist, although command is not quite correct - should be:

vxassist -g lic1dg mirror vol01

 

The issue could be that your disk is called "diskname" and since vxdiskadm is just a frontend shell script which calls underlying vx commands, it could be that "diskname" confuses it and it would be a good idea to rename anyway and I would personally rename both disks and you should rename subdisks also to avoid confusion and this can all be done online:

vxedit -g lic1dg rename lic1dg01 lic1dg02
vxedit -g lic1dg rename diskname lic1dg01
vxedit -g lic1dg rename diskname-01 lic1dg01-01

 

Mike

View solution in original post

5 REPLIES 5

mikebounds
Level 6
Partner Accredited

Please provide output from vxprint -th and the command you are trying to run.

Mike

andrich
Level 4

svmmdesenv:/# vxdiskadm

Volume Manager Support Operations
Menu: VolumeManager/Disk

 1      Add or initialize one or more disks
 2      Encapsulate one or more disks
 3      Remove a disk
 4      Remove a disk for replacement
 5      Replace a failed or removed disk
 6      Mirror volumes on a disk
 7      Move volumes from a disk
 8      Enable access to (import) a disk group
 9      Remove access to (deport) a disk group
 10     Enable (online) a disk device
 11     Disable (offline) a disk device
 12     Mark a disk as a spare for a disk group
 13     Turn off the spare flag on a disk
 14     Unrelocate subdisks back to a disk
 15     Exclude a disk from hot-relocation use
 16     Make a disk available for hot-relocation use
 17     Prevent multipathing/Suppress devices from VxVM's view
 18     Allow multipathing/Unsuppress devices from VxVM's view
 19     List currently suppressed/non-multipathed devices
 20     Change the disk naming scheme
 21     Get the newly connected/zoned disks in VxVM view
 22     Change/Display the default disk layouts
 23     Mark a disk as allocator-reserved for a disk group
 24     Turn off the allocator-reserved flag on a disk
 list   List disk information


 ?      Display help about menu
 ??     Display help about the menuing system
 q      Exit from menus

Select an operation to perform: 1

Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
  Use this operation to add one or more disks to a disk group.  You can
  add the selected disks to an existing disk group or to a new disk group
  that will be created as a part of the operation. The selected disks may
  also be added to a disk group as spares. Or they may be added as
  nohotuses to be excluded from hot-relocation use. The selected
  disks may also be initialized without adding them to a disk group 
  leaving the disks available for use as replacement disks.

  More than one disk or pattern may be entered at the prompt.  Here are
  some disk selection examples:

  all:          all disks
  c3 c4t2:      all disks on both controller 3 and controller 4, target 2
  c3t4d2:       a single disk (in the c#t#d# naming scheme)
  xyz_0 :       a single disk (in the enclosure based naming scheme)
  xyz_ :        all disks on the enclosure whose name is xyz

Select disk devices to add: [<pattern-list>,all,list,q,?] list

DEVICE       DISK         GROUP        STATUS
emcpower0    diskname     bgw1dg       online
emcpower1    diskname     lic1dg       online
emcpower2    diskname     ora1dg       online
emcpower3    diskname     fmm1dg       online
emcpower4    arch1dgemcpower4 arch1dg      online
emcpower5    lic11dg01    lic11dg      online
emcpower6    bgw11dg01    bgw11dg      online
emcpower7    ora11dg01    ora11dg      online
emcpower8    fmm11dg01    fmm11dg      online
emcpower9    -            -            online invalid
emcpower13   bgw1dg01     bgw1dg       online

Select disk devices to add: [<pattern-list>,all,list,q,?] emcpower9
  Here is the disk selected.  Output format: [Device_Name]

  emcpower9

Continue operation? [y,n,q,?] (default: y) y
  You can choose to add this disk to an existing disk group, a
  new disk group, or leave the disk available for use by future
  add or replacement operations.  To create a new disk group,
  select a disk group name that does not yet exist.  To leave
  the disk available for future use, specify a disk group name
  of "none".

Which disk group [<group>,none,list,q,?] (default: none) lic1dg

Use a default disk name for the disk? [y,n,q,?] (default: y) 

Add disk as a spare disk for lic1dg? [y,n,q,?] (default: n) 

Exclude disk from hot-relocation use? [y,n,q,?] (default: n) 

Add site tag to disk? [y,n,q,?] (default: n) 
  The selected disks will be added to the disk group lic1dg with
  default disk names.

  emcpower9

Continue with operation? [y,n,q,?] (default: y) 
  Initializing device emcpower9.

Enter the desired format
[cdsdisk,sliced,simple,q,?] (default: cdsdisk) sliced

Enter desired private region length
[<privlen>,q,?] (default: 65536) 
  VxVM  NOTICE V-5-2-88
Adding disk device emcpower9 to disk group lic1dg with disk
  name lic1dg01.

Add or initialize other disks? [y,n,q,?] (default: n) n

Volume Manager Support Operations
Menu: VolumeManager/Disk

 1      Add or initialize one or more disks
 2      Encapsulate one or more disks
 3      Remove a disk
 4      Remove a disk for replacement
 5      Replace a failed or removed disk
 6      Mirror volumes on a disk
 7      Move volumes from a disk
 8      Enable access to (import) a disk group
 9      Remove access to (deport) a disk group
 10     Enable (online) a disk device
 11     Disable (offline) a disk device
 12     Mark a disk as a spare for a disk group
 13     Turn off the spare flag on a disk
 14     Unrelocate subdisks back to a disk
 15     Exclude a disk from hot-relocation use
 16     Make a disk available for hot-relocation use
 17     Prevent multipathing/Suppress devices from VxVM's view
 18     Allow multipathing/Unsuppress devices from VxVM's view
 19     List currently suppressed/non-multipathed devices
 20     Change the disk naming scheme
 21     Get the newly connected/zoned disks in VxVM view
 22     Change/Display the default disk layouts
 23     Mark a disk as allocator-reserved for a disk group
 24     Turn off the allocator-reserved flag on a disk
 list   List disk information


 ?      Display help about menu
 ??     Display help about the menuing system
 q      Exit from menus

Select an operation to perform: 6

Mirror volumes on a disk
Menu: VolumeManager/Disk/Mirror
  This operation can be used to mirror volumes on a disk.  These
  volumes can be be mirrored onto another disk or onto any
  available disk space.  Volumes will not be mirrored if they are
  already mirrored.  Also, volumes that are comprised of more than
  one subdisk will not be mirrored.

  Mirroring volumes from the boot disk will produce a disk that
  can be used as an alternate boot disk.

  At the prompt below, supply the name of the disk containing the
  volumes to be mirrored.

Enter disk name [<disk>,list,q,?] list

Disk group: fmm11dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm fmm11dg01    emcpower8s2  auto     80065    209583968 -

Disk group: arch1dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm arch1dgemcpower4 emcpower4s2 auto  67324    2019328  -

Disk group: bgw1dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm bgw1dg01     emcpower13s2 auto     80065    419296480 -
dm diskname     emcpower0s2  auto     80065    314424160 -

Disk group: bgw11dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm bgw11dg01    emcpower6s2  auto     80065    314440224 -

Disk group: fmm1dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm diskname     emcpower3s2  auto     80065    209567904 -

Disk group: lic1dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm diskname     emcpower1s2  auto     67324    2019328  -
dm lic1dg01     emcpower9s2  auto     67324    2021376  -

Disk group: lic11dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm lic11dg01    emcpower5s2  auto     67324    2021376  -

Disk group: ora1dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm diskname     emcpower2s2  auto     80065    209567904 -

Disk group: ora11dg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm ora11dg01    emcpower7s2  auto     80065    209583968 -

Enter disk name [<disk>,list,q,?] diskname
  VxVM vxadm_lib INFO V-5-2-397 There is a disk named diskname in each of the following disk groups:
        bgw1dg fmm1dg lic1dg ora1dg

Enter the disk group to use [group,q,?] (default: bgw1dg) lic1dg
  You can choose to mirror volumes from disk diskname onto any
  available disk space, or you can choose to mirror onto a specific
  disk.  To mirror to a specific disk, select the name of that disk.
  To mirror to any available disk space, select "any".

Enter destination disk [<disk>,list,q,?] (default: any) lic1dg01
  The requested operation is to mirror all volumes on disk diskname
  in disk group lic1dg onto available disk space on disk lic1dg01.
  VxVM  WARNING V-5-2-1563 There is insufficient space on disk lic1dg01 to mirror all the volumes on disk diskname

 

 

svmmdesenv:/# vxprint -ht
Disk group: fmm11dg

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 fmm11dg      default      default  101000   1427117354.35.svmmdesenv

dm fmm11dg01    emcpower8s2  auto     80065    209583968 -

v  vol01        -            ENABLED  ACTIVE   209582080 SELECT   -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   209582080 CONCAT   -        RW
sd fmm11dg01-01 vol01-01     fmm11dg01 0       209582080 0        emcpower8 ENA

Disk group: arch1dg

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 arch1dg      default      default  64000    1351097866.23.svmmdesenv

dm arch1dgemcpower4 emcpower4s2 auto  67324    2019328  -

v  vol01        -            ENABLED  ACTIVE   1843200  SELECT    -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   1843200  CONCAT    -        RW
sd arch1dgemcpower4-01 vol01-01 arch1dgemcpower4 0 1843200 0      emcpower4 ENA

Disk group: bgw1dg

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 bgw1dg       default      default  27000    1337977688.25.svmmdesenv

dm bgw1dg01     emcpower13s2 auto     80065    419296480 -
dm diskname     emcpower0s2  auto     80065    314424160 -

v  vol01        -            ENABLED  ACTIVE   314423296 SELECT   -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   314423296 CONCAT   -        RW
sd diskname-01  vol01-01     diskname 0        314423296 0        emcpower0 ENA

Disk group: bgw11dg

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 bgw11dg      default      default  119000   1427117254.29.svmmdesenv

dm bgw11dg01    emcpower6s2  auto     80065    314440224 -

v  vol01        -            ENABLED  ACTIVE   314439680 SELECT   -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   314439680 CONCAT   -        RW
sd bgw11dg01-01 vol01-01     bgw11dg01 0       314439680 0        emcpower6 ENA

Disk group: fmm1dg

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 fmm1dg       default      default  100000   1337977775.29.svmmdesenv

dm diskname     emcpower3s2  auto     80065    209567904 -

v  vol01        -            ENABLED  ACTIVE   209567744 SELECT   -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   209567744 CONCAT   -        RW
sd diskname-01  vol01-01     diskname 0        209567744 0        emcpower3 ENA

Disk group: lic1dg

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 lic1dg       default      default  84000    1337977801.31.svmmdesenv

dm diskname     emcpower1s2  auto     67324    2019328  -
dm lic1dg01     emcpower9s2  auto     67324    2021376  -

v  vol01        -            ENABLED  ACTIVE   2019328  SELECT    -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   2019328  CONCAT    -        RW
sd diskname-01  vol01-01     diskname 0        2019328  0         emcpower1 ENA

Disk group: lic11dg

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 lic11dg      default      default  46000    1427117164.26.svmmdesenv

dm lic11dg01    emcpower5s2  auto     67324    2021376  -

v  vol01        -            ENABLED  ACTIVE   2021376  SELECT    -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   2021376  CONCAT    -        RW
sd lic11dg01-01 vol01-01     lic11dg01 0       2021376  0         emcpower5 ENA

Disk group: ora1dg

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 ora1dg       default      default  102000   1337977749.27.svmmdesenv

dm diskname     emcpower2s2  auto     80065    209567904 -

v  vol01        -            ENABLED  ACTIVE   209567744 SELECT   -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   209567744 CONCAT   -        RW
sd diskname-01  vol01-01     diskname 0        209567744 0        emcpower2 ENA

Disk group: ora11dg

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 ora11dg      default      default  103000   1427117304.32.svmmdesenv

dm ora11dg01    emcpower7s2  auto     80065    209583968 -

v  vol01        -            ENABLED  ACTIVE   209582080 SELECT   -        fsgen
pl vol01-01     vol01        ENABLED  ACTIVE   209582080 CONCAT   -        RW
sd ora11dg01-01 vol01-01     ora11dg01 0       209582080 0        emcpower7 ENA

 

 

RiaanBadenhorst
Level 6
Partner    VIP    Accredited Certified

run

vxassist -g lic11dg01 mirror vol01

 

Gaurav_S
Moderator
Moderator
   VIP    Certified

What is the value set in /etc/default/vxassist, quite possible it is trying to create more mirrors which is not sufficient for disk to take ..

Run below command & see value of nmirror

# vxassist help showattrs

 

 

G

mikebounds
Level 6
Partner Accredited

As Riaan says, try using vxassist, although command is not quite correct - should be:

vxassist -g lic1dg mirror vol01

 

The issue could be that your disk is called "diskname" and since vxdiskadm is just a frontend shell script which calls underlying vx commands, it could be that "diskname" confuses it and it would be a good idea to rename anyway and I would personally rename both disks and you should rename subdisks also to avoid confusion and this can all be done online:

vxedit -g lic1dg rename lic1dg01 lic1dg02
vxedit -g lic1dg rename diskname lic1dg01
vxedit -g lic1dg rename diskname-01 lic1dg01-01

 

Mike