beautypg.com

Figure – HP Hitachi Dynamic Link Manager Software User Manual

Page 314

background image

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

Functionality) on page 3-242

, carry out the procedure below.

To remove HDLM, carry out the steps before the removal.

Figure 3-39 Device Configuration When an md Device on an HDLM Device

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

RAID Functionality)

To migrate /dev/md0:

1

.

Stop the host and change the multi-path configuration to a single-path

configuration.

2

.

Start the host.

3

.

Stop all applications that are using the existing md device.

4

.

If necessary, back up the application data residing on the md device.

5

.

If file systems have been mounted on the md device, unmount them.

6

.

Check the status of the md device.
Execute the following command to check the configuration of the md

device:

# cat /proc/mdstat

Personalities : [raid1]

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

5238528 blocks [2/2] [UU]

unused devices:

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

7

.

Execute the following command to deactivate the md device:

# mdadm -Ss /dev/md0

8

.

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

# cat /proc/mdstat

Personalities : [raid1]

3-242

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide for Linux

®

This manual is related to the following products: