Hitachi Dynamic Link Manager Software Users Guide for Linux

See /proc/mounts to check the devices that are mounted on the root (/).
Execute the following command to output the root information, and then
check the devices that are output.
# /bin/cat /proc/mounts | /bin/grep –w / | /bin/grep –v rootfs
Check as follows, depending on the devices that are output.
¢
If /dev/{SCSI-device} is output:
The SCSI boot disk environment is used.
The HDLM boot disk environment is not used.
¢
If another device is output:
a. Execute the /usr/bin/readlink -f {output-device} command.
The full path of the file is output.
b. Execute the /bin/ls -l {output-device} command.
In a general file, the major and minor values are displayed where
the file size is displayed.
c. Execute the following command with the major value specified for
the argument:
# /bin/cat /proc/devices | /bin/grep -w {major}
If sd is output, the SCSI boot disk environment is used.
The HDLM boot disk environment is not used.
If device-mapper is output:
Execute /sbin/dmsetup ls --tree to check the major and
minor values of the device associated with the major and
minor values displayed in b..
Display example:
# /sbin/dmsetup ls --tree
vg00-lv_tmp (253:1)
|- (8:2)
vg00-lv_var (253:2)
|- (8:2)
vg00-lv_swap (253:3)
|- (8:2)
vg00-lv_root (253:0)
|- (8:2)
#
If the major and minor values in b. are 253 and 0
respectively, then, in the example above, the corresponding
device is (8:2), which has major and minor values of 8 and 2
respectively.
Execute the following command with the major value specified
for the argument:
/bin/cat /proc/devices | /bin/grep –w {major}
If sddlmfdrv is not output, the HDLM boot disk environment is
not used.
If another device is output:
The HDLM boot disk environment is not used.
3-230
Creating an HDLM Environment
Hitachi Dynamic Link Manager (for Linux®) User Guide