Unsolved

This post is more than 5 years old

1 Rookie

 • 

34 Posts

1998

March 14th, 2008 04:00

Mirror View Problems

I removed a secondary LUN from a remote mirror but I need to get it back in to the remote mirror but when I do this I am told that there isn't a LUN the correct size on the secondary system to do this even though the LUN on the secondary system was in the remote mirror before.

Both the primary and secondary LUN are both the same size and are mounted in storage groups in there respected systems.

Can anyone tell me how I can get the LUN in the secondary system back in to the remote mirror?

2 Intern

 • 

360 Posts

March 14th, 2008 07:00

Hi,

Please find the following for the solution:

The following is a Primus(R) eServer solution:

ID: emc120515
Domain: EMC1
Solution Class: 3.X Compatibility

Goal Creating a remote mirror when LUN controlled by MirrorView/A

Goal How to remove MirrorView driver from LUN stack

Goal How to remove Mirrorview/A driver from LUN stack

Fact Product : CLARiiON CX-Series

Fact EMC SW : Navisphere Manager

Fact EMC SW: MirrorView Asynchronous (MV/A)

Symptom Unable to create a remote mirror

Symptom
Unable to add secondary to the mirror


Symptom LUN to be used for mirror is not available under "primary storage system LUN to be mirrored."

Cause
LUN cannot be added as a mirror image possibly due to one of the following reasons:
¿ The maximum number of remote mirrors is already created on the system.
¿ No bound LUNs are on this system.
¿ There are bound LUNs, but all LUNs are already participating in a MV/A mirror, MV/S mirror, or Snap Clones Clone Group .
¿ The desired LUN may already be participating in an existing MV/A mirror, MV/S mirror, or Snap Clones Clone Group.
¿ No "valid" LUNs are bound (hot spares, private LUNs, LUNs in user-defined Storage Groups during an "add secondary" operation).
¿ MirrorView/A is not enabled on the storage system.
¿ The desired LUN may have MirrorView/A turned on, but no mirror was created.
¿ The primary mirror LUN is on an SP that does not have an active link to the secondary array. Check the MirrorView connections.
¿ The drive that is intended as a mirror secondary is in a Storage Group.


Fix
If MirrorView/A is enabled, but you cannot create mirror or cannot add mirror secondary, Navisphere will not display the LUN as a potential mirror image. Execute the following command to determine whether the primary or secondary LUN has the MirrorView/A driver on the LUN stack:

Please contact Support for the command to view the LUN stack

The output from the command will vary depending on which layered applications are on the target LUN's stack. If MirrorView/A is turned on, the output will look like this:

Listed Driver: K10RollBackAdmin
K10FarAdmin <---- This is the MirrorView Async driver.
K10SnapCopyAdmin

"K10FarAdmin" indicates the MirrorView/A feature. "K10RollBackAdmin" and "K10SnapCopyAdmin" are required for proper MirrorView/A operation.

The following command will list all the mirrors and their primary LUNs. If a mirror does not have a secondary image, the resulting output will indicate "No Secondary Images" for that mirror.

java -jar navicli.jar -address -user -password mirror -async -list -lun

Execute the following command to remove the MirrorView/A or MirrorView/S driver from the target LUN's stack:
java -jar navicli.jar -address -user -password -scope 0 mirror -async|-sync -setfeature -off -lun or
naviseccli -h -user -password -scope 0 mirror -async|-sync -setfeature - off -lun
Verify that the MirrorView/A driver is no longer on the LUN's stack by executing:
navicli -h getlun -xxxxxxx -stack
"K10FarAdmin" should no longer appear. "K10RollBackAdmin" and "K10SnapCopyAdmin" should also be absent from the output unless some other layered application is still using the LUN.

xxxxxx = password - contact Support for correct command


Dennis

Message was edited by: kelleg

Message was edited by: kelleg

1 Rookie

 • 

34 Posts

March 14th, 2008 08:00

Thanks Dennis for the information. This very useful.

I have managed to resolve the problem though as the LUN I wanted to use was in a storage group so once I removed it from the storage group I was able to start mirroring.

I will keep your notes though as it is always good to know the commandline method of how to do these things.

0 events found

No Events found!

Top