I have a 4T disk:
Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = section of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
After I use fdisk for partitioned to 2 parts. but I only get 2T for using.
I only get 2T for using:
/dev/sdc1 939G 72M 891G 1% /media/summer/sdc1
/dev/sdc2 1.1T 71M 1023G 1% /media/summer/sdc2
I am using CentOS 7.2 system.
EDIT-01
When I take partition:
Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = sector of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
device launch start end blocks Id system
command(type m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
part number (1-4,defualt 1):
will use default 1
start sector (2048-4294967295,default 2048):
will use default 2048
Last sector, +sector or +size{K,M,G} (2048-4294967294,default 4294967294):
You see the total sectors
are 7814037168
, but when I take partition, the choice is 2048-4294967294
.
You are using the old MBR partition table, which can't handle disks larger than 2TB. You have to create a GUID Partition Table (GPT) to use the whole disk.
Additionally, older fdisk versions can't handle GPT, so you need a different fdisk tool.
Partitioning tools that support GPT:
cfdisk is often already installed.
User contributions licensed under CC BY-SA 3.0