device-mappper-multipath
RPM to something newer than 0.4.7 which is available for SL5.x. I found device-mapper-multipath-0.4.9-23.0.8.el5.src.rpm
at http://oss.oracle.com/el5/SRPMS-updates/ and it rebuilds fine on UMFS03.
I installed the resulting 3 RPMS: device-mapper-multipath-0.4.9-23.0.8.el5.x86_64.rpm
, device-mapper-multipath-libs-0.4.9-23.0.8.el5.x86_64.rpm
and kpartx-0.4.9-23.0.8.el5.x86_64.rpm
on UMFS03 via rpm -Uvh
.
This link has a quick overview on setting up multipathing on linux: http://jang.blogs.ilrt.org/2009/03/27/braindump-of-fc-multipathing-on-linux/. There are some older relevant links at http://www.areasys.com/pdf/dataon/dns1x00/DM0002.pdf and
http://www.dell.com/downloads/global/power/ps3q06-20060189-Michael.pdf
First thing to do was to edit the /etc/multipath.conf
and add a blacklist_expection:
/dev/sda
is in use we leave it blacklisted but allow any /dev/sd[b-z]
devices (which will be the Nexsan LUNs). (NOTE this was over-ridden by the new find_multipath option).
Once the unit had configured the LUNs (see below) we were able to see the multipath setup via multipath -v2 -d
.
Next we chkconfig multitpathd on
so it can startup on reboots.
I list the details on configuring /etc/multipath.conf
in configuring multipath.conf.
Once the multipath was setup we have one /dev/dm-n device per configured LUN (8 in our case). I then used a simple script to create 8 mount points and format the LUNs with XFS. Doing mount -a -t xfs
then resulted in these mounts:
/dev/mapper/mpatha 22T 34M 22T 1% /dcache /dev/mapper/mpathb 22T 34M 22T 1% /dcache1 /dev/mapper/mpathc 22T 34M 22T 1% /dcache2 /dev/mapper/mpathd 19T 129G 19T 1% /dcache3 /dev/mapper/mpathe 19T 34M 19T 1% /dcache4 /dev/mapper/mpathf 19T 34M 19T 1% /dcache5 /dev/mapper/mpathg 19T 34M 19T 1% /dcache6 /dev/mapper/mpathh 19T 34M 19T 1% /dcache7
mkfs.xfs -f -L umfs03_3 -d sunit=256,swidth=3072 /dev/mapper/mpathcFor 14 disk vols on B60E:
mkfs.xfs -f -L umfs03_4 -d sunit=256,swidth=2560 /dev/mapper/mpathdMounts as above.
Dual controllers can be setup in non-redundant mode or using multipath in All Ports All Luns mode (APAL). We plan to test with APAL mode enabled.
Cache streaming mode enabled for next test
Throughput test, 64GiB file, 512KiB record, up to 24 threads, series2: throughput_test6_reconfig.xls, throughput_test6_reconfig.outI | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
Nexsan_Linux_Multipathing-V1.pdf | manage | 770 K | 27 May 2011 - 13:29 | BenMeekhof | Nexsan multipathing directions | |
sh | fss-setup-filesystems-Nexsan-rec.sh | manage | 592 bytes | 17 May 2011 - 13:49 | BenMeekhof | xfs format for series 2 |
conf | multipath.conf | manage | 4 K | 17 May 2011 - 19:52 | BenMeekhof | multipathing setup used for tests |
png | nexsan-b60-setup.png | manage | 52 K | 30 Apr 2011 - 15:47 | BenMeekhof | B60 expansion configuration |
png | nexsan-sb-quickstart.png | manage | 37 K | 30 Apr 2011 - 15:46 | BenMeekhof | Screenshot of quickstart setup |
png | nexsan-sb-setup.png | manage | 33 K | 30 Apr 2011 - 15:46 | BenMeekhof | Configuration created |
out | sample_test.out | manage | 19 K | 01 May 2011 - 19:57 | BenMeekhof | iozone output of test |
xlsx | sample_test.xlsx | manage | 3 K | 01 May 2011 - 19:48 | BenMeekhof | Quick test of throughput with 1GB file (raid init ongoing). |
png | test_throughput_1GB.png | manage | 20 K | 01 May 2011 - 19:34 | BenMeekhof | Graph of 1GB throughput test |
out | throughput_test3.out | manage | 19 K | 06 May 2011 - 21:16 | BenMeekhof | Throughput test, 64GiB file, up to 24 threads, iozone output |
png | throughput_test3.png | manage | 14 K | 06 May 2011 - 21:16 | BenMeekhof | Throughput test, 64GiB file, up to 24 threads, graph image |
xls | throughput_test3.xls | manage | 24 K | 07 May 2011 - 02:44 | BenMeekhof | Throughput test, 64GiB file, up to 24 threads |
png | throughput_test4.png | manage | 14 K | 09 May 2011 - 15:59 | BenMeekhof | Throughput with all tests, 64GiB file, 4KiB records, 6 threads |
out | throughput_test4_alltests_6threads.out | manage | 5 K | 09 May 2011 - 15:59 | BenMeekhof | Throughput with all tests, 64GiB file, 4KiB records, 6 threads |
xls | throughput_test4_alltests_6threads.xls | manage | 22 K | 09 May 2011 - 15:59 | BenMeekhof | Throughput with all tests, 64GiB file, 4KiB records, 6 threads |
out | throughput_test5_all_reconfig.out | manage | 5 K | 16 May 2011 - 20:21 | BenMeekhof | Throughput with all tests after recommended configuration changes |
png | throughput_test5_all_reconfig.png | manage | 14 K | 16 May 2011 - 20:25 | BenMeekhof | Throughput with all tests after recommended configuration changes |
xls | throughput_test5_all_reconfig.xls | manage | 22 K | 16 May 2011 - 20:21 | BenMeekhof | Throughput with all tests after recommended configuration changes |
out | throughput_test6_reconfig.out | manage | 19 K | 17 May 2011 - 13:35 | BenMeekhof | Throughput test, 64GiB file, 512KiB record, up to 24 threads, series2 |
png | throughput_test6_reconfig.png | manage | 13 K | 17 May 2011 - 13:35 | BenMeekhof | Throughput test, 64GiB file, 512KiB record, up to 24 threads, series2 |
xls | throughput_test6_reconfig.xls | manage | 25 K | 17 May 2011 - 13:35 | BenMeekhof | Throughput test, 64GiB file, 512KiB record, up to 24 threads, series2 |