Modifying a logical unit mapping Configuring and servicing storage subsystems Creating a quorum disk

This topic provides step-by-step instructions for modifying a logical unit mapping.

Context

The logical unit mapping must be modified, therefore, the logical unit number (LUN) is being changed.

Steps

Perform the following steps to modify the LUN:

  1. Issue the svctask migrateexts command to migrate all the data from the MDisk.
    Notes:
    Notes:
    1. For managed mode MDisks, issue the svctask rmmdisk command to remove the MDisk from the MDisk group.
    2. For image mode MDisks, issue the svctask chmdisk to change the mode of the image mode disk to "unmanaged".
  2. De-configure the mapping on the storage subsystem so that the logical unit is not visible to the SAN Volume Controller.
  3. Issue the svctask includemdisk <MDisk number> command. Where <MDisk number> is the number of the MDisk that you want to modify.
  4. Issue the svctask detectmdisk command to re-scan the fibre-channel network for the managed disk that you want to rediscover. This may take a few minutes.
  5. Issue the svcinfo lsmdisk command to verify that the MDisk has been removed. If the MDisk is still displayed, repeat steps 3 and 4. The MDisk should now have been removed from the list of valid candidates.
  6. Configure the mapping of the logical unit to the new logical unit number.
  7. Issue the svctask detectmdisk command.
  8. Issue the svcinfo lsmdisk command to check that the MDisk candidate(s) now have the correct LUN.
Result

The MDisk candidate(s) now have the correct LUN.

(C) Copyright International Business Machines Corporation 2003, 2004