Configuration of the IBM 245 disk array in Ubuntu server

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.