Cause: After formatting with fdisk partition, Mount Discovery reads only hundreds of MB of space, which is larger than 2T to use parted format to GPT partition.
Solve:
1. Use the fdisk-l command and LSBLK to view disk information (/DEV/SDC)
2. Installing parted
# Yum Install parted
3. Partitioning
① You can enter p to print disk information, view the partition, and find the start and end locations
# PARTED/DEV/SDC
② Setting the partition type to GPT
# Mklabel GPT
③ primary refers to the partition type as the primary partition, 0 is the start of the partition, and 100% is the end of the partition. The same command is: Mkpart primary 0-1 or Yes: Mkpart primary 0 xxx End of space
# Mkpart Primary 0% 100%
④ Print the current partition to see if the partition settings are correct
# Print
quit with quit after ⑤ completed
# quit
4. format the disk, if supported EXT4 selectable format to EXT4
# MKFS.EXT3/DEV/SDC1
5. mount to the/SANDIB2B directory
# mkdir/sandib2b# MOUNT/DEV/SDC1/SANDIB2B
6. Set Restart Auto Mount partition
# Vi/etc/fstab Add a line:/dev/sdc1/sandib2b ext3 defaults 1 2
This article is from the "Freedom Trail" blog, be sure to keep this source http://wangy8961.blog.51cto.com/10174968/1640915
Mount 2T New Hard Drive