Building the multipath test driver module:

For a 2.6 kernel:

	cd /usr/src/linux-2.6.0/
	cp /usr/src/evms-2.2.1/tests/mpdev/2.6/*.[ch] drivers/block/
	patch -p1 < /usr/src/evms-2.2.1/tests/mpdev/2.6/Makefile.patch
	make
	make modules_install

For a 2.4 kernel:

	cd /usr/src/linux-2.4.24/
	cp /usr/src/evms-2.2.1/tests/mpdev/2.4/*.[ch] drivers/block/
	patch -p1 < /usr/src/evms-2.2.1/tests/mpdev/2.4/Makefile.patch
	make dep
	make modules
	make modules_install


General stuff:

mpdev is a RAM-disk block device...

	mknod /dev/mpa b 252 0
	mknod /dev/mpb b 252 1
	mknod /dev/mpc b 252 2 

	modprobe mpdev

	module paramaters:
		major: desired major number for the driver. Default = 252
		paths: number of multipaths to activate. Default = 16.
		size: size in kB of the ram-disk. Default = 1024.

Edit /etc/evms.conf ... change legacy section ... include {mpa mpb mpc hd? ...}

How to fail and recover a device ...
            
	mp fail /dev/mpa
	mp recover /dev/mpa

