
Using UUIDs to Mount Devices
41
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
For example, change
kernel /boot/vmlinuz root=/dev/sda1
to
kernel /boot/vmlinuz root=/dev/disk/by-uuid/e014e482-1c2d-4d09-84ec-
61b3aefde77a
IMPORTANT:
If you make a mistake, you can boot the server without the SAN connected,
and fix the error by using the backup copy of the
/boot/grub/menu.1st
file as a guide.
If you use the Boot Loader option in YaST, there is a defect where it adds some duplicate lines
to the boot loader file when you change a value. Use an editor to remove the following
duplicate lines:
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (sd0,1)/boot/message
When you use YaST to change the way that the root (
/
) device is mounted (such as by UUID or
by label), the boot loader configuration needs to be saved again to make the change effective
for the boot loader.
6
As the
root
user or equivalent, do one of the following to place the UUID in the
/etc/fstab
file:
Open YaST to
System > Partitioner
, select the device of interest, then modify
Fstab
Options
.
Edit the
/etc/fstab
file to modify the system device from the location to the UUID.
For example, if the root (
/
) volume has a device path of
/dev/sda1
and its UUID is
e014e482-1c2d-4d09-84ec-61b3aefde77a
, change line entry from
/dev/sda1 / reiserfs acl,user_xattr 1 1
to
UUID=e014e482-1c2d-4d09-84ec-61b3aefde77a / reiserfs
acl,user_xattr 1 1
IMPORTANT:
Do not leave stray characters or spaces in the file.
6.4 Using UUIDs in the Boot Loader and /etc/
fstab File (IA64)
After the install, use the following procedure to configure the UUID for the system device in the
boot loader and
/etc/fstab
files for your IA64 system. IA64 uses the EFI BIOS. Its file system
configuration file is
/boot/efi/SuSE/elilo.conf
instead of
/etc/fstab
.
Before you begin, make a copy of the
/boot/efi/SuSE/elilo.conf
file.
1
Install the SUSE Linux Enterprise Server for IA64 with no SAN devices connected.
2
After the install, boot the system.
3
Open a terminal console as the
root
user or equivalent.
Summary of Contents for LINUX ENTERPRISE SERVER 11 - STORAGE ADMINISTRATION GUIDE 2-23-2010
Page 4: ...4 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 10: ...10 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 12: ...12 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 24: ...24 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 34: ...34 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 78: ...78 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 88: ...88 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 98: ...98 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 108: ...108 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 130: ...130 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Page 134: ...134 SLES 11 Storage Administration Guide novdocx en 7 January 2010...