Memformat data diatas 2TB harus menggunakan GPT, karena MBR hanya bisa mensupport maksimum 2TB. fdisk menggunakan MBR jadi, kita harus menggunakan tool yang lain
Menggunakan fdisk, muncul error
Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The old ext4 signature will be removed by a write command.
Device does not contain a recognized partition table.
The size of this disk is 5.5 TiB (6001175126016 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT).
Created a new DOS disklabel with disk identifier 0xc9e4bc73.
Solusinya format menggunakan parted.
install parted dari repository
apt install parted # atau dnf install parted
jalankan parted
parted /dev/sda
jalankan print untuk melihat informasi hardisk anda
Model: ATA WDC WD80EFRX-68L (scsi) Disk /dev/sda: 8001GB Sector size (logical/physical): 512B/4096B Partition Table: loop Disk Flags: Number Start End Size File system Flags 1 0.00B 8001GB 8001GB ext4
untuk memformat hardisk tersebut menjadi 1 partisi,jalankan mklabel gpt
# mklabel gpt # output Warning: The existing disk label on /dev/sda will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? yes
kita akan menggunakan ukuran TB untuk memformat hardisk ini, agar tidak banyak angka yang diketik ;) unit TB
(parted) unit TB
lalu jalankan mkpart primary 0.00TB 8.00TB, cara ini akan membuat satu partisi berukuran 8TB, untuk membuat 2 partisi dengan ukuran masing-masing 4TB, disini pilih 0.00TB 8.00TB
sekarang coba jalankan print
Model: ATA WDC WD80EFRX-68L (scsi) Disk /dev/sda: 8.00TB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 0.00TB 8.00TB 8.00TB ext4 primary
keluar dari parted, dengan perintah quit