1 (edited by cdysthe 2014-12-19 04:04:14)

Topic: Warning in Gparted related to a brtrfs partition.

Hi,

I have a large btrfs partition on my SSD drive. There's a warning in Gparted related to this parttion saying:

Label: 'ubuntu'  uuid: bfec7a12-14f1-4a95-a1d2-d04c8036a949
    Total devices 1 FS bytes used 125.00GiB
    devid    1 size 448.76GiB used 130.02GiB path /dev/sda1

Btrfs v3.14.1

What does this mean, should I worry about it and is there anything I should/could do about it?

I'm running Ubuntu 14.10 x64 with Gparted 0.19.0

2

Re: Warning in Gparted related to a brtrfs partition.

I suspect the error message is related to a problem with GParted trying to determine the file system usage statistics.

What version of GParted are you using, and on what GNU/Linux OS?

Would you be able to provide the output from the following three commands?

sudo parted /path-to-your-device unit s print

where /path-to-your-device is something like /dev/sda

sudo btrfs filesystem show /path-to-your-btrfs-partition

where /path-to-your-btrfs-partition is something like /dev/sda1

sudo blkid

3

Re: Warning in Gparted related to a brtrfs partition.

gedakc wrote:

I suspect the error message is related to a problem with GParted trying to determine the file system usage statistics.

What version of GParted are you using, and on what GNU/Linux OS?

Would you be able to provide the output from the following three commands?

sudo parted /path-to-your-device unit s print

where /path-to-your-device is something like /dev/sda

sudo btrfs filesystem show /path-to-your-btrfs-partition

where /path-to-your-btrfs-partition is something like /dev/sda1

sudo blkid

I'm running Ubuntu 14.10 x64 with GParted 0.19.0-1build1 (from the Ubuntu repos).

The output you asked for:

sudo parted /dev/sda1 unit s print
Model: Unknown (unknown)
Disk /dev/sda1: 941119488s
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number  Start  End         Size        File system  Flags
1      0s     941119487s  941119488s  btrfs

sudo btrfs filesystem show /dev/sda1
Label: 'ubuntu'  uuid: bfec7a12-14f1-4a95-a1d2-d04c8036a949
    Total devices 1 FS bytes used 125.14GiB
    devid    1 size 448.76GiB used 132.02GiB path /dev/sda1
Btrfs v3.14.1

sudo blkid
/dev/sda1: LABEL="ubuntu" UUID="bfec7a12-14f1-4a95-a1d2-d04c8036a949" UUID_SUB="fac04382-22f2-4765-b5b0-8120d3c57bc1" TYPE="btrfs" PARTUUID="c617a8f7-01"
/dev/sda2: LABEL="boot" UUID="2b2d33f0-f77f-4bbe-bb87-735546ef7e2a" TYPE="ext2" PARTUUID="c617a8f7-02"
/dev/sda3: UUID="6742254f-be9c-49ae-9fce-2d1643a0f274" TYPE="swap" PARTUUID="c617a8f7-03"

4

Re: Warning in Gparted related to a brtrfs partition.

This appears to be an exact match for Bug 733601 - Btrfs: Warnings and missing label with btrfs-progs 3.12 and 3.14 which was fixed in GParted release 0.20.0.

Quoting a bit of the commit message for Update parsing of btrfs filesystem show for the UUID (#733601):

'btrfs filesystem show /dev/PTN' command is used to query details of a btrfs file system. When the file system is mounted the command reports failed exit status 1, but only when using btrfs-progs v3.14 and v3.14.1. This causes GParted to: (1) report warnings from the failed commands for a mounted btrfs file system, (2) fail to determine file system usage figures and (3) fail to display the mount point and busy indicator for non-mounting devices in multi-device btrfs file systems. The label is also read using the secondary blkid method via the FS_Info cache.

Thanks,
Mike

5

Re: Warning in Gparted related to a brtrfs partition.

Thanks.  I upgraded GParted to 0.20.0 and the warning/error is gone.