beautypg.com

HP XP P9500 Storage User Manual

Page 158

background image

Perform this step if your host OS uses LUKS. If HDLM manages a SCSI

device that has been configured to use LUKS, the LUKS settings must be

migrated from the SCSI device to an HDLM device.
For details on setting up LUKS, see

Settings for LUKS on page 3-152

.

15

.

If md devices are used, execute the following command to activate them:

# mdadm -A -scan

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

16

.

If md devices are used, execute the following command to make sure that

they have been activated.
In the following example, RAID1 (mirroring) is used:

# cat /proc/mdstat

Personalities : [raid1]

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

5238528 blocks [2/2] [UU]

unused devices:

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

displayed.

17

.

Specify the settings required for using the volume management software.
If you performed the operations described in

Deactivating the Volume

Group on page 3-85

in

Preparations for an Upgrade Installation or Re-

installation of HDLM on page 3-84

, perform the following steps to activate

the volume group:

If you did not perform step 12:

Go to step 18.

If you performed step 12:

Go to step 19.

If you do not use the volume management software, go to step 22.
For details on other settings for the volume management software, see

Settings for LVM2 on page 3-166

.

18

.

Activate the volume group.
In the following example, the logical volume on the HDLM device belongs

to the vg01 volume group:

# vgchange -ay vg01

vgchange -- volume group "vg01" successfully activated

19

.

Mount the logical volume on the HDLM device.
In the following example, the logical volume is /dev/vg01/lvol1 and the

command mounts the volume on /mnt/lvol1:

# mount /dev/vg01/lvol1 /mnt/lvol1

20

.

Specify the settings required for using virtual environments.

3-90

Creating an HDLM Environment

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

This manual is related to the following products: