beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 333

background image

3. Creating an HDLM Environment

309

# mdadm --detail --scan | grep -w "/dev/md0" >> /etc/
mdadm.conf

The following example shows the contents of the created configuration file:
The underlined part indicates the lines added in this step.


# 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

For details about the contents of the configuration file, see the Linux

documentation or use the

man

command.

8.

If the configuration file

/etc/mdadm.conf

has been recreated, delete the

unnecessary

ARRAY

line in that configuration file.

Delete the

ARRAY

line that includes the same name as the md device name (

md0

)

created in step 7. In the following example, the underlined lines are to be deleted.


# 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:

This manual is related to the following products: