HP StorageWorks 500 - G2 Modular Smart Array User Manual page 18

Hp smart array multipath software user guide
Hide thumbs Also See for StorageWorks 500 - G2 Modular Smart Array:
Table of Contents

Advertisement

This command reveals which modules are running. Examining the boot-time messages reveals the
static loaded drivers.
IMPORTANT: If you have made configuration changes to the kernel (including the multipath or /dev/md
driver) and have not rebooted from the new kernel, you must reboot before continuing. Red Hat typically
includes the md driver in the kernel.
Verify that the md driver is in the kernel. Enter:
2.
dmesg | grep md | more
This command shows the boot-time messages. If the md driver was loaded, several messages should
appear, similar to the following messages:
md: md driver version X.X
md: Autodetecting RAID arrays
md: autorun...
md: ...autorun DONE
If the multipath driver was built as a module but not loaded, load the module. Enter:
3.
insmod multipath
This command loads the driver. If the driver does not load the multipath module, rebuild the module.
After verifying loaded drivers, make the raid files. For the sample partition table in the "Sample
4.
RAIDTAB Configuration File (on page 17)" section, enter:
mkraid /dev/md0
mkraid /dev/md1
mkraid /dev/md2
mkraid /dev/md3
CAUTION: Do not use Fdisk or mkraid to create any other partitions on this logical drive. This action
results in data corruption and data loss.
If mkraid responds that the partition contains existing data, do the following:
5.
Force the mkraid to run. Enter:
a.
mkraid – f
Make filesystems on the raid devices. Enter:
b.
mkfs –t ext2 /dev/md0
mkfs –t ext2 /dev/md1
mkfs –t ext2 /dev/md2
mkfs –t ext2 /dev/md3
mkfs –t ext2 /dev/md4
IMPORTANT: The example in step 5b uses ext2 because known bugs in the ext3 filesystem can cause
data corruption.
The multipath RAID device should be functioning. To mount the device /dev/md0, enter:
6.
mount /dev/md0 /spare_filesystem
If necessary, you can stop or start the RAID device with the following commands:
To stop the RAID device, enter:
raidstop /dev/md0
This command may need to start the md device after a reboot. Place the command in the rc /etc
configuration files for mounted filesystems at boot time.
Installation and operation in Red Hat Enterprise Linux 2.1 environments 18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smart array multipath

Table of Contents