Manual format of Linux system larger than 2TB data disk operation guide

Source: Internet
Author: User

1. Use the fdisk–l command to view a list of disk devices

650) this.width=650; "title=" 01.png "src=" http://s3.51cto.com/wyfs02/M01/45/C4/wKioL1PrAezBTXRnAAGMrFMBQGY826.jpg "alt=" Wkiol1praezbtxrnaagmrfmbqgy826.jpg "/>

2. Create a GPT partition using the parted tool

650) this.width=650; "title=" 02.png "src=" http://s3.51cto.com/wyfs02/M00/45/C3/wKiom1PrARaBWiZCAANXNs1SCbA340.jpg "alt=" Wkiom1prarabwizcaanxns1scba340.jpg "/>

3, after the partition is created, you can use Fdisk–l to see the new partition information

650) this.width=650; "title=" 03.png "src=" http://s3.51cto.com/wyfs02/M02/45/C5/wKioL1PrAlOTt51EAAGaTxADfTI760.jpg "alt=" Wkiol1pralott51eaagatxadfti760.jpg "/>

4. Format the partition with the MKFS tool

650) this.width=650; "title=" 04.png "src=" http://s3.51cto.com/wyfs02/M00/45/C5/wKioL1PrAm_hyAo3AAPELSMB3cU780.jpg "alt=" Wkiol1pram_hyao3aapelsmb3cu780.jpg "/>

5. When the format is complete, mount the new partition using the Mount command, at which time you can view the remaining capacity of the disk using the DF–H command

650) this.width=650; "title=" 05.png "src=" http://s3.51cto.com/wyfs02/M01/45/C3/wKiom1PrAXqwCXenAADrOPyFFCk840.jpg "alt=" Wkiom1praxqwcxenaadropyffck840.jpg "/>

6, modify the Fstab file, set the system restart automatically mount the new partition, add the last line of content

650) this.width=650; "title=" 06.png "src=" http://s3.51cto.com/wyfs02/M02/45/C3/wKiom1PrAZyB22mPAAFDHQVfqCI369.jpg "alt=" Wkiom1prazyb22mpaafdhqvfqci369.jpg "/>

This article is from "Steven Diligence," the blog, be sure to keep this source http://steven2.blog.51cto.com/855881/1539374

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.