DEVICE /dev/sdo1 /dev/sdh1
ARRAY /dev/md0 level=multipath num-devices=2 UUID=6b2ec21b:
06d0f50b:bbf04d32:1e00b09a auto=yes
ARRAY /dev/md0 level=linear num-devices=1 UUID=426a9f1c:
9cfa6310:6aa9a80b:11ea2102
10
Edit the /etc/mdadm.conf file to add auto=yes to the ARRAY line in the
.
configuration file:
DEVICE /dev/sdo1 /dev/sdh1
ARRAY /dev/md0 level=linear num-devices=1 UUID=426a9f1c:
9cfa6310:6aa9a80b:11ea2102 auto=yes
11
On the DEVICE line of the configuration file, change a SCSI device name
.
to an HDLM device name.
Based on the correspondence between the HDLM devices and SCSI
devices checked in step 6, change the SCSI device names on the DEVICE
line to the HDLM device names.
Before the correction:
DEVICE /dev/sdo1 /dev/sdh1
After the correction:
DEVICE /dev/sddlmaa1
When you edit the DEVICE line, change only the device names. Do not
change the partition numbers.
12
Execute the following command to deactivate the md device:
.
# mdadm -Ss /dev/md0
13
Make sure that the md device has been deactivated.
.
In the following example, the LINEAR function is used for the md device:
# cat /proc/mdstat
Personalities : [linear] [multipath]
unused devices: <none>
Make sure that md0 : active is not displayed.
#
Although [multipath] will be displayed until the host is restarted,
there are no operational problems.
14
Activate the md device and add a path to the LU.
.
Perform steps 15 to 19 in
Used for md Devices on page
Note that, in step 17 in
for md Devices on page
host is restarted. However, there are no operational problems.
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
#
When the MULTIPATH Function Is Not Being
3-158.
When the MULTIPATH Function Is Not Being Used
3-158, [multipath] will be displayed until the
3-165