beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 330

background image

3. Creating an HDLM Environment

306


Calling ioctl() to re-read partition table.
Syncing disks.

Also perform the above operation for

/dev/sddlmab

.

12. Execute the following command to activate the md device:


# mdadm -As /dev/md0
mdadm: /dev/md0 has been started with 2 drives.

13. 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 sdh1[0] sdi1[1]
5238528 blocks [2/2] [UU]
unused devices:

Make sure that

md0 : active

and the SCSI devices are displayed.

14. If you need to mount the file systems on the md device, mount them.

(2) Migrating to md Devices for which the MULTIPATH Function Is Used

This section describes the procedure for migrating an environment where md devices

were created on an HDLM device to an environment where the md devices were

created on a SCSI device. The example below describes how to migrate the md devices

created on the HDLM device for which the LINEAR function is used to the md devices

created on the SCSI device for which the MULTIPATH function is used.
In this procedure, the device

/dev/md0

on

/dev/sddlmaa1

is migrated to the device

/dev/md0

on

/dev/sdh1

and

/dev/sdo1

. To create the environment shown in

Figure 3-40: Device Configuration When an md Device on an HDLM Device Is

Moved to a SCSI Device (An Environment that Uses the md Device's MULTIPATH

Functionality), carry out the procedure below. To uninstall HDLM, carry out the steps

before the uninstallation.

This manual is related to the following products: