
Using EVMS to Manage Devices
27
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
2.3 Configuring LVM Devices to Use EVMS
Use the following post-installation procedure to configure data devices (not system devices) to be
managed by EVMS. If you need to configure an existing system device for EVMS, see
Section 2.2,
“Configuring an Existing System Device to Use EVMS,” on page 22
.
1
In a terminal console, run the EVMSGUI by entering the following as the
root
user or
equivalent:
evmsgui
2
In the
Volumes
panel, review the names that EVMS reports as compatibility volumes, find the
devices that represent the devices you want to manage using EVMS, then write down the
names for future reference.
For example,
/dev/sdb1
.
3
In a text editor, edit the
/etc/fstab
file to use the EVMS volume names.
For example, change the following entry for an LVM2 volume from this
/dev/sdb1 / reiserfs defaults 1 2
to this
/dev/evms/lvm2/sdb1 / reiserfs defaults 1 2
IMPORTANT:
Make sure not to leave any stray characters or spaces in the line.
With these changes, each time your system boots, your file system is mounted using EVMS as
the volume manager.
4
Update the boot scripts as follows:
The command
evms_activate
must be run from your boot scripts in order to activate
your volumes so they can be mounted.
If you run software-RAID (
boot.md
) or LVM (
boot.lvm
) boot files in your boot scripts,
and if you are moving all devices to EVMS, remove or disable those commands.
5
If you have not already done so, enable the
boot.evms
service.
For information, see
“Enable the boot.evms Service” on page 21
.
6
Restart your system.
2.4 Using EVMS with iSCSI Volumes
If your EVMS devices, RAIDs, and volumes use storage devices from an iSCSI SAN, make sure
that your system starts iSCSI before EVMS so that the SAN and its disks are available to EVMS on
system startup. iSCSI must be started and running before any disks or volumes on the iSCSI SAN
can be accessed. If EVMS starts before iSCSI, EVMS cannot see or access the devices in the iSCSI
SAN to mount the storage objects they contain, so the EVMS devices, RAIDs, and volumes might
not be visible or accessible.
If EVMS starts before iSCSI on your system so that your EVMS devices, RAIDs, and volumes are
not visible or accessible, you must correct the order in which iSCSI and EVMS are started. Enter the
chkconfig
command at the Linux server console of every server that is part of your iSCSI SAN.
1
At a terminal console prompt, enter either
chkconfig evms on
Содержание 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...