HP Hitachi Dynamic Link Manager Software User Manual
Page 281
3. Creating an HDLM Environment
257
9.
Import the volume group.
In the following example, the command imports the
vg01
volume group:
# vgimport vg01
Volume group "vg01" successfully imported
10. Execute the
pvscan
command to check that the environment has been changed
successfully.
Execute the following command to make sure that the information about the
physical volume for the target logical volume has been changed to the information
about the HDLM device:
# pvscan
PV /dev/sddlmad1 VG vg01 lvm2 [468.00 MB / 368.00 MB
free]
PV /dev/sddlmad2 VG vg01 lvm2 [548.00 MB / 548.00 MB
free]
Total: 2 [1016.00 MB] / in use: 2 [1016.00 MB] / in no VG:
0 [0 ]
11. Activate the volume group.
In the following example, the logical volume subject to the move belongs to the
vg01
volume group:
# vgchange -ay vg01
1 logical volume(s) in volume group "vg01" now active
12. Add a path to the LU.
Add a path to an existing LU by carrying out the procedure described in
(3) Adding a Path to an Existing LU in 4.6.4 Changing the HDLM Device
Configuration.
13. Mount the logical volume that was moved.
In the following example, the logical volume that was moved is
/dev/vg01/
lvol1
and the command mounts the volume on
/mnt/lvol1
:
# mount /dev/vg01/lvol1 /mnt/lvol1