beautypg.com

Deactivating the md devices -85, Deactivating the volume group -85 – HP XP P9500 Storage User Manual

Page 153

background image

For details on how to re-install HDLM, see

Performing a Re-installation of

HDLM on page 3-86

. For details on how to upgrade-install HDLM, see

Performing an Upgrade Installation of HDLM on page 3-91

.

Operations Required for Devices to Be Managed by HDLM

Before performing an upgrade installation or re-installation of HDLM, you

must unmount the HDLM devices that correspond to HDLM-managed devices,

and then back up the HDLM-managed devices.

1

.

Terminate the processes of all applications that access the disks managed

by HDLM.

2

.

Unmount the HDLM devices.
If HDLM-managed devices have been mounted by specifying HDLM

devices, unmount them.

3

.

Back up the HDLM-managed disks (for example, to tape).
Perform this operation if necessary.

Deactivating the md Devices

You must deactivate any md devices that are being used before re-installing

or upgrading HDLM.

1

.

Execute the following command to deactivate the md devices:

# mdadm -S --scan

2

.

Execute the following command to make sure that the md devices have

been deactivated. In the following example, RAID1 (mirroring) is used:

# cat /proc/mdstat

Personalities : [raid1]

unused devices:

Make sure that mdx : active is not displayed.

Deactivating the Volume Group

If you are using a logical volume on an HDLM device, you must deactivate the

volume group before re-installing or upgrading HDLM.

1

.

Unmount the logical volume on the HDLM device.
In the following example, the logical volume subject to the move has

been mounted on /mnt/lvol1:

# umount /mnt/lvol1

2

.

Deactivate the volume group.
In the following example, the logical volume subject to the move belongs

to the vg01 volume group:

# vgchange -an vg01

Creating an HDLM Environment

3-85

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

This manual is related to the following products: