HP Hitachi Dynamic Link Manager Software User Manual

Page 340

background image

3. Creating an HDLM Environment

316

to step 7.

5.

Execute the following commands to check the device name:

For Red Hat Enterprise Linux 6

Execute the

udevadm

command.

Specify the value below for the

-p

option. For SCSI-device-name, specify

the value checked in step 3.

/sys/block/

SCSI-device-name

/

name-that-added-SCSI-device-name-and-partition-number
The following example shows how to execute the

udevadm

command:

# udevadm info --query symlink -p /sys/block/sda/sda2
block/8:2 disk/by-id/scsi-1HITACHI_D60H03750500-part2
disk/by-path/
pci-0000:0e:00.0-fc-0x50060e8000c28870:0x00000000000000
00-part2

disk/by-uuid/55574d05-07dc-4c94-a585-5599c284d79b

In the execution result,

disk/by-uuid/

55574d05-07dc-4c94-a585-5599c284d79b

indicates the device name

(

udev

name) that corresponds to

/dev/sda2

.

If you specify a block device name starting with

UUID=

instead of a SCSI

device name, use

UUID=55574d05-07dc-4c94-a585-5599c284d79b

for the SCSI device you checked in step 3 (

/dev/sda2

).

For SUSE LINUX Enterprise Server 10

Check the device name (

udev

name) in the

/dev/disk

directory by

executing the

udevinfo

command.

Specify the value below for the

-p

option. For SCSI-device-name, specify

the value checked in step 3.

/sys/block/

SCSI-device-name

/

SCSI-device-name-and-partition-number
The following example shows how to execute the

udevinfo

command:

# udevinfo -q symlink -p /sys/block/sda/sda2

disk/by-id/scsi-2000c50fffecb6ae0-part2 disk/by-path/

This manual is related to the following products: