Instructions for manual formatting of data disks larger than 2 TB in CentOS
Source: Internet
Author: User
1. run the fdisk & ndash; l command to view the disk device list. 2. use the parted tool to create a GPT partition. 3. after the partition is created, use fdisk & ndash; l view the new partition information. 4. format the partition using mkfs. 5. after formatting, run the mount command to mount the new partition. then, run df & ndash; command h can be viewed 1. use the fdisk-l command to view the disk device list
2. use the parted tool to create a GPT partition
3. after the partition is created, you can use fdisk-l to view the new partition information.
4. use the mkfs tool to format partitions.
5. after formatting, run the mount command to mount the new partition. then run the df-h command to view the remaining disk capacity.
6. modify the fstab file, set the new partition to be automatically mounted when the system restarts, and add the last line of content.
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