The traditional MBR partition table can only support 2T of addressing space, so if you use MBR as partition table, then 3T hard disk can only use 2T of space
[Email protected] ~]# df-h
File system capacity has been used with available% mount points
/dev/mapper/centos-root 50G 5.1G 45G 11%/
Devtmpfs 16G 0 16G 0%/dev
Tmpfs 16G 0 16G 0%/dev/shm
Tmpfs 16G 9.1M 16G 1%/run
Tmpfs 16G 0 16G 0%/sys/fs/cgroup
/DEV/SDC1 2.0T 33M 2.0T 1%/mnt/data2 ******
/DEV/SDB1 2.0T 33M 2.0T 1%/mnt/data1 ******
/dev/mapper/centos-home 1.8T 36M 1.8T 1%/Home
/DEV/SDA1 497M 168M 329M 34%/boot
////
Parted
////
[Email protected] ~]# Parted/dev/sdb
GNU Parted 3.1
Using/dev/sdb
Welcome to GNU parted! Type ' help ' to view a list of commands.
(parted)
(parted) Help
Align-check type N check partition N for TYPE (min|opt)
Alignment
Help [COMMAND] Print general help, or help on
COMMAND
Mklabel,mktable Label-type Create a new Disklabel (partition
Table
Mkpart Part-type [Fs-type] START END make a partition
Name Number name name partition number as name
Print [devices|free|list,all| Number] Display the partition table,
Available devices, free space, all found partitions, or a particular
Partition
Quit Exit Program
Rescue start END Rescue a lost partition near START
and END
RM Number Delete Partition number
Select Device Choose the DEVICE to edit
Disk_set flag State Change the FLAG on selected device
Disk_toggle [flag] toggle the state of flags on selected
Device
Set number flag state change the FLAG on partition number
Toggle [Number [FLAG]] toggle the state of FLAG on partition
Number
Unit unit Set the default unit to unit
Version display the version number and
Copyright information of the GNU Parted
(parted)
(parted) Mklabel GPT
Warning: The existing disk label On/dev/sdb'll is destroyed and all data on this
Disk would be lost. Want to continue?
Is/yes/no/no? Yes
(parted)
(parted) Mkpart primary 0-1
Warning: The resulting partition is not a properly aligned for best performance.
Ignore/ignore/abandon/cancel? Ignore
(parted) Print
Model:ata WDC wd3000fyyz-0 (SCSI)
Disk/dev/sdb:3001gb
Sector size (logical/physical): 512b/512b
Partition TABLE:GPT
Disk Flags:
Number Start End Size File system Name Flag
1 17.4kB 3001GB 3001GB Primary
(parted)
"CentOS 7.1" Mount 3T