New SSD 4TB EVO 870 Drive
by akashi from LinuxQuestions.org on (#6D9DH)
I am trying to utilize a new drive on a Raspberry Pi 4 (Debian).
I am not sure how to 'properly' create this new drive. I tried parted and fdisk just to test and got different results.
parted:
Code:Disk /dev/sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: SSD 870 EVO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 387AC041-B35A-4E90-81A0-9A39874E8AD7
Device Start End Sectors Size Type
/dev/sda1 2048 7814035455 7814033408 3.6T Linux filesystemfdisk:
Code:Disk /dev/sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: SSD 870 EVO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5354FBEA-0F16-884A-A808-D0337DAEE46E
Device Start End Sectors Size Type
/dev/sda1 2048 7814037134 7814035087 3.6T Linux filesystemViewing this drive on gdisk, it states: "Partitions will be aligned on 2048-sector boundaries" Should this not be 4096?
I am not sure how to 'properly' create this new drive. I tried parted and fdisk just to test and got different results.
parted:
Code:Disk /dev/sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: SSD 870 EVO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 387AC041-B35A-4E90-81A0-9A39874E8AD7
Device Start End Sectors Size Type
/dev/sda1 2048 7814035455 7814033408 3.6T Linux filesystemfdisk:
Code:Disk /dev/sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: SSD 870 EVO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5354FBEA-0F16-884A-A808-D0337DAEE46E
Device Start End Sectors Size Type
/dev/sda1 2048 7814037134 7814035087 3.6T Linux filesystemViewing this drive on gdisk, it states: "Partitions will be aligned on 2048-sector boundaries" Should this not be 4096?