Mounting Filesystems; Driver Unloads; Special Considerations When Using Lvm Or Md; Configuring Md For Auto Loading - HP AJ878A - StorageWorks 320 GB Hard Drive User Manual

Storageworks io accelerator for bladesystem c-class
Hide thumbs Also See for AJ878A - StorageWorks 320 GB Hard Drive:
Table of Contents

Advertisement

Mounting Filesystems

Because the IO Accelerator driver is not loaded by the standard means (in the initrd, or built kernel),
using the standard method for mounting filesystems (/etc/fstab) for filesystems on the IO Accelerator
does not work. To setup auto-mounting of a filesystem hosted on an IO Accelerator,
1.
Add the filesystem mounting command to /etc/fstab as normal.
2.
Add the 'noauto' option to /etc/fstab as in the two sample entries below.
/dev/fioa /mnt/fioa ext3 defaults,noauto 0 0
/dev/fiob1 /mnt/iodrive ext3 defaults,noauto 0 0
To have the init script mount these drives after the driver is loaded, and unmounted before the driver
is unloaded, add a list of mount points to the options file using the procedure documented there.
For the filesystem mounts shown in the example above, the line in the options file would look like:
MOUNTS="/mnt/fioa /mnt/iodrive"

Driver Unloads

Special consideration must be taken during driver unload time. By default, the init script will search
for any processes holding open a mounted filesystem and kill them, thus allowing the filesystem to
then be unmounted. This behavior is controlled by the option KILL_PROCS_ON_UMOUNT in the
options file. If these processes are not killed, the filesystem will not be able to be unmounted. This
may keep the driver from unloading cleanly, causing a significant delay on the subsequent boot.

Special considerations when using LVM or MD

For all distributions, the recommended method for using LVM and MD devices is to disable udev-based
auto loading of the driver and use the init script instead.
To disable udev auto loading, edit the /etc/modprobe.d/iodrive file and remove the "#" to
uncomment the line:
# blacklist fio-driver
So that it looks like:
blacklist fio-driver
Because the init script is not used by default on all distributions, manually enable the init script and
then verify the configuration.
$ chkconfig --add iodrive
$ chkconfig --list iodrive
iodrive 0:off 1:on 2:on 3:on 4:on 5:on 6:off

Configuring MD for auto loading

You need to create a mdadm.conf file for an md array using the IO Accelerator for assembly on boot
and then be mounted. A sample /etc/mdadm.conf file might be:
DEVICE /dev/fio*
ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/fioa,/dev/fiob
(Use fio-status to view the names of your IO Accelerators.) Next, edit /etc/sysconfig/iodrive and add
the MD devices to the 'MD_ARRAYS' variable. For example, to add the md0 array specified in the
mdadm.conf above, modify the MD_ARRAYS variable to read:
22
Linux environments

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj878a 320

Table of Contents