Bug 1176108 - Warning shown on BTRFS partition because of missing btrfs-tools package
Summary: Warning shown on BTRFS partition because of missing btrfs-tools package
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gparted
Version: 21
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-19 12:43 UTC by Patrick O'Callaghan
Modified: 2015-10-28 23:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-28 23:45:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gparted handling btrfs (331.09 KB, image/png)
2014-12-21 20:04 UTC, Mukundan Ragavan
no flags Details
Gparted main window (64.14 KB, image/png)
2014-12-23 16:42 UTC, Patrick O'Callaghan
no flags Details
Gparted warning pop-up (56.30 KB, image/png)
2014-12-23 16:43 UTC, Patrick O'Callaghan
no flags Details

Description Patrick O'Callaghan 2014-12-19 12:43:54 UTC
Description of problem:
A BTRFS partition shows a warning triangle. Right-click on the line pops up the following error message:

Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for btrfs file system support:  btrfs-tools.

However there is no btrfs-tools package in the standard Fedora repo. There is a btrfs-progs package, which is already installed. It's unclear whether this is a real error or simply a mismatched package name.

Version-Release number of selected component (if applicable):
gparted-0.18.0-3.fc21.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Fire up gparted
2.See warning triangle on BTRFS partition
3.Attempt to get explanation for warning

Actual results:
Error message (see above)

Expected results:
Explanation for error, or no warning triangle.

Additional info:
BTRFS partition created at install time when F20 was released. Recently upgraded to F21. The warning may already have been present but I hadn't noticed it before now.

Comment 1 Mukundan Ragavan 2014-12-21 20:04:24 UTC
Created attachment 971781 [details]
gparted handling btrfs

That's really weird. I do not see this at all here. :(

See screenshot attached.

Comment 2 Mukundan Ragavan 2014-12-21 20:06:52 UTC
Nevertheless, I submitted a more recent version as an update

https://admin.fedoraproject.org/updates/FEDORA-2014-17362/gparted-0.19.1-3.fc21

Could you try that and see if this issues is fixed?

In my case,

# rpm -qa gparted btrfs*
gparted-0.18.0-3.fc21.x86_64
btrfs-progs-3.17-1.fc21.x86_64


and


# rpm -qa gparted btrfs*
gparted-0.19.1-3.fc21.x86_64
btrfs-progs-3.17-1.fc21.x86_64

Comment 3 Patrick O'Callaghan 2014-12-21 20:18:57 UTC
(In reply to Mukundan Ragavan from comment #2)
> Nevertheless, I submitted a more recent version as an update
> 
> https://admin.fedoraproject.org/updates/FEDORA-2014-17362/gparted-0.19.1-3.
> fc21
> 
> Could you try that and see if this issues is fixed?
> 
> In my case,
> 
> # rpm -qa gparted btrfs*
> gparted-0.18.0-3.fc21.x86_64
> btrfs-progs-3.17-1.fc21.x86_64
> 
> 
> and
> 
> 
> # rpm -qa gparted btrfs*
> gparted-0.19.1-3.fc21.x86_64
> btrfs-progs-3.17-1.fc21.x86_64

Tried it but got the same result, i.e. the same message on the same partition.

Comment 4 Mukundan Ragavan 2014-12-21 20:26:48 UTC
That's unfortunate. Considering, I am unable to reproduce this both VM and bare metal, I am inclined to report this upstream.

Would you be able to open an upstream bug or would you prefer that I do?

Comment 5 Patrick O'Callaghan 2014-12-22 12:45:20 UTC
(In reply to Mukundan Ragavan from comment #4)
> That's unfortunate. Considering, I am unable to reproduce this both VM and
> bare metal, I am inclined to report this upstream.
> 
> Would you be able to open an upstream bug or would you prefer that I do?

I'd prefer that you do it. I'm only a very occasional user of gparted so this doesn't affect me too much. Of course the day I actually *need* to access a BTRFS partition it would be nice if it worked :-)

Comment 6 Mukundan Ragavan 2014-12-23 01:15:31 UTC
No problems. I will file an upstream bug and see what they think ... Can you attach a screenshot of what you see so that I can use it on the upstream bug report?

Thanks!

Comment 7 Patrick O'Callaghan 2014-12-23 16:42:34 UTC
Created attachment 972456 [details]
Gparted main window

Shows warning flag on BTRFS filesystem.

Comment 8 Patrick O'Callaghan 2014-12-23 16:43:51 UTC
Created attachment 972457 [details]
Gparted warning pop-up

Warning on right-clicking for Info on flagged BTRFS filesystem.

Comment 9 Mukundan Ragavan 2014-12-28 19:46:46 UTC
Thank you! I will add the external bug here as soon as I open it.

Comment 10 Mike Fleetwood 2015-07-24 22:15:13 UTC
The btrfs-tools / btrfs-progs package name question is simply because
different distributions name the package differently and the GParted
code chose to use the btrfs-tools name.  This is not relevant for your
bug.

Looking at your main window screen shot, I see that there are 2
partitions /dev/sda2 and /dev/sda7 with the same label.  I therefore
assume that this is the same btrfs file system on 2 devices.  GParted
didn't handle multi-device btrfs file systems correctly until version
0.20.0.

Reference:
GParted resizes the wrong filesystem (does not pass the devid to btrfs filesystem resize)
https://bugzilla.gnome.org/show_bug.cgi?id=723842

I see Fedora 21 has since updated to GParted 0.20.0.  You should update
to the latest GParted and repeat your test.  I expect it will work now.

Thanks,
Mike Fleetwood (GParted Developer)

Comment 11 Patrick O'Callaghan 2015-07-25 12:39:22 UTC
(In reply to Mike Fleetwood from comment #10)
> The btrfs-tools / btrfs-progs package name question is simply because
> different distributions name the package differently and the GParted
> code chose to use the btrfs-tools name.  This is not relevant for your
> bug.
> 
> Looking at your main window screen shot, I see that there are 2
> partitions /dev/sda2 and /dev/sda7 with the same label.  I therefore
> assume that this is the same btrfs file system on 2 devices.  GParted
> didn't handle multi-device btrfs file systems correctly until version
> 0.20.0.
> 
> Reference:
> GParted resizes the wrong filesystem (does not pass the devid to btrfs
> filesystem resize)
> https://bugzilla.gnome.org/show_bug.cgi?id=723842
> 
> I see Fedora 21 has since updated to GParted 0.20.0.  You should update
> to the latest GParted and repeat your test.  I expect it will work now.
> 
> Thanks,
> Mike Fleetwood (GParted Developer)

Checked again (with gparted 0.22.0) and it now works. Many thanks.

Comment 12 Patrick O'Callaghan 2015-07-25 12:39:40 UTC
(In reply to Mike Fleetwood from comment #10)
> The btrfs-tools / btrfs-progs package name question is simply because
> different distributions name the package differently and the GParted
> code chose to use the btrfs-tools name.  This is not relevant for your
> bug.
> 
> Looking at your main window screen shot, I see that there are 2
> partitions /dev/sda2 and /dev/sda7 with the same label.  I therefore
> assume that this is the same btrfs file system on 2 devices.  GParted
> didn't handle multi-device btrfs file systems correctly until version
> 0.20.0.
> 
> Reference:
> GParted resizes the wrong filesystem (does not pass the devid to btrfs
> filesystem resize)
> https://bugzilla.gnome.org/show_bug.cgi?id=723842
> 
> I see Fedora 21 has since updated to GParted 0.20.0.  You should update
> to the latest GParted and repeat your test.  I expect it will work now.
> 
> Thanks,
> Mike Fleetwood (GParted Developer)

Checked again (with gparted 0.22.0) and it now works. Many thanks.


Note You need to log in before you can comment on or make changes to this bug.