Resize: Filesystem enlargement depends of manual partition mounting

Bug #1983768 reported by David Hedlund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Disks
New
Unknown
gnome-disk-utility (Ubuntu)
New
Undecided
Unassigned

Bug Description

This issue is for gnome-disks, for its Resize function. I've only evaluated this for EXT4 file systems.

Works:
1) In a terminal, run $ lsblk
2) Open gnome-disks
3) Select a partition, and click on the "Mount selected" partition button.
4) Click on the "Additional partition options" button, and then on the "Resize..." entry to open the "Resize Volume" window.
5) In the "Resize Volume" window, enlarge the "Current size" and then click on the "Resize" button.
6) In the terminal, run $ lsblk again, and compare the SIZE of the partition with the previously output from lsblk
7) 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 its using: $ resize2fs -p '/dev/sda2'
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-08-03 (8 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Package: gnome-disk-utility 42.0-1ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Tags: wayland-session jammy
Uname: Linux 5.15.0-46-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

David Hedlund (g-public)
description: updated
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1983768

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
David Hedlund (g-public) wrote : Dependencies.txt

apport information

tags: added: apport-collected jammy wayland-session
description: updated
Revision history for this message
David Hedlund (g-public) wrote : ProcCpuinfoMinimal.txt

apport information

David Hedlund (g-public)
description: updated
Changed in gnome-disk-utility:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.