Using EVMS to Manage Devices
23
no
vd
ocx (
E
NU)
9
Jan
uar
y 2
007
4
Click
Finish
, then click
Yes
.
The changes do not take affect until the server is restarted. Do not reboot at this time.
NOTE:
Effective in SUSE Linux Enterprise 10, the
/dev
directory is on
tmpfs
and the
device nodes are automatically re-created on boot. It is no longer necessary to modify the
/
etc/init.d/boot.evms
script to delete the device nodes on system reboot as was
required for previous versions of SUSE Linux.
5
Continue with
“Edit the /etc/fstab File” on page 23
.
2.2.3 Edit the /etc/fstab File
When you boot the system, the kernel reads the
/etc/fstab
file to identify which file systems
should be mounted and then mounts them. This file contains a table of file system information about
the
/boot
,
swap
, and root (
/
) partitions plus other partitions and file systems you want to mount.
You must edit the
/etc/fstab
file to modify the mount location of these three partitions so they
are mounted under the
/dev/evms
directory. For example, change /dev/
sda1
to /dev/evms/
sda1
.
Although the
/boot
partition is not managed by EVMS, the
boot.evms
script forces EVMS to
scan all the partitions at boot time, including the
/boot
partition, and it activates
/boot
under the
/dev/evms
directory. Therefore, this makes
/boot
a partition that is discovered by EVMS at
startup, and requires that the device’s path be listed under
/dev/evms
in the
fstab
file so it can
be found when booting with
boot.evms
.
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 affect until the server is restarted. Do not reboot at this time.
6
Continue with
Section 2.2.4, “Edit the Boot Loader File,” on page 24
.
Содержание LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE FOR EVMS
Страница 4: ...novdocx ENU 9 January 2007 ...
Страница 8: ...8 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Страница 10: ...10 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Страница 40: ...40 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Страница 52: ...52 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Страница 74: ...74 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Страница 84: ...84 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...