Deleting a path to an existing lu -42, Deleting a path to an existing lu – HP Hitachi Dynamic Link Manager Software User Manual

Page 374

Advertising
background image

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

Deleting a Path to an Existing LU

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

4-42

HDLM Operation

Hitachi Dynamic Link Manager User Guide for Linux

®

Advertising
This manual is related to the following products: