Using EVMS to Manage Devices
25
no
vd
ocx (
E
NU)
9
Jan
uar
y 2
007
2
Open the boot loader file in a text editor.
For Grub, this is the
/boot/grub/menu.1st
file. For LILO, this is the
/etc/
lilo.conf
file.
3
Locate the line that contains the
root=
parameter.
For example, if your root file system uses device
sda1
, look for a line similar to this:
kernel (sd0,0)/vmlinuz root=/dev/sda1 vga=0x31a splash=silent
showopts
4
Modify the mount location from
/dev
to
/dev/evms
so it can be managed by EVMS.
For example, after the change, the line looks like this:
kernel (sd0,0)/vmlinuz root=/dev/evms/sda1 vga=0x31a splash=silent
showopts
5
Repeat
Step 3
and
Step 4
to locate other lines in the file that need to be similarly modified.
6
Save the file.
The changes do not take affect until the server is restarted. Do not reboot at this time.
7
Continue with
Section 2.2.5, “Force the RAM Disk to Recognize the Root Partition,” on
page 25
.
2.2.5 Force the RAM Disk to Recognize the Root Partition
The mkinitrd(8)
command creates file system images for use as initial RAM disk (initrd)
images. These RAM disk images are often used to preload the block device modules (SCSI or
RAID) needed to access the root file system.
You might need to force the RAM to update its device node information so that it loads the root (
/
)
partition from the
/dev/evms
path.
NOTE:
Recent patches to
mkinitrd
might resolve the need to do this task. For the latest version
of mkinitrd, see
Recommended Updates for mkinitrd
(http://support.novell.com/techcenter/psdb/
24c7dfbc3e0c183970b70c1c0b3a6d7d.html)
at the Novell Technical Support Center.
1
At a terminal console prompt, enter the EVMS Ncurses command as the
root
user or
equivalent:
evmsn
2
Review the output to verify that EVMS shows only the
/boot
and
swap
partitions as active in
EVMS.
You should see the following devices mounted (with your own partition names, of course) for
these two partitions:
/dev/evms/sda1
/dev/evms/sda2
3
At a terminal console prompt, enter the following update the
initrd
image with the
/dev/
evms
path information for the root (
/
) partition:
/sbin/mkinitrd -f evms
This does not take effect until you restart the server.
4
Continue with
Section 2.2.6, “Reboot the Server,” on page 26
.
Summary of Contents for LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE FOR EVMS
Page 4: ...novdocx ENU 9 January 2007 ...
Page 8: ...8 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 10: ...10 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 40: ...40 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 52: ...52 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 74: ...74 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 84: ...84 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...