Resize: Filesystem enlargement depends of manual partition mounting
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
CasperMD5CheckR
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
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
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
description: | updated |
description: | updated |
Changed in gnome-disk-utility: | |
status: | Unknown → New |
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/ReportingBu gs.