Hitachi Dynamic Link Manager Software Users Guide for Linux

Note that, in step 13 in Migrating to md Devices for which the MULTIPATH
Function Is Not Used on page 3-216, [linear] will be displayed until the
host is restarted. However, there are no operational problems.
Canceling the LUKS Settings
This subsection describes how to migrate LUKS from a HDLM device
environment using LUKS to SCSI devices.
To migrate from /dev/sddlmaa to /dev/sdh:
1. Change the multi-path configuration to a single-path configuration.
2. Check the SCSI device to be migrated from the HDLM device.
Execute the HDLM-configuration definition utility (dlmcfgmgr) with the -v
parameter specified to check the correspondence between the SCSI
device and the HDLM device.
The following shows an example of executing the dlmcfgmgr utility with
the specified-v parameter:
# dlmcfgmgr -v
HDevName Management Device Host Channel Target Lun
/dev/sddlmaa configured /dev/sdh 1 0 0 0
/dev/sddlmab configured /dev/sdj 1 0 0 1
:
:
KAPL10302-I /sbin/dlmcfgmgr completed normally.
#
The HDLM devices are listed in the HDevName column, and the SCSI
devices are listed in the Device column.
3. Execute the following command to check the correspondence between the
UUID and the SCSI device name.
In this command, specify the SCSI device name checked in step 2.
# cryptsetup luksUUID /dev/sdh
050f9901-3ab8-4556-a091-9c6e4a404f09
#
4. In the /etc/crypttab file's second field, change the setting to the UUID
output executed in step 3.
Before:
luks-volume /dev/sddlmaa /etc/cryptpassword
After:
luks-volume UUID="050f9901-3ab8-4556-a091-9c6e4a404f09" /etc/
cryptpassword
Removing HDLM
This subsection describes how to remove HDLM.
Creating an HDLM Environment
3-223
Hitachi Dynamic Link Manager (for Linux®) User Guide