Using Uuids To Assemble Or Activate File System Devices; Finding The Uuid For A File System Device; Using Uuids In The Boot Loader And /Etc/Fstab File (X86) - Novell LINUX ENTERPRISE SERVER 11 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual

Table of Contents

Advertisement

6.2.1 Using UUIDs to Assemble or Activate File System
Devices
The UUID is always unique to the partition and does not depend on the order in which it appears or
where it is mounted. With certain SAN devices attached to the server, the system partitions are
renamed and moved to be the last device. For example, if root (
the install, it might be assigned to
problem is to use the UUID in the boot loader and
The device ID assigned by the manufacturer for a drive never changes, no matter where the device is
mounted, so it can always be found at boot. The UUID is a property of the file system and can
change if you reformat the drive. In a boot loader file, you typically specify the location of the
device (such as
their UUIDs and administrator-specified volume labels. However, if you use a label and file
location, you cannot change the label name when the partition is mounted.
You can use the UUID as criterion for assembling and activating software RAID devices. When a
RAID is created, the
superblock.

6.2.2 Finding the UUID for a File System Device

You can find the UUID for any block device in the
UUID looks like this:
e014e482-1c2d-4d09-84ec-61b3aefde77a
6.3 Using UUIDs in the Boot Loader and /etc/
fstab File (x86)
After the install, you can optionally use the following procedure to configure the UUID for the
system device in the boot loader and
Before you begin, make a copy of
1 Install the SUSE
2 After the install, boot the system.
3 Open a terminal console as the
4 Navigate to the
installed
4a At the terminal console prompt, enter
cd /dev/disk/by-uuid
4b List all partitions by entering
ll
4c Find the UUID, such as
e014e482-1c2d-4d09-84ec-61b3aefde77a —> /dev/sda1
5 Edit
/boot/grub/menu.1st
40
SLES 11: Storage Administration Guide
/dev/sdg1
) to mount it at system boot. The boot loader can also mount devices by
/dev/sda1
driver generates a UUID for the device, and stores the value in the
md
/etc/fstab
/boot/grub/menu.1st
®
Linux Enterprise Server for x86 with no SAN devices connected.
root
/dev/disk/by-uuid
,
, and
.
/boot
/root
swap
file, using the Boot Loader option in YaST2 or using a text editor.
) is assigned to
/
after the SAN is connected. One way to avoid this
files for the boot device.
/etc/fstab
/dev/disk/by-uuid
files for your x86 system.
file and the
user or equivalent.
directory to find the UUID for the device where you
during
/dev/sda1
md
directory. For example, a
file.
/etc/fstab

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11 storage

Table of Contents