Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Jon Nelson <jnelson@jamponi.net>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs-show vs. btrfs different output
Date: Thu, 21 Mar 2013 10:11:42 -0500	[thread overview]
Message-ID: <514B232E.2050705@redhat.com> (raw)
In-Reply-To: <CAKuK5J05iXaDd7Q4fLby9vJyPXBURx06xb0_--WmgTpJ0j2RoA@mail.gmail.com>

On 3/21/13 10:04 AM, Jon Nelson wrote:
> I'm running openSUSE 12.3 x86_64 which has an unknown git version, but
> reports v0.19.
> I'm also supplying the output from git which reports itself as:
> v0.20-rc1-253-g7854c8b
> 
> The problem is that btrfs-show (git) and btrfs fi show (git) give
> /different/ output from each other which is also different from the
> (older) btrfs.
> 
> First btrfs-show (git):
> 
> **
> ** WARNING: this program is considered deprecated
> ** Please consider to switch to the btrfs utility
> **
> Label: none  uuid: b5dc52bd-21bf-4173-8049-d54d88c82240
>         Total devices 2 FS bytes used 230.34GB
>         devid    1 size 298.09GB used 298.09GB path /dev/sda
>         *** Some devices missing
> 
> Label: none  uuid: 7feedf1e-9711-4900-af9c-92738ea8aace
>         Total devices 4 FS bytes used 348.21GB
>         devid    4 size 460.76GB used 444.23GB path /dev/sdb3
>         devid    3 size 460.76GB used 444.23GB path /dev/sda3
>         devid    6 size 298.09GB used 282.53GB path /dev/sdc
>         devid    5 size 298.09GB used 282.53GB path /dev/sdd
> 
> Btrfs v0.20-rc1-253-g7854c8b
> 
> 
> Now btrfs fi show (git):
> 
> failed to open /dev/sr0: No medium found
> Label: none  uuid: 7feedf1e-9711-4900-af9c-92738ea8aace
>         Total devices 4 FS bytes used 348.21GB
>         devid    5 size 298.09GB used 282.53GB path /dev/sdd
>         devid    6 size 298.09GB used 282.53GB path /dev/sdc
>         devid    4 size 460.76GB used 444.23GB path /dev/sdb3
>         devid    3 size 460.76GB used 444.23GB path /dev/sda3
> 
> Label: none  uuid: b5dc52bd-21bf-4173-8049-d54d88c82240
>         Total devices 2 FS bytes used 230.34GB
>         devid    1 size 298.09GB used 298.09GB path /dev/sdb
>         *** Some devices missing
> 
> Btrfs v0.20-rc1-253-g7854c8b
> 
> 
> And now the (older) btrfs fi show:
> 
> failed to read /dev/sr0
> Label: none  uuid: 7feedf1e-9711-4900-af9c-92738ea8aace
>         Total devices 4 FS bytes used 348.21GB
>         devid    5 size 298.09GB used 282.53GB path /dev/sdd
>         devid    6 size 298.09GB used 282.53GB path /dev/sdc
>         devid    4 size 460.76GB used 444.23GB path /dev/sdb3
>         devid    3 size 460.76GB used 444.23GB path /dev/sda3
> 
> Btrfs v0.19+
> 
> which has similar output to the (older) btrfs-show.
> 
> 
> The differences are:
> 
> 1. the order of devices varies (not a big deal)

Heh, that is annoying though.

> 2. the current git btrfs-show and btrfs fi show both output
> *different* devices for device with UUID
> b5dc52bd-21bf-4173-8049-d54d88c82240, and they're both wrong.

does blkid output find that uuid anywhere?

Since you're working in git, can you maybe do a little bisecting
to find out when it changed?  Should be a fairly quick test?

-Eric

> Somewhat confusingly, /dev/disk/by-uuid/ only shows three devices:
> 
> bd40cb4e-93bb-4600-8455-ca1185aa8abe -> ../../md3
> 7feedf1e-9711-4900-af9c-92738ea8aace -> ../../sda3
> 4f0b27a5-5f5b-413c-a71b-b5a3bec5482c -> ../../md2
> 
> What's going on with the varied output from (git) btrfs-show vs.
> 'btrfs fi show' (vs. the older, as-shipped btrfs)?
> 
> 


  reply	other threads:[~2013-03-21 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21 15:04 btrfs-show vs. btrfs different output Jon Nelson
2013-03-21 15:11 ` Eric Sandeen [this message]
2013-03-21 15:29   ` Jon Nelson
2013-03-21 15:33     ` Helmut Hullen
2013-03-21 16:25     ` Eric Sandeen
2013-03-22  3:06       ` Anand Jain
2013-03-22 13:59       ` Jon Nelson
2013-03-22 22:34         ` Eric Sandeen
2013-03-21 15:35 ` Helmut Hullen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=514B232E.2050705@redhat.com \
    --to=sandeen@redhat.com \
    --cc=jnelson@jamponi.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox