24
SLES 10 SP3: Storage Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
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.
For example, change the
Root Device
value from
/dev/
sda2
Содержание 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...