HP Hitachi Dynamic Link Manager Software User Manual

Page 267

Advertising
background image

Delete the ARRAY line that includes the same name as the md device

name (md0) created in step 8. In the following example, the underlined

lines are to be deleted.

# cat /etc/mdadm.conf

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

When the MULTIPATH Function Is Not Being

Used for md Devices on page 3-188

.

Creating an HDLM Environment

3-195

Hitachi Dynamic Link Manager User Guide for Linux

®

Advertising
This manual is related to the following products: