4TB hard drive only shows 2TB of space despite having GPT disklabel
by em-777 from LinuxQuestions.org on (#6PXWH)
Hello. I am on a UEFI system and I have a 4TB external hard drive. I have already gone through the work of formatting it and giving it the GPT label. However, it says it has only 2TB of space. Here is the output of fdisk:
Code:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: ASM1156-PM
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E158D27D-D819-4057-A0B1-B313D5A85BAB
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3.6T Linux filesystemAnd here is the output of df:
Code:~$ df -h /dev/sdb1
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 2.0T 1.5M 1.9T 1% [REDACTED]Any help is appreciated.
Code:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: ASM1156-PM
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E158D27D-D819-4057-A0B1-B313D5A85BAB
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3.6T Linux filesystemAnd here is the output of df:
Code:~$ df -h /dev/sdb1
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 2.0T 1.5M 1.9T 1% [REDACTED]Any help is appreciated.