I bought a new 2.5-inch external hard drive of 5TB in size from Seagate.
On my Linux Mint 21.1 now, I need to format the newly created partition with gdisk:
Model: Expansion HDD Sector size (logical/physical): 512/4096 bytes Disk identifier (GUID): 52CB8F84-EFAF-4EC9-B65D-6F8541A65F53 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 9767541133 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 9767541133 4.5 TiB 8300 Seagate_5TB_Ext4 visible now with fdisk as:
Disk /dev/sdb: 4.55 TiB, 5000981077504 bytes, 9767541167 sectors Disk model: Expansion HDD 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: 52CB8F84-EFAF-4EC9-B65D-6F8541A65F53 Device Start End Sectors Size Type /dev/sdb1 2048 9767541133 9767539086 4.5T Linux filesystem and I want to use Ext4 as a file system.
The question is, is there some data checksumming in place by default, or do I need to use some option like explicitly:
mkfs.ext4 -O metadata_csum,64bit /dev/path/to/disk as is stated on Ext4 Metadata Checksums Linux Kernel page?
Thank you.
Note that I, thus far, used these command-line options for Ext4:
mkfs.ext4 -L Seagate_5TB_Ext4 -m 0 -E lazy_itable_init=0,lazy_journal_init=0 /dev/sdX