1. Two HBA cards installed on the server with four wires connected to the disk array
2. Installing multipath-tools
3. Configure/etc/, Wwid can be obtained in multipath-v3
Defaults{user_friendly_names yes}blacklist{devnode "^SDA"}multipaths{multipath{wwid 36005076300810748b000000000000002alias mpath0path_grouping_policy Multibuspath_selector "Round-robin 0" failback Immediate}}
The default conf already has the configuration of the IBM 2145 disk array, so there is no need to write it in Conf.
Restart sudo service multipath-tools restart
4. For the sake of insurance, remove the previous multipath, sudo multipath-f, then run multipath-v3, rebuild the path, then run multipath-ll to view the path
5. Enter/dev/mapper/
Ls
6. Because the array is larger than 2T, partitioning with parted is not possible with Fdisk
Parted/dev/mpath0
Mklabel GPT
Mkpart 2048s 100%//can also be used with 0 100% if warning using 2048s
And finally found a mpath0p1 more.
7. Use MKFS.EXT3/DEV/MAPPER/MPATH0P1 to format this partition
8. Mkdir/mnt/raid, mount to sudo mount/dev/mapper/mpath0p1/mnt/raid
Using Df-h view, the last 11T disk is our array of disks
8. Set the automatic mount, get the UUID of the current partition, and then sudo vi/etc/ftabs, add a record
Ubuntu Official website Description https://help.ubuntu.com/lts/serverguide/multipath-setting-up-dm-multipath.html
Blog 1 http://rootking.blog.51cto.com/2619611/476212/
Blog 2 http://blog.itpub.net/23135684/viewspace-745789
Blog 3 http://qing.blog.sina.com.cn/2623175925/9c5a7cf533002fz0.html
Configuration of the IBM 245 disk array in Ubuntu server