Deleting 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 an HDLM device that corresponds to an existing LU:

  1. Stop all accesses to the relevant LU.

  2. Use the management program of the storage system to cancel all of the path allocations (that is, to delete the paths) to the relevant LU from ports of the storage system.

    For details on canceling path allocations (deleting paths), see the manual provided with the storage system.

  3. If you want to delete an HDLM device that corresponds to the LU without restarting the host, perform steps 4 and 5. If you want to delete the LU and restart the host, go to step 6.

  4. Delete the SCSI device for the path whose allocation was cancelled in step 2.

    Since the host has not been restarted, the SCSI device for the path whose allocation was cancelled in step 2 was not deleted. To delete the SCSI device, you need to manually execute the command for deleting the device shown in Table 1.

  5. Execute the HDLM-configuration definition utility (dlmcfgmgr -r).

    Apply, to the HDLM device, the information about the SCSI device that was deleted in step 4.

    The following is an example of executing the dlmcfgmgr utility:

    # /sbin/dlmcfgmgr -r
  6. Restart the host on which HDLM is installed.

    If you performed steps 4 and 5, you do not need to restart the host. Go to step 7.

  7. Execute the dlmcfgmgr utility (dlmcfgmgr -v) or the view operation (dlnkmgr view -drv).

    Make sure that all the SCSI device names corresponding to the LU for which path allocations were cancelled in step 2 are represented with a hyphen (-) (optional).

    The following is an example of executing the dlmcfgmgr utility with the -v option:

    # /sbin/dlmcfgmgr -v

    The following is an example of executing the view operation with the -drv option:

    # /opt/DynamicLinkManager/bin/dlnkmgr view -drv
  8. Execute the dlmcfgmgr utility (dlmcfgmgr -ulogical_device_file_name_of_HDLM_device ) on all the HDLM devices corresponding to the LU for which path allocations were cancelled in step 2 to unregister the HDLM devices.

    Path information on the relevant HDLM device is deleted.

    The following is an example of executing the dlmcfgmgr utility:

    # /sbin/dlmcfgmgr -u logical_device_file_name_of_HDLM_device
  9. Check /var/opt/DynamicLinkManager/log/dlmcfgmgr1.log or execute the dlmcfgmgr utility (dlmcfgmgr -v) to make sure that the HDLM device that corresponds to the deleted LU was deleted.

    The following is an example of executing the dlmcfgmgr utility:

    # /sbin/dlmcfgmgr -v