72
SLES 10 SP3: Storage Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
5
Use a text editor to add a new alias definition for the device in the
/etc/multipath.conf
file,
such as
oradata3
.
6
Create a partition table for the device by entering
fdisk /dev/dm-8
7
Trigger udev by entering
echo 'add' > /sys/block/dm-8/uevent
This generates the device-mapper devices for the partitions on
dm-8
.
8
Create a file system and label for the new partition by entering
mke2fs -j /dev/dm-9
tune2fs -L
oradata3
/dev/dm-9
9
Restart DM-MP to let it read the aliases by entering
/etc/init.d/multipathd restart
10
Verify that the device is recognized by
multipathd
by entering
multipath -ll
11
Use a text editor to add a mount entry in the
/etc/fstab
file.
At this point, the alias you created in
Step 5
is not yet in the
/dev/disk/by-label
directory.
Add the mount entry the
/dev/dm-9
path, then change the entry before the next time you
reboot to
LABEL=oradata3
12
Create a directory to use as the mount point, then mount the device by entering
md
/oradata3
mount
/oradata3
5.12 Viewing Multipath I/O Status
Querying the multipath I/O status outputs the current status of the multipath maps.
The
multipath -l
option displays the current path status as of the last time that the path checker
was run. It does not run the path checker.
The
multipath -ll
option runs the path checker, updates the path information, then displays the
current status information. This option always the displays the latest information about the path
status.
1
At a terminal console prompt, enter
multipath -ll
This displays information for each multipathed device. For example:
3600601607cf30e00184589a37a31d911
[size=127 GB][features="0"][hwhandler="1 emc"]
\_ round-robin 0 [active][first]
\_ 1:0:1:2 sdav 66:240 [ready ][active]
\_ 0:0:1:2 sdr 65:16 [ready ][active]
\_ round-robin 0 [enabled]
\_ 1:0:0:2 sdag 66:0 [ready ][active]
\_ 0:0:0:2 sdc 8:32 [ready ][active]
Содержание 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...