Deleting a path to an existing LU

Dynamic Link Manager (for Linux®) User Guide

Version
9.0.x
Audience
anonymous
Part Number
MK-92DLM113-64
ft:lastEdition
2025-11-06

To delete a path to an existing LU (HDLM device):

  1. Stop all accesses to the relevant LU.

  2. Use the management program of the storage system to delete a path to the relevant LU.

    For more information on deleting a path, see the manual provided with the storage system.

  3. When you want to delete a path to the LU without restarting the host, go to step 4. When you want to delete a path while restarting the host, go to step 5.

  4. Delete the SCSI device for the path that was deleted in step 2.

    Since the host has not been restarted, the SCSI device for the path that was deleted in step 2 was not deleted. Execute the command for deleting the device shown in Table 1 to manually delete the SCSI device.

  5. Restart the host on which the HDLM is installed.

    If you performed step 4, the host does not have to be restarted. Go to step 6.

  6. Execute the HDLM-configuration definition utility (dlmcfgmgr -v) or the view operation of the dlnkmgr command (dlnkmgr view -drv) (optional).

    Check if the SCSI device name of the HDLM device whose path was deleted in the above step 2 is represented with a hyphen (-).

    The following are examples of executing the command or utility:

    When executing the dlmcfgmgr utility with the -v option:

    # /sbin/dlmcfgmgr -v

    When executing the view operation with the -drv option:

    # /opt/DynamicLinkManager/bin/dlnkmgr view -drv

    Perform this operation if necessary. If it is not necessary to check this, go to step 7.

    If the SCSI device name is not represented with a hyphen (-), to change the SCSI device name to a hyphen, wait until the path health checking has been executed or execute the following dlnkmgr command with the AutoPATH_ID of the HDLM device.

    Example:

    # /opt/DynamicLinkManager/bin/dlnkmgr online -pathid AutoPATH_ID
  7. Execute the dlmcfgmgr utility (dlmcfgmgr -ulogical_device_file_name_of_HDLM_device ) on the relevant HDLM device whose path was deleted in the above step 2 to unregister the HDLM device.

    Path information on the relevant HDLM device is deleted.

    The following is an example of executing the dlmcfgmgr utility:

    # /sbin/dlmcfgmgr -u name-of-logical-device-file-for-HDLM-device

    If you execute the dlmcfgmgr utility (dlmcfgmgr -u) when a path to the HDLM device exists (for example, when you change a multi-path configuration to a single-path configuration), the KAPL10340-E message is output. In this case, take action according to this message and refer to the /var/opt/DynamicLinkManager/log/dlmcfgmgrn.log file (where n is 1 or 2). If the KAPL10362-W message was output to the /var/opt/DynamicLinkManager/log/dlmcfgmgrn.log file, HDLM operations are not affected. Go to step 8.

  8. Refer to the /var/opt/DynamicLinkManager/log/dlmcfgmgr1.log or execute the dlmcfgmgr (dlmcfgmgr -v) to check if the path mapped with the relevant HDLM device is deleted.

    The following is an example of executing the dlmcfgmgr utility:

    # /sbin/dlmcfgmgr -v