Md devices, perform the procedure described in, Migrating to md devices for – HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 291

Advertising
background image

Disk /dev/sddlmaa: 5368 MB, 5368709120 bytes

166 heads, 62 sectors/track, 1018 cylinders

Units = cylinders of 10292 * 512 = 5269504 bytes

Device Boot Start End Blocks Id System

/dev/sddlmaa1 1 1018 5238597 fd Linux raid

autodetect

Command (m for help): w

The partition table has been altered!

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

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.

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-26 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) on page 3-220

, carry out the procedure below. To

remove HDLM, carry out the steps before the removal.

Creating an HDLM Environment

3-219

Hitachi Dynamic Link Manager (for Linux®) User Guide

Advertising
This manual is related to the following products: