[Bug 1512116] Re: gparted ignores devid for btrfs filesystem
Curtis Gedak
gedakc at gmail.com
Sun Nov 1 16:58:30 UTC 2015
Thank you Rolf for your interest in improving GParted.
This problem was fixed upstream in GParted 0.20.0. See the following
upstream bug report:
GParted resizes the wrong filesystem (does not pass the devid to btrfs filesystem resize)
https://bugzilla.gnome.org/show_bug.cgi?id=723842
The latest version of GParted at time of writing is 0.24.0.
Unfortunately the versions packaged in Ubuntu are quite old.
** Bug watch added: GNOME Bug Tracker #723842
https://bugzilla.gnome.org/show_bug.cgi?id=723842
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1512116
Title:
gparted ignores devid for btrfs filesystem
Status in gparted package in Ubuntu:
New
Bug description:
I used gparted to move and resize one of my partitions. The partition
in question uses btrfs. The verification step failed because gparted
does not specify the devid (something specific to btrfs it seems).
"sudo btrfs filesystem resize max /tmp/gparted-h9AlSk" is the command
line that was used and failed where it should have been "sudo btrfs
filesystem resize 2:max /tmp/gparted-h9AlSk".
TEST CASE:
1) get or create a disk with a btrfs filesystem that has a different devid than 1. Easiest way is probably to create two btrfs partitions.
2) start gparted
3) Run "Partition - Check" on the partition with a devid different from 1.
The partition check will fail because btrfs assumes devid to be 1 if
none is specified (as documented in "man btrfs").
filesystem resize [devid:][+/-]<size>[gkm]|[devid:]max <path>
Resize a filesystem identified by <path> for the underlying
device devid. The devid can be found with btrfs filesystem
show and defaults to 1 if not specified.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1512116/+subscriptions
More information about the foundations-bugs
mailing list