Using UUIDs to Mount Devices
33
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
to
kernel /boot/vmlinuz root=/dev/disk/by-uuid/e014e482-1c2d-4d09-84ec-
61b3aefde77a
IMPORTANT:
Make a copy of the original boot entry, then modify the copy. If you make a
mistake, you can boot the server without the SAN connected, and fix the error.
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:
Make sure to make a backup copy of the
fstab
file before you begin, and
do not leave stray characters or spaces in the file.
3.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
.
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.
4
Navigate to the
/dev/disk/by-uuid
directory to find the UUID for the device where you
installed
/boot
,
/root
, and
swap
.
4a
At the terminal console prompt, enter
cd /dev/disk/by-uuid
Содержание LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Страница 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...