HP Hitachi Dynamic Link Manager Software User Manual
Page 319
# cat /etc/mdadm.conf
DEVICE /dev/sddlmaa1
ARRAY /dev/md0 level=linear num-devices=1 UUID=426a9f1c:
9cfa6310:6aa9a80b:11ea2102 auto=yes
ARRAY /dev/md0 level=multipath num-devices=2
UUID=8db667ff:e7472a25:3a84b801:025a6a57
9
.
Edit the /etc/mdadm.conf file to add auto=yes to the ARRAY line in the
configuration file:
DEVICE /dev/sdo1 /dev/sdh1
ARRAY ARRAY /dev/md0 level=multipath num-devices=2
UUID=8db667ff:e7472a25:3a84b801:025a6a57 auto=yes
10
.
On the DEVICE line of the configuration file, change an HDLM device name
to a SCSI device name.
Based on the correspondence between the HDLM devices and SCSI
devices checked in step 5, change the HDLM device names on the DEVICE
line to the SCSI device names.
Before the correction:
DEVICE /dev/sddlmaa1
After the correction:
DEVICE /dev/sdh1 /dev/sdo1
Specify all SCSI devices that correspond to HDLM devices.
When you edit the DEVICE line, change only the device names. Do not
change the partition numbers.
11
.
Execute the following command to deactivate the md device:
# mdadm -Ss /dev/md0
12
.
Make sure that the md device has been deactivated.
In the following example, the MULTIPATH function is used for the md
device:
# cat /proc/mdstat
Personalities : [linear]
#
[multipath]
unused devices:
Make sure that md0 : active is not displayed.
#
Although [linear] will be displayed until the host is restarted, there
are no operational problems.
13
.
Activate the md device.
Perform steps 11 to 14 in
Migrating to md Devices for which the
MULTIPATH Function Is Not Used on page 3-241
Creating an HDLM Environment
3-247
Hitachi Dynamic Link Manager User Guide for Linux
®