Hitachi Dynamic Link Manager Software Users Guide for Linux

When the confirmation message is displayed, the user enters y to
continue, or n to cancel the operation.
# /opt/DynamicLinkManager/bin/dlnkmgr offline -cha -pathid
000001
KAPL01055-I All the paths which pass the specified CHA port
will be changed to the Offline(C) status. Is this OK? [y/n]:y
KAPL01056-I If you are sure that there would be no problem
when all the paths which pass the specified CHA are placed in
the Offline(C) status, enter y. Otherwise, enter n. [y/n]:
KAPL01061-I 2 path(s) were successfully placed Offline(C); 0
path(s) were not. Operation name = offline
#
-pathid AutoPATH_ID
Use this parameter to place a single path offline.
Specify the current AutoPATH_ID of the target path, which is displayed by
using the view operation. For details about the view operation, see
view
(Displays Information) on page 6-31. Leading zeros can be omitted
(000001 and 1 indicate the same AutoPATH_ID); however, when the
target AutoPATH_ID is 000000, enter 000000 or 0 for the parameter
value.
AutoPATH_IDs are re-assigned every time the host is restarted. When you
want to add a new LU without restarting the host, AutoPATH_IDs are re-
assigned to each path of the LU when you execute the dlmcfgmgr utility
for managing the HDLM configuration. Always make sure that you use the
view operation to find the current AutoPATH_ID of the target path, before
executing the offline operation.
-device SCSI-device-name
Use this parameter to place offline a path connected to the specified SCSI
device.
For SCSI-device-name, specify the value of Device displayed by
executing the view operation as follows:
# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
For details on how to execute the view operation and display the SCSI
device name, see
To display LU information on page 6-54 in Parameters
(To display program information) on page 6-33. Only one case-sensitive
parameter value can be specified.
Example
The following shows an example of how to place offline a path whose
SCSI device name is /dev/sde while confirming command operation.
# /opt/DynamicLinkManager/bin/dlnkmgr offline -path -
device /dev/sde
KAPL01052-I The currently selected paths will be changed to
the Offline(C) status. Is this OK? [y/n]:y
KAPL01053-I If you are sure that there would be no problem
when the path is placed in the Offline(C) status, enter y.
Otherwise, enter n. [y/n]:y
KAPL01061-I 1 path(s) were successfully placed Offline(C); 0
6-8
Command Reference
Hitachi Dynamic Link Manager (for Linux®) User Guide