HP Hitachi Dynamic Link Manager Software User Manual
Page 383
![background image](/manuals/398099/383/background.png)
# /bin/cat /etc/opt/DynamicLinkManager/dlmchname.conf
3585011299 0090 sddlmad
3585011299 0091 sddlmac
3585011299 0092 sddlmaa
To change the name of an HDLM device used as a boot disk, go to step 5.
4
.
Stop access to the HDLM device whose name is to be changed.
To stop access to the HDLM device, perform the following operations:
¢
Unmount the HDLM device if the HDLM device is mounted.
¢
Deactivate the volume group if the HDLM device is used in an LVM.
¢
Stop applications that are using the HDLM device.
To prevent I/Os from causing failures during HDLM device name
replacement, execute the dlmcfgmgr utility (dlmcfgmgr -o) so that the
HDLM device is not managed.
If you execute the dlmcfgmgr utility (dlmcfgmgr -o), execute the
dlmcfgmgr utility (dlmcfgmgr -i) so that the HDLM device is managed
again after the dlmchname utility.
5
.
Execute the dlmchname utility.
To change the name of an HDLM device that is a member of an LVM
volume group, execute the dlmchname utility and then the vgscan
command.
To change the name of an HDLM device that is not used as a boot disk
Execute the dlmchname utility as follows to change the HDLM device
name.
# /opt/DynamicLinkManager/bin/dlmchname
To change the name of an HDLM device that is used as a boot disk
Execute the dlmchname utility with the -f parameter.
# /opt/DynamicLinkManager/bin/dlmchname -f
To change the name of an HDLM device that is not used as a boot disk, go
to step 8.
6
.
Edit the setting files in which the HDLM device name is specified.
When changing the name of an HDLM device that is used as a boot disk,
check and edit the /etc/fstab file.
7
.
Reboot the host.
When changing the name of an HDLM device that is used as a boot disk,
you must reboot the host.
# shutdown -r now
8
.
Check that the HDLM device name has been changed in the current HDLM
device configuration information.
Execute the view operation of the HDLM command. In the execution
results, check that the HDLM device name has been changed.
An execution example is as follows:
# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
Product : AMS
SerialNumber : 85011299
LUs : 3
HDLM Operation
4-51
Hitachi Dynamic Link Manager User Guide for Linux
®