Canceling the settings for lvm2, Canceling the settings for lvm2 -205, For details on how to cancel the lvm settings, see – HP XP P9500 Storage User Manual

Page 273: Canceling the settings

Advertising
background image

Id Name State

----------------------------------

1 domK running

The underlined part indicates the domain name.

2

.

If the guest OS is running, stop it.
For details on how to stop the guest OS, see the OS documentation.

3

.

If necessary, delete the HDLM device from the hardware configuration

file.
If you want to delete the HDLM device (/dev/sddlmac), delete the

following lines:

<disk type='block' device='disk'>

<source dev='/dev/sddlmac'/>

<target dev='hdb' bus='ide'/>

</disk>

4

.

To migrate an environment that uses an HDLM device to an environment

that uses a SCSI device, change the HDLM device registered in the

hardware configuration file to a SCSI device.
The following example shows how to edit the hardware configuration file

when migrating the HDLM device (/dev/sddlmad) to the SCSI device (/
dev/sda):

Before:

<source dev='/dev/sddlmad'/>

After:

<source dev='/dev/sda'/>

For details on which HDLM device correspond to which SCSI device, see

Displaying Corresponding Information About an HDLM Device, SCSI

Device, and LDEV on page 4-13

.

5

.

Execute the following command to enable the settings in the hardware

configuration file.

# virsh define /etc/libvirt/qemu/domK.xml

6

.

Start the guest OS.
For details on how to start the guest OS, see the OS documentation.

Canceling the Settings for LVM2

This section explains how to change from an environment where HDLM

devices are used as LVM physical volumes, to an environment where SCSI

devices are used as LVM physical volumes.

This section provides the procedure for moving a logical volume on an HDLM

device in a multipath configuration to a SCSI device in a single path

configuration when using LVM2.

Creating an HDLM Environment

3-205

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

Advertising
This manual is related to the following products: