storage subsystem from the Enhanced Global Mirror Group. Removing a logical drive disassociates the
mirror repositories from the affected logical drives on both of the local and remote storage subsystems.
You can then either delete the repository logical drive or you can keep the repository logical drive for
later use as a repository logical drive for a different configuration. If you choose to keep the repository
logical drive, you can use it as the principal repository logical drive for another Enhanced Global
Mirrored Pair or to increase the capacity of another repository logical drive.
The logical drive on the primary Enhanced Global Mirror Group is removed first to halt any in-progress
synchronization I/O operations. If the remote storage subsystem is not accessible because of an
inter-storage subsystem communication problem, you can force the removal operation so that only the
logical drive on the local Enhanced Global Mirror Group is removed. The corresponding logical drive on
the remote storage subsystem remains in the remote Enhanced Global Mirror Group.
Removing the link between a primary logical drive and a secondary logical drive does not affect any of
the existing data on either logical drive. The link between the logical drives is removed, but the primary
logical drive still continues normal I/O operations. Later, you can establish the mirror relationship
between the two logical drives and resume normal mirror operations. You can remove the mirror
relationship for one or several remote mirrored pairs with this command.
This example shows the remove logicalDrive enhancedGlobalMirrorGroup command:
c:\...\smX\client>smcli 123.45.67.88 123.45.67.89
-c "remove logicalDrive [\"Jan_04_Account\"] enhancedGlobalMirrorGroup=\"amg_001\"
deleteRepositoryMembers=TRUE;"
The command in this example removes a logical drive with the name Jan_04_Accountfrom the Enhanced
Global Mirror Group with the name amg_001. Because the deleteRepositoryMembers is set to TRUE, the
repository logical drive is deleted. You must enclose the logical drive name in double quotation marks
inside square brackets. Also, you must enclose the Enhanced Global Mirror Group name in double
quotation marks.
This example shows how to use the command in a script file:
remove logicalDrive ["Jan_04_Account"] enhancedGlobalMirrorGroup="amg_001"
deleteRepositoryMembers=TRUE;
You must run this command on the local storage subsystem to remove the primary logical drive.
If the logical drive is not successfully removed from both sides of the Enhanced Global Mirror Group, the
mirror logical drive that was not removed becomes an orphan. Orphans are detected when
communications between the controller on the local storage subsystem and the corresponding controller
on the remote storage subsystem is restored. At that time the two sides of the mirror configuration
reconcile mirror parameters. Some synchronization operations function normally when a Enhanced
Global Mirror Group contains orphaned members, but some configuration operations, such as role
change, cannot be performed when the Enhanced Global Mirror Group contains orphaned members. To
avoid this situation, remove the incomplete mirror logical drives by running this command:
remove enhancedGlobalMirrorGroup ["enhancedGlobalMirrorGroupName"]
incompleteMirror logicalDrive="logical driveName"
Deleting an Enhanced Global Mirror Group
If you need to remove an Enhanced Global Mirror Group for any reason, you can remove it using this
command:
delete enhancedGlobalMirrorGroup ["enhancedGlobalMirrorGroupName"]
7-14
IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Need help?
Do you have a question about the System Storage DS3000 and is the answer not in the manual?