Hitachi Dynamic Link Manager Software Users Guide for Linux

# /sbin/blkid -c /dev/null /dev/sddlmaa3
/dev/sddlmaa3: TYPE="swap"
When the UUID setting is not configured, use the method below to
configure the UUID setting.
When the partition type is not swap and the file system type is ext4:
a. Execute the tune2fs command to configure the UUID setting.
An example of executing the command is as follows:
# /sbin/tune2fs -U `/usr/bin/uuidgen` /dev/sddlmaa1
tune2fs 1.39 (29-May-2006)
b. Execute the blkid command to verify that the UUID setting is
configured.
An example of executing the command is as follows:
# /sbin/blkid -c /dev/null /dev/sddlmaa1
/dev/sddlmaa1: UUID="9cc2f846-cb45-4506-927b-a3c1e3f7b8a2"
TYPE="ext4"
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 UUID setting to the device.
An example of executing the command is as follows:
# /sbin/mkswap -U `/usr/bin/uuidgen` /dev/sddlmaa3
mkswap: /dev/sddlmaa3: warning: don't erase bootbits
sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 2097148 KiB
no label, UUID=ae3d45f6-202e-48c5-9050-c04f172a95fe
c. Execute the swapon command to enable the swap device.
An example of executing the command is as follows:
# /sbin/swapon /dev/sddlmaa3
d. Execute the blkid command to verify that the UUID setting is
applied.
An example of executing the command is as follows:
# /sbin/blkid -c /dev/null /dev/sddlmaa3
/dev/sddlmaa3: UUID="ae3d45f6-202e-48c5-9050-c04f172a95fe"
TYPE="swap"
4. Edit the /etc/fstab file on the replication-source host.
An example of editing the /etc/fstab file is shown below.
(Before change)
:
/dev/sddlmaa1 /boot ext4 defaults 1 2
:
/dev/sddlmaa3 swap swap defaults 0 0
:
(After change)
3-134
Creating an HDLM Environment
Hitachi Dynamic Link Manager (for Linux®) User Guide