Hitachi Dynamic Link Manager Software Users Guide for Linux

addition, execute the swapon -s command to check the devices used as
swap devices.
The following examples show how to use commands when the /boot line
and the swap line are edited in step 4. In the execution results, HDLM
devices might be output or SCSI devices might be output.
When an HDLM device is output
Examples of executing the commands are as follows:
# /bin/mount
:
/dev/sddlmab1 on /boot type ext3 (rw)
:
/boot corresponds to /dev/sddlmab1.
# /sbin/swapon -s
Filename Type Size Used Priority
/dev/sddlmab3 partition 4095992 0 -1
swap corresponds to /dev/sddlmab3.
When HDLM devices are output, go to step 12.
When a SCSI device is output
Examples of executing the commands are as follows:
# /bin/mount
:
/dev/sda1 on /boot type ext3 (rw)
:
/boot corresponds to /dev/sda1.
# /sbin/swapon -s
Filename Type Size Used Priority
/dev/sda3 partition 4095992 0 -1
swap corresponds to /dev/sda3.
11. On the replication-destination host, execute the HDLM configuration
definition utility (dlmcfgmgr) with the -v parameter to check the
correspondence between the HDLM devices and SCSI devices.
An example of executing the command is as follows:
# /sbin/dlmcfgmgr -v
HDevName Management Device Host Channel
Target Lun
/dev/sddlmaa configured - 2 0
0 0
- 2 0
1 0
/dev/sddlmab configured /dev/sda 3 0
0 0
/dev/sdb 3 0
1 0
KAPL10302-I /sbin/dlmcfgmgr completed normally.
The SCSI device /dev/sda and /dev/sdb correspond to the HDLM
device /dev/sddlmab.
It does not matter if - is displayed in the Device column.
12. Edit the /etc/fstab file on the replication-destination host.
Creating an HDLM Environment
3-131
Hitachi Dynamic Link Manager (for Linux®) User Guide