Highlighted
Not applicable

Issues deleting LUNs with broken Mirror configuration

We are trying to decommission a SAN that has a broken mirror configuration. The remote mirror Secondary Image has been removed by someone incorrectly, meaning that the Secondary Image is AdminFractured.

This means we cannot delete the LUN as it is still held by the Mirror.

Trying the following gives -

naviseccli -h xxx -User admin -Password xxx -Scope 0 mirror -async -setfeature -off -LUN 7

Async mirror: Removing driver from lu stack failed.   The shadow LU that we were attempting destroy was associated with a mirror.  Remove the mirror before attempting this operation.  (0x71528274)

Basically we cant decommission the storage now because of this.

I've tried looking for an answer with no luck, so does anyone know the following -

- How we could force delete ALL LUNs?

- How we could force Mirrorview off?

- How could we do a complete factory reset/rebuild of the system as we no longer care about the data?

Thanks

Labels (1)
0 Kudos
3 Replies
Highlighted
4 Ruthenium

Re: Issues deleting LUNs with broken Mirror configuration

emp613,

Since the mirror still exists (but the secondary image is orphaned or no longer reachable) you are going to need to first force destroy the mirror.  The command you ran is meant to unload a driver that for whatever reason still persists even after you deleted the mirror which happens on occasion.

emc69313: "CLARiiON: How to delete a secondary mirror using the "force destroy" option or Navisphere CLI."

Note the comment about the potential SP panics so I am obligated to inform you to contact support to work with you as there are a handful of steps that support can perform to minimize the possibility of such.  The caution regarding "force destroy" is noted in the following:

emc47715: "When to "force destroy" a mirror from Navisphere Manager."


Then, try again to delete the source LUN as you did originally as this should also unload the MirrorView driver from it.  Only if you can't delete it after force destroying the mirror, then retry again as noted in the following KB article:


emc120515: "How to remove Mirrorview driver from LUN stack"


0 Kudos
Highlighted
Not applicable

Re: Issues deleting LUNs with broken Mirror configuration

Thanks Christopher

I eventually worked it out, for anyone that is looking the commands to do this using navisecli are -

naviseccli -h xx  -User admin -Password xxx -Scope 0 mirror -async -destroy -name "xxx" -force -o

0 Kudos
Highlighted
4 Ruthenium

Re: Issues deleting LUNs with broken Mirror configuration

Great thanks for the update.  You now get to mark your own answer as the solution. 

0 Kudos