Hitachi Dynamic Link Manager Software Users Guide for Linux

# /sbin/blkid /dev/sddlmaa5
/dev/sddlmaa5: LABEL="/var"
UUID="b7eed249-7452-4a33-92a3-123bcd38f9a3"
SEC_TYPE="ext3" TYPE="ext2"
#
Note
Depending on the environment you are using, you might not be able
to obtain information even if you specify a swap device for blkid.
Specify the LABEL or UUID that you recorded during migration to the
HDLM boot disk environment.
If you did not record the LABEL or UUID, disable the swap and then
recreate the swap with LABEL specified. After the swap is created,
make sure to enable the swap.
The following example shows the edited settings when a swap is used:
# /sbin/swapoff /dev/{HDLM-device-name}
# /sbin/mkswap -L {LABEL} {HDLM-device-name}
# /sbin/swapon /dev/{HDLM-device-name}
5. Back up the /etc/fstab file.
6. Edit the /etc/fstab file.
Change the mount point of HDLM-managed devices from the HDLM device
to the SCSI device. Mark the existing HDLM device specification as a
comment by placing a hash mark (#) at the beginning of each line. Then,
specify the SCSI device name (in the form of LABEL or UUID) that was
checked in step
4. on page 3-226.
The following shows an example of editing the /etc/fstab file.
:
#/dev/sddlmaa2 / ext2 defaults 1 1
LABEL=/ / ext2 defaults 1 1
#/dev/sddlmaa1 /boot ext2 defaults 1 2
LABEL=/boot /boot ext2 defaults 1 2
:
7. Create an initial RAM disk image file for SCSI.
From the following, perform the procedure that corresponds to the host
OS.
For details on OS commands, see the documentation for the mkinitrd
command or the dracut command.
¢
Red Hat Enterprise Linux 6 or Oracle Unbreakable Enterprise Kernel6:
a. Check the hdlm_dracut specification that is defined in /etc/opt/
DynamicLinkManager/hdlm.conf. If hdlm_dracut=y is specified,
change it to hdlm_dracut=n.
b. Execute the dracut command.
The following shows an example of executing the command:
# dracut /boot/initramfs-{kernel-version}.img {kernel-
Creating an HDLM Environment
3-227
Hitachi Dynamic Link Manager (for Linux®) User Guide