Hitachi Dynamic Link Manager Software Users Guide for Linux

change the HDLM device name. For details about the dlmchname utility, see
Chapter 7, Utility Reference on page 7-1.
1. Create a device name replacement definition file based on the current
HDLM device configuration information. When the dlmchname utility is
executed with the -o parameter, a device name replacement definition
file (/etc/opt/DynamicLinkManager/dlmchname.conf) is created based
on the current HDLM device configuration information.
# /opt/DynamicLinkManager/bin/dlmchname -o
2. Check the current HDLM device configuration information, and then
identify the HDLM device name to be changed.
Execute the view operation of the HDLM command. In the execution
results, check the correspondence between the LUs and HDLM devices,
and then identify the HDLM device name to be changed.
An execution example is as follows:
# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
Product : AMS
SerialNumber : 85011299
LUs : 3
iLU HDevName Device PathID Status
0090 sddlmab /dev/sda 000004 Online
/dev/sdd 000005 Online
/dev/sdj 000008 Online
/dev/sdg 000009 Online
0091 sddlmac /dev/sdb 000006 Online
/dev/sde 000007 Online
/dev/sdh 000010 Online
/dev/sdk 000011 Online
0092 sddlmaa /dev/sdc 000000 Online
/dev/sdf 000001 Online
/dev/sdi 000002 Online
/dev/sdl 000003 Online
KAPL01001-I The HDLM command completed normally. Operation name
= view, completion time = yyyy/mm/dd hh:mm:ss
Note that LUs that are not managed by HDLM are not output. Therefore,
configure the setting so that LUs are managed by HDLM before the check.
If you can identify the correspondence between LUs and HDLM devices,
edit the device name replacement definition file in step 3.
3. Edit the device name replacement definition file.
Change HDLM device names specified in the device name replacement
definition file (/etc/opt/DynamicLinkManager/dlmchname.conf) by using
an editor such as vi.
In the following example, the name of the HDLM device whose the serial
number is 85011299 and whose iLU is 0090 was identified as sddlmab in
step 2 and is then changed to sddlmad.
(Before change)
# /bin/cat /etc/opt/DynamicLinkManager/dlmchname.conf
3585011299 0090 sddlmab
3585011299 0091 sddlmac
3585011299 0092 sddlmaa
(After change)
HDLM Operation
4-71
Hitachi Dynamic Link Manager (for Linux®) User Guide