Hitachi Dynamic Link Manager Software Users Guide for Linux

An example of executing the command is as follows:
# /sbin/mkswap -L SWAP-sda3 /dev/sddlmaa3
Setting up swapspace version 1, size = 4095996 KiB
LABEL=SWAP-sda3, no uuid
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 LABEL setting is
applied.
An example of executing the command is as follows:
# /sbin/blkid -c /dev/null /dev/sddlmaa3
/dev/sddlmaa3: TYPE="swap" LABEL="SWAP-sda3"
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 ext3 defaults 1 2
:
/dev/sddlmaa3 swap swap defaults 0 0
:
(After change)
:
#/dev/sddlmaa1 /boot ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
:
#/dev/sddlmaa3 swap swap defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0
0
:
a. Copy the lines for HDLM devices.
b. Comment out the copy-source lines by placing a hash mark (#) at the
beginning of each of the lines.
c. Change the HDLM devices in the copied data to the format used for
LABEL.
5. Prepare for replication on the replication-source host.
For Compute Systems Manager:
From the replication-source host, access the Compute Systems Manager
web client. From the Tools menu, choose the Download command to
download the Sysprep tool for Linux. Decompress the tool on the
replication-source host and execute the following command:
decompression-destination-directory-of-Sysprep-tool/linuxrep/
LinuxRepSetUp
For Deployment Manager:
Execute the following command on the replication-source host. mount-
point-of-the-Deployment-Manager-installation-media/Linux/host-
architecture/bin/linuxrep/LinuxRepSetUp
6. For Compute Systems Manager, create a Master Image for replication.
Creating an HDLM Environment
3-129
Hitachi Dynamic Link Manager (for Linux®) User Guide