Resize: Filesystem enlargement depends of manual partition mounting
This issue is for the Resize function in gnome-disk-utility 42.0-1ubuntu1. I've only evaluated this for EXT4 file systems.
Works:
- In a terminal, run $ lsblk
- Open gnome-disks
- Select a partition, and click on the "Mount selected" partition button.
- Click on the "Additional partition options" button, and then on the "Resize..." entry to open the "Resize Volume" window.
- In the "Resize Volume" window, enlarge the "Current size" and then click on the "Resize" button.
- In the terminal, run $ lsblk again, and compare the SIZE of the partition with the previous output from lsblk
- Result: Both the partition and the file system will be enlarged.
Does not work:
- Run the above steps but skip step 3 (do not mount the partition).
- Result: The partition will be enlarged, but not the file system will not be enlarged.
Solution: The Resize function should automatically resize the file system, regardless if the partition is mounted or not, like gparted.
If it helps, the gparted log says that it's using: $ resize2fs -p '/dev/sda2'
Originally submitted to https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1983768