Using hdlm in an md device environment, Using hdlm in an md device environment -158, Using hdlm in an – HP XP P9500 Storage User Manual

Page 226

Advertising
background image

6

.

Edit the configuration file created in step 5.
Edit the /etc/mdadm.conf file to add auto=yes to the ARRAY line:

DEVICE /dev/sddlmaa1 /dev/sddlmab1

ARRAY /dev/md0 level=raid1 num-devices=2

UUID=e39a6b15:32e48a5d:ca05f4db:25bc8af9 auto=yes

7

.

Restart the host.

8

.

Make sure that the md device has been activated.
In the following example, RAID1 (mirroring) is used for the md device:

# cat /proc/mdstat

Personalities : [raid1]

md0 : active raid1 sddlmaa1[0] sddlmab1[1]

5238528 blocks [2/2] [UU]

unused devices: <none>

Make sure that md0 : active and the HDLM devices are displayed.

Using HDLM in an md Device Environment

This subsection describes how to migrate an environment where the md

devices were constructed by using SCSI devices to an environment where the

md devices were constructed by using HDLM-managed devices.

If the MULTIPATH function is not used for md devices, perform the procedure

described in

When the MULTIPATH Function Is Not Being Used for md Devices

on page 3-158

. If the function is used, perform the procedure described in

When the MULTIPATH Function Is Being Used for md Devices on page 3-162

.

When the MULTIPATH Function Is Not Being Used for md Devices

The following explains the procedure to use HDLM in an md device

environment where the MULTIPATH function is not being used. The example

below assumes that the RAID functionality is being used for md devices.

In this procedure, the device /dev/md0 on /dev/sdh1 and /dev/sdi1 is

migrated to the device /dev/md0 on /dev/sddlmaa1 and /dev/sddlmab1. Use

the following procedure to configure the environment shown in

Figure 3-26

Device Configuration Where an md Device on a SCSI Device Is Migrated to an

HDLM Device (An Environment that Uses the md Device's RAID Functionality)

on page 3-159

.

3-158

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide (for Linux(R))

Advertising
This manual is related to the following products: