Hello,
recently I have bought a new Seagate Expansion drive with the capacity of 5TB. I’ve installed DietPi x64 on it through etcher. After the install, I resized the drive in disk manager but it still only shows 561.3 GB available of of 4.6TB possible. What can I do to make it work?
Here is the outcome from cat /var/tmp/dietpi/logs/fs_partition_resize.log:
root@DietPi:~# cat /var/tmp/dietpi/logs/fs_partition_resize.log
Removed /etc/systemd/system/local-fs.target.wants/dietpi-fs_partition_resize.ser vice.
The size of this disk is 4.6 TiB (5000981077504 bytes). DOS partition table form at cannot be used on drives for volumes larger than 2199023255040 bytes for 512- byte sectors. Use GUID partition table format (GPT).
Disk /dev/sda: 4.6 TiB, 5000981077504 bytes, 9767541167 sectors
Disk model: Expansion
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: dos
Disk identifier: 0xad09722e
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA)
/dev/sda2 532480 1177606574 1177074095 561.3G 83 Linux
/dev/sda2:
New situation:
Disklabel type: dos
Disk identifier: 0xad09722e
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA)
/dev/sda2 532480 1177606574 1177074095 561.3G 83 Linux
The partition table has been altered.
resize2fs 1.44.5 (15-Dec-2018)
The filesystem is already 147134261 (4k) blocks long. Nothing to do!