Disk Mount method after 16TB

Source: Internet
Author: User

Overview:

A trusted server, a total of 24 900GB SAS hard drives, the array configuration is as follows:

1 , using the first 23 hard drives for RAID5, and then divided into two virtual disks: Virtual Disk 1 named system, size 100GB, virtual Disk 2 named data, for the remaining 19.8TB capacity;

2 and the last disk as a global hot spare.

3 , the operating system is CentOS 6.7, the operating system is installed on the system disk 100GB space, after the installation of the operating system, you need to mount other disks to the/data directory.

Mount Step:1, view partitions:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/25/wKioL1ZL9EmzZ6oEAADS58dab1E429.jpg "title=" Qq20151118114335-00.jpg "alt=" Wkiol1zl9emzz6oeaads58dab1e429.jpg "/>

2, using the parted partitioning tool.

To manipulate a partition using the command PARTED/DEV/SDB

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/28/wKiom1ZL81CAKmBkAAAnVoEYBj4279.jpg "title=" Qq20151118110722.jpg "alt=" Wkiom1zl81cakmbkaaanvoeybj4279.jpg "/>

Use the command print to view the partitioning situation

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/28/wKiom1ZL82_A_aukAAAtH-yrQqM468.jpg "title=" Qq20151118110756.jpg "alt=" Wkiom1zl82_a_aukaaath-yrqqm468.jpg "/>

Since our partition is already a GPT partition, can be directly operated, if the original partition is MBR partition, you need to use the command Mklabel GPT to create a disk label (partition table) to GPT, the middle will prompt to do damage data, enter Yes, continue; then use the Print command to view

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/76/25/wKioL1ZL89Gwl4-qAABS48mDfMQ591.jpg "title=" Qq20151118110849.jpg "alt=" Wkiol1zl89gwl4-qaabs48mdfmq591.jpg "/>

Use the command mkpartprimary 0KB 19.7TB command to create a partition with a size from 0KB to 19.7TB; The intermediate warning content can be ignored, enter Yes, the second question about performance, input I select Ignore.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/76/25/wKioL1ZL9JGStsOVAABL3xM8U-M858.jpg "title=" Qq20151118110926.jpg "alt=" Wkiol1zl9jgstsovaabl3xm8u-m858.jpg "/>

Then enter quit to quit. Tip Don't forget to put the disk-mounted information in the startup item

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/28/wKiom1ZL9FTjbcrvAAAPlFnLTuo447.jpg "title=" Qq20151118111010.jpg "alt=" Wkiom1zl9ftjbcrvaaaplfnltuo447.jpg "/>

Put the boot information of the disk into the/etc/fstab with the following information:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/76/25/wKioL1ZL9M-wm6B7AACaKPRDGqM355.jpg "title=" Qq20151118112919.jpg "alt=" Wkiol1zl9m-wm6b7aacakprdgqm355.jpg "/>

3, format, and Mount

After you have divided the area, you need to format the disk, using the command MKFS.XFS to format the disk in XFS format, as follows:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/76/28/wKiom1ZL9IuBnsQyAABj5ZWl5o8384.jpg "title=" Qq20151118111105.jpg "alt=" Wkiom1zl9iubnsqyaabj5zwl5o8384.jpg "/>

After formatting the disk, create a new mount point and mount the disk using the Mount command, as follows

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/28/wKiom1ZL9JuT2iMhAAAf1-2m1KM313.jpg "title=" Qq20151118111130.jpg "alt=" Wkiom1zl9jut2imhaaaf1-2m1km313.jpg "/>

View the information after the Mount

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/25/wKioL1ZL9P3TNL94AABKHaNUjpM606.jpg "title=" Qq20151118111156.jpg "alt=" Wkiol1zl9p3tnl94aabkhanujpm606.jpg "/>


This article is from the "Work Drip" blog, please be sure to keep this source http://fanyk.blog.51cto.com/3380850/1713943

Disk Mount method after 16TB

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.