Package: fdisk Version: 2.33.1-0.1 File: /sbin/cfdisk debian version: 10.6.0
I installed this debian with a HDD of 20 Gio, and partitioned it manually. Here are the partitions I made, in order: 1. 256 MB - primary - beginning - ext4 – /boot – bootable flag = on 2. 1 GB - primary - beginning - swap area 3. 10 GB - primary - end - ext4 - / 4. 2 GB - logical - beginning - ext4 - /home 5. 2 GB - logical - beginning - ext4 - /tmp Here's the structure I get: # cfdisk sda1 - 243 M sda2 - 954 M sda3 - 9.3 G sda4 - 3.7 G | - sda5 - 1.9 G | - sda6 - 1.9 G Free space - 5.8 G So far so good, but after sorting the partitions: sda1 - 243 M sda2 - 954 M sda3 - 3.7 G Free space - 5.8 G sda4 - 9.3 G | - sda5 - 1.9 G | - sda6 - 1.9 G | - Free space - 15.1 G As you can see, there's only 9.3 G in sda4, but inside it, there's 15.1 G of free space. Worse, if you create a new partition of maximum size (15.1 G) on the free space in sda4, it gives this: sda1 - 243 M sda2 - 954 M sda3 - 3.7 G Free space - 5.8 G sda4 - 9.3 G | - sda5 - 1.9 G | - sda6 - 1.9 G | - sda7 - 5.8 G | - Free space - 9.3 G Worse again, if you write the partition data to the disk, quit and relaunch cfdisk, you get this: sda1 - 243 M sda2 - 954 M sda3 - 3.7 G | - sda5 - 1.9 G | - sda6 - 1.9 G | - sda7 - 5.8 G Free space - 5.8 G sda4 - 9.3 G It shows 5.8 G of free space, however, the HDD is actually full. And the size of sda3 does not correspond to the combined size of sda5, sda6 and sda7. Note that the new partition sda7 will work just fine. But if you delete sda7, you get this: sda1 - 243 M sda2 - 954 M sda3 - 3.7 G | - sda5 - 1.9 G | - sda6 - 1.9 G Free space - 5.8 G sda4 - 9.3 G I can't resize sda3 for some reason, so it's now impossible to write any new partition. Note that rebooting does not help whatsoever. Sincerely, Grégoire Roumache