HP XP P9500 Storage User Manual
Page 178
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
contained in the boot loader configuration file.
The following shows an example configuration. Note that option in the
example represents an option that can be specified to suit the user
environment.
¢
When GRUB is used as the boot loader with Xen kernels:
For details on Xen kernels, see
Table 3-47 Xen Hypervisor Operating
Environments Supported by HDLM on page 3-67
:
:
title XEN
root (hd0,1)
kernel /boot/xen.gz
module /boot/vmlinuz-2.6.16.60-0.21-xen root=/dev/disk/by-
id/scsi-1HITACHI_D60H03750027-part2 vga=0x31a resume=/dev/
sda1 splash=silent showopts
module /boot/initrd-2.6.16.60-0.21-xen
3-110
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))