3. Creating an HDLM Environment
302
To re-create the volume group on the HDLM device, execute the
vgscan
command as shown in the following example:
# vgscan
Reading all physical volumes. This may take a while...
Found exported volume group "vg01" using metadata type lvm2
8.
Import the volume group.
In the following example, the command imports the
vg01
volume group:
# vgimport vg01
Volume group "vg01" successfully imported
9.
Execute the
pvscan
command to check that the environment has been changed
successfully.
The following shows an example of executing the
pvscan
command:
# pvscan
PV /dev/sda1 VG vg01 lvm2 [468.00 MB / 368.00 MB free]
PV /dev/sda2 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 ]
10. 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
11. If the
/etc/fstab
file was edited (a section was commented out) in step 5,
return the commented out section to its original state.
12. 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
3.23.9 Canceling the md Device Settings
This subsection describes how to migrate an environment where the md devices were
constructed by using HDLM-managed devices to an environment where the md
devices were constructed by using SCSI devices.
Summary of Contents for Dynamic Link Manager
Page 1: ...Hitachi Dynamic Link Manager Software User s Guide for Linux R 3000 3 F04 60 E ...
Page 4: ......
Page 16: ......
Page 154: ...3 Creating an HDLM Environment 130 Figure 3 1 Flow of HDLM Environment Setup ...
Page 162: ...3 Creating an HDLM Environment 138 ...
Page 309: ...3 Creating an HDLM Environment 285 Figure 3 33 Example of Creating an ext2 File System ...
Page 352: ......
Page 362: ...4 HDLM Operation 338 A Fibre Channel switch s zone setting is changed ...
Page 375: ...4 HDLM Operation 351 ...
Page 410: ......
Page 546: ......
Page 549: ...8 Messages 525 HDLM driver filter component HDLM alert driver HDLM management target ...
Page 590: ...8 Messages 566 dd dd Maintenance information hexadecimal number Action None ...
Page 594: ...8 Messages 570 aa aa Name of file where error was detected Action Reinstall an HDLM ...
Page 713: ...8 Messages 689 utility see 7 2 DLMgetras Utility for Collecting HDLM Error Information ...
Page 714: ......
Page 738: ......