Hitachi Dynamic Link Manager Software Users Guide for Linux

2. Check the HDLM devices specified in the /etc/fstab file on the
replication-source host.
The following is an example of the /etc/fstab file in which HDLM devices
are specified:
:
/dev/sddlmaa1 /boot ext3 defaults 1 2
:
/dev/sddlmaa3 swap swap defaults 0 0
:
3. Verify that LABEL shows the HDLM devices on the replication-source host.
An example of executing the command is as follows:
# /sbin/blkid -c /dev/null /dev/sddlmaa1
/dev/sddlmaa1: LABEL="/boot" TYPE="ext3"
Verify that LABEL shows /boot.
The following is an output example when the LABEL setting is not
configured:
When the partition type is not swap and the file system type is ext2 or
ext3:
# /sbin/blkid -c /dev/null /dev/sddlmaa1
/dev/sddlmaa1: SEC_TYPE="ext2" TYPE="ext3"
When the partition type is swap:
# /sbin/blkid -c /dev/null /dev/sddlmaa3
/dev/sddlmaa3: TYPE="swap"
When the LABEL setting is not configured, use the method below to
configure the LABEL setting. Be sure to specify different names for LABEL
for the names of other block devices. For this method, the tune2fs
command is used. However, note that the e2label command also can be
used to perform this setting.
When the partition type is not swap and the file system type is ext2 or
ext3:
a. Execute the tune2fs command to configure LABEL setting.
An example of executing the command is as follows:
# /sbin/tune2fs -L /boot /dev/sddlmaa1
tune2fs 1.39 (29-May-2006)
b. Execute the blkid command to verify that the LABEL setting is
configured.
An example of executing the command is as follows:
# /sbin/blkid -c /dev/null /dev/sddlmaa1
/dev/sddlmaa1: SEC_TYPE="ext2" TYPE="ext3" LABEL="/boot"
When the partition type is swap:
a. Execute the swapoff command to disable a swap device.
An example of executing the command is as follows:
# /sbin/swapoff /dev/sddlmaa3
b. Execute the mkswap command to re-create the swap device and
apply the LABEL setting to the device.
3-128
Creating an HDLM Environment
Hitachi Dynamic Link Manager (for Linux®) User Guide