Settings for lvm2, Notes on using lvm2, Settings for lvm2 -171 – HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 243: Notes on using lvm2 -171, Settings for

Advertising
background image

Note that, in step 17 in

When the MULTIPATH Function Is Not Being Used

for md Devices on page 3-163

, [multipath] will be displayed until the

host is restarted. However, there are no operational problems.

Settings for LVM2

This section describes the procedure for setting the following items in an

LVM2 environment:

When using an HDLM device to create a new logical volume

When moving a logical volume created on a SCSI device in a single-path

environment, to an HDLM device

When using HDLM in an LVM2 environment, use the HDLM device as an LVM2

physical volume.

Notes on Using LVM2

The following are notes on using LVM2:

If a logical volume on an HDLM device (LVM2) is used as the boot disk, a

SCSI device cannot be used as an LVM2 physical volume.

To use a SCSI device and an HDLM device concurrently as LVM2 physical

volumes, edit the /etc/lvm/lvm.conf file so that SCSI devices, which are

managed by HDLM, are not recognized by LVM2.

¢

Red Hat Enterprise Linux6 or Oracle Unbreakable Enterprise Kernel6:
Specify a permanent name, so that the order of the disks that can be

viewed from LVM does not change even if the order of the disks

recognized by the OS changes.

filter = [ "a|sddlm[a-p][a-p].*|","a|

scsi-3600605b005d7a320196f1f53484dfb20|","r|/dev/sd|" ]

Use the udevadm command to check the value to be specified.

# udevadm info -q symlink -n /dev/sda2

block/8:0 disk/by-id/scsi-3600605b005d7a320196f1f53484dfb20

disk/by-path/information-generated-based-on-the-disk-location

disk/by-uuid/information-specific-to-the-disk disk/by-id/wwn-

information-specific-to-the-disk

Output 3600605b005d7a320196f1f53484dfb20 is sda2 and a

supporting by-id name.

¢

OSs other than Red Hat Enterprise Linux6 and Oracle Unbreakable

Enterprise Kernel6:
The following shows an example of settings when the SCSI device

(/dev/sda) and the HDLM device are used together as the physical

volume for LVM2.

filter = [ "a|sddlm[a-p][a-p].*|", "a|/dev/sda[1-9].*|",

"r|/dev/sd|" ]

The following shows an editing example when both a SCSI device (/dev/
sda) and an HDLM device are used as LVM2 physical volumes.

Creating an HDLM Environment

3-171

Hitachi Dynamic Link Manager (for Linux®) User Guide

Advertising
This manual is related to the following products: