cancel
Showing results for 
Search instead for 
Did you mean: 

No complete snapshot mirrors are available

J_dude
Level 1

# vxsnap  -g pri_cluster_resource1 rmmir DB

ends up with "No complete snapshot mirrors are available"

vxprint shows:

 

[root@sclodb2 ~]# vxprint
Disk group: my_cluster_resource

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg my_cluster_resource my_cluster_resource - - -    -        -       -

dm backup-a  emcpowerg    -        2147310624 -      -        -       -
dm backup-b  emcpowerd    -        2147310624 -      -        -       -
dm db-a      emcpowerh    -        2147310624 -      -        -       -
dm db-b      emcpowers    -        2147310624 -      -        -       -
dm jrnalt-a  emcpowere    -        209534256 -       -        -       -
dm jrnalt-b  emcpowerm    -        209534256 -       -        -       -
dm jrnpri-a  emcpowerj    -        209534256 -       -        -       -
dm jrnpri-b  emcpowerq    -        209534256 -       -        -       -
dm log-a     emcpowerf    -        2147310624 -      -        -       -
dm log-b     emcpowern    -        2147310624 -      -        -       -

pl DB_NBU_MIRROR_0-01 - DISABLED 1048576000 -   -        -       -
sd backup-b-01 DB_NBU_MIRROR_0-01 ENABLED 1048576000 0 - -    -


v  DB   fsgen        ENABLED  1048576000 -      ACTIVE   -       -
pl DB-01 PMSDBVOLDB  ENABLED  1048576000 -      ACTIVE   -       -
sd db-a-01   DB-01 ENABLED 1048576000 0      -        -       -
pl DB-02 DB  ENABLED  1048576000 -      ACTIVE   -       -
sd pmsbi-a-02   DB-02 ENABLED 1048576000 0      -        -       -
dc DB_dco DB -        -        -        -        -       -
v  DB_dcl gen        ENABLED  72640    -        ACTIVE   -       -
pl DB_dcl-01 DB_dcl ENABLED 72640 -     ACTIVE   -       -
sd backup-a-01 DB_dcl-01 ENABLED 72640 0     -        -       -
pl DB_dcl-02 DB_dcl ENABLED 72640 -     ACTIVE   -       -
sd jrnalt-b-01 DB_dcl-02 ENABLED 72640 0     -        -       -
sp DB_cpmap DB -      -        -        -        -       -

*


[root@ ~]#

* I have more volumes in my configuration, but they are all fine so I deleted them from the vxprint output.

 

Can somebody help me, to get rid of DB_NBU_MIRROR_0-1, the dc object (vxsnap unprepare not working currently, cause volume is in a snapshot chain) and every entry below DB_dco?

 

Thank you for your help.

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

there might be locks/flags holding the snapshot..

try this:

# vxmend -g my_cluster_resource -r clear all DB

now try to unprepare & delete the plex

 

you can delete the individual objects (plex & subdisk) using

# vxedit -g <diskgroup> -rf rm <object>

but I would recommend to try out unprepare to work to delete DCO... the detached plex can be deleted using vxedit since the snap volume object is deleted anyways...

Gaurav

View solution in original post

1 REPLY 1

Gaurav_S
Moderator
Moderator
   VIP    Certified

there might be locks/flags holding the snapshot..

try this:

# vxmend -g my_cluster_resource -r clear all DB

now try to unprepare & delete the plex

 

you can delete the individual objects (plex & subdisk) using

# vxedit -g <diskgroup> -rf rm <object>

but I would recommend to try out unprepare to work to delete DCO... the detached plex can be deleted using vxedit since the snap volume object is deleted anyways...

Gaurav