Using Hdlm In An Md Device Environment - Hitachi XP P9500 User Manual

Command suite for linux(r)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

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]
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
on page
When the MULTIPATH Function Is Being Used for md Devices on page
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
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-158
5238528 blocks [2/2] [UU]
When the MULTIPATH Function Is Not Being Used for md Devices
3-158. If the function is used, perform the procedure described in
3-159.
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
3-162.
Figure 3-26

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents