Canceling the md device settings, Canceling the md device settings -241, Canceling the md – HP Hitachi Dynamic Link Manager Software User Manual
Page 313
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
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.
When md devices have been constructed by using SCSI devices, if you do not
use the MULTIPATH function for the md devices, perform the procedure
described in
Migrating to md Devices for which the MULTIPATH Function Is
. If you want to use the MULTIPATH function for the
md devices, perform the procedure described in
which the MULTIPATH Function Is Used on page 3-244
Migrating to md Devices for which the MULTIPATH Function Is Not Used
This section describes the procedure for migrating an environment where the
md devices were created on an HDLM device to an environment where the
md devices were created on a SCSI device, by using an example where the
RAID functionality is used for the md devices.
In this procedure, the device /dev/md0 on /dev/sddlmaa1 and /dev/
sddlmab1 is migrated to the device /dev/md0 on /dev/sdh1 and /dev/sdi1.
Use the following procedure to configure the environment shown in
3-39 Device Configuration When an md Device on an HDLM Device Is Moved
Creating an HDLM Environment
3-241
Hitachi Dynamic Link Manager User Guide for Linux
®