Using Hdlm In An Luks Environment - Hitachi XP P9500 User Manual

Command suite for linux(r)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

Using HDLM in an LUKS Environment

This subsection describes how to migrate LUKS from a SCSI device
environment using LUKS to HDLM devices.
To migrate from /dev/sdh to /dev/sddlmaa:
1
Check the HDLM device to be migrated from the SCSI 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
/dev/sddlmaa
/dev/sddlmab
KAPL10302-I /sbin/dlmcfgmgr completed normally.
#
HDLM devices are listed in the HDevName column, and SCSI devices are
listed in the Device column.
2
Check the /etc/crypttab file's second field.
.
¢
¢
3
Execute the following command to check the correspondence between the
.
UUID and the device name.
# blkid -t UUID="050f9901-3ab8-4556-a091-9c6e4a404f09" -l -o
device
/dev/sdh
#
¢
¢
Management
configured /dev/sdh
configured /dev/sdj
:
:
If a SCSI device is directly specified, change the SCSI device in the /
etc/crypttab file's second field to the corresponding HDLM device
that was checked in step 1, and then go to step 4.
The following shows an example of editing the /etc/crypttab file's
second field:
Before editing:
luks-volume1 /dev/sdh /etc/cryptpassword1
After editing:
luks-volume1 /dev/sddlmaa /etc/cryptpassword1
If the device name is specified in UUID format, go to step 3.
If you have an HDLM device name as the output, change the UUID to
the HDLM device name in the /etc/crypttab file's second field.
If you have got a SCSI device name as the output, check the output
of step 1 to confirm the HDLM device name corresponding to the SCSI
device name, and change the UUID to the HDLM device name in the /
etc/crypttab file's second field.
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
Device
Host
Channel
1
1
Target
Lun
0
0
0
0
0
1
3-153

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents