Hitachi Dynamic Link Manager Software Users Guide for Linux

4. Execute the HDLM-configuration definition utility (dlmcfgmgr -r).
Based on the SCSI device created in step 3, the path configured in step 1
is added as a path for the HDLM device.
The following is an example of executing the dlmcfgmgr utility:
# /sbin/dlmcfgmgr -r
5. Restart the host on which the HDLM is installed.
If you performed step 3 and step 4, the host does not have to be
restarted. Go to step 6.
While restarting, the additional path configured in the above step 1 is
automatically added as a path to the relevant HDLM device.
6. Refer to /var/opt/DynamicLinkManager/log/dlmcfgmgr1.log or
execute the dlmcfgmgr utility (dlmcfgmgr -v) to check if the number of
paths of the relevant HDLM device has increased.
The following is an example of executing the dlmcfgmgr utility:
# /sbin/dlmcfgmgr -v
Deleting an Existing LU
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 4-3 Adding or Deleting a SCSI Device on page
4-59.
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.
4-62
HDLM Operation
Hitachi Dynamic Link Manager (for Linux®) User Guide