beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 206

background image

3. Creating an HDLM Environment

182

# udevadm info --query name -n /dev/disk/by-uuid/

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

sda2

The

sda2

value output is the SCSI device name corresponding to

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

.

For SUSE LINUX Enterprise Server 10 or SUSE LINUX Enterprise Server

11
Execute the

udevinfo

command. Specify the device name (

udev

name) in

the

/dev/disk

directory for

-n

.

# udevinfo -q name -n /dev/disk/by-id/

scsi-2000c50fffecb6ae0-part2

sda2

The

sda2

value output is the SCSI device name corresponding to

/dev/

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

.

8.

Back up the

/etc/fstab

file.

9.

Edit the

/etc/fstab

file, and delete the

LABEL

setting.

Comment out all lines for which

LABEL

is used, as checked in step 3, by adding

a hash mark (

#

) to the start of each of those lines, and then add a line specifying

the SCSI device as follows, given the correspondence between

LABEL

and the

SCSI device as checked in step 5.


:
:
#LABEL=/ / ext2 defaults 1 1
/dev/sda2 / ext2 defaults 1 1
#LABEL=/boot /boot ext2 defaults 1 2
/dev/sda1 /boot ext2 defaults 1 2
:
:

In addition, add a line specifying the SCSI device checked in step 6 as shown

above if the

/etc/fstab

file contains

#LABEL=SWAP-sda3

.

10. Back up the boot loader configuration file.
11. Copy the startup configuration that has the

LABEL

specification, which is

This manual is related to the following products: