In the following example, the logical volume subject to the move has
been mounted on /mnt/lvol1:
# umount /mnt/lvol1
5
Deactivate the volume group.
.
In the following example, the logical volume to be moved belongs to the
vg01 volume group:
# vgchange -an vg01
0 logical volume(s) in volume group "vg01" now active
6
Export the volume group.
.
In the following example, the command exports information about the
vg01 volume group:
# vgexport vg01
Volume group "vg01" successfully exported
7
Edit the /etc/lvm/lvm.conf file.
.
Edit the device section in the file as shown below to disable the SCSI
device configuration and enable the HDLM device configuration:
Adding and deleting filter entry information
¢
Add the following line and comment out all other filter entry
information:
filter = [ "a|sddlm[a-p][a-p].*|", "r|/dev/sd|" ]
Adding types entry information
¢
Add the following line:
types = [ "sddlmfdrv", 16 ]
Make sure that types=[ "fd", 16 ] was commented out.
Figure 3-31 Example of Editing the /etc/lvm/lvm.conf File on page 3-174
shows an example of editing the file when the OS is SUSE LINUX
Enterprise Server 9. The shaded section shows the portion to be edited.
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
3-173