24
SLES 10 Storage Administration Guide
no
vd
ocx
(e
n)
6 Ap
ril 20
07
Make sure to replace
sda1
,
sda2
, and
sda3
with the device names you used for your partitions.
IMPORTANT:
When working in the
/etc/fstab
file, do not leave any stray characters or
spaces in the file. This is a configuration file, and it is highly sensitive to such mistakes.
1
Open the
/etc/fstab
file in a text editor.
2
Locate the line that contains the
/boot
partition.
For example, if your
/boot
partition uses device sda1 and the Reiser file system, look for a
line similar to this:
/dev/
sda1
/boot
reiser
defaults 1 1
3
In the
Device Name
column, modify the mount location of the
/boot
partition from
/dev
to
/dev/evms
so it can be managed by EVMS. Modify only the device name by adding
/evms
to the path:
/dev/evms/
sda1
/boot
reiser
defaults 1 1
4
Repeat
Step 2
and
Step 3
to edit the Device Name entry in the lines for the
swap
and root (
/
)
partitions.
For example, change
/dev/
sda2
to
/dev/evms/
sda2
, and change
/dev/
sda3
to
/
dev/evms/
sda3
.
5
Save the file.
The changes do not take effect until the server is restarted. Do not restart at this time.
6
Continue with
Section 2.2.4, “Edit the Boot Loader File,” on page 24
.
2.2.4 Edit the Boot Loader File
When you boot the system, the kernel reads the boot loader file for information about your system.
For Grub, this is the
/boot/grub/menu.1st
file. For LILO, this is the
/etc/lilo.conf
file.
You must edit the boot loader file to modify the mount location of partitions so they are mounted
under the
/dev/evms
directory. For example, change /dev/
sda1
to /dev/evms/
sda1
. Make sure to
replace the path for all lines that contain device paths in the files. You can modify the boot loader
file by editing fields in YaST, or use a text editor to modify the file directly.
IMPORTANT:
When working in the boot loader file, do not leave any stray characters or spaces in
the file. This is a configuration file, and it is highly sensitive to such mistakes.
Using YaST
To modify the boot loader file in the YaST Control Center:
1
Log in as the
root
user or equivalent.
2
In Yast, select
System > Boot Loader
.
3
Modify the boot loader image so that the root file system is mounted as
/dev/evms/
instead
of
/dev/
.
3a
Select the boot loader image file, then click
Edit
.
3b
Edit the device path in the
Root Device
field.
Summary of Contents for LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007
Page 4: ...novdocx en 6 April 2007...
Page 30: ...30 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 42: ...42 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 58: ...58 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 90: ...90 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 100: ...100 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 106: ...106 SLES 10 Storage Administration Guide novdocx en 6 April 2007...