[Bug 1666705] [NEW] btrfs-debug-tree --uuid doesn't work

Ryan Harper 1666705 at bugs.launchpad.net
Tue Feb 21 22:16:55 UTC 2017


Public bug reported:

Running btrfs-debug-tree --uuid /dev/vdb returns only the program version, nothing about the UUID.
I can correctly see the UUID in the --root output and others but --uuid does not return that value.

1. root at z-oestrous-suellen:~# lsb_release -rd
Description:	Ubuntu Zesty Zapus (development branch)
Release:	17.04

2. root at z-oestrous-suellen:~# apt-cache policy btrfs-progs
btrfs-progs:
  Installed: 4.9.1-1
  Candidate: 4.9.1-1
  Version table:
 *** 4.9.1-1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
        100 /var/lib/dpkg/status

3. # btrfs-debug-tree --uuid /dev/vdb 
btrfs-progs v4.9.1
uuid 18b91995-0cc5-43a9-a3e0-d9c738d035e6
   # 

4. # btrfs-debug-tree --uuid /dev/vdb 
btrfs-progs v4.9.1
   #


Here's the --root output:


~# btrfs-debug-tree --roots /dev/vdb 
btrfs-progs v4.9.1
root tree: 29491200 level 0
chunk tree: 20987904 level 0
extent tree key (EXTENT_TREE ROOT_ITEM 0) 29458432 level 0
device tree key (DEV_TREE ROOT_ITEM 0) 29474816 level 0
fs tree key (FS_TREE ROOT_ITEM 0) 29360128 level 0
checksum tree key (CSUM_TREE ROOT_ITEM 0) 29425664 level 0
data reloc tree key (DATA_RELOC_TREE ROOT_ITEM 0) 29442048 level 0
total bytes 42949672960
bytes used 114688
uuid 18b91995-0cc5-43a9-a3e0-d9c738d035e6

root at z-oestrous-suellen:~# ls -al /dev/disk/by-uuid/ | grep vdb
lrwxrwxrwx 1 root root   9 Feb 21 22:02 18b91995-0cc5-43a9-a3e0-d9c738d035e6 -> ../../vdb

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: btrfs-progs 4.9.1-1
ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5
Uname: Linux 4.9.0-15-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Tue Feb 21 22:06:14 2017
Ec2AMI: ami-0000056c
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: btrfs-progs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: btrfs-progs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images zesty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-progs in Ubuntu.
https://bugs.launchpad.net/bugs/1666705

Title:
  btrfs-debug-tree --uuid doesn't work

Status in btrfs-progs package in Ubuntu:
  New

Bug description:
  Running btrfs-debug-tree --uuid /dev/vdb returns only the program version, nothing about the UUID.
  I can correctly see the UUID in the --root output and others but --uuid does not return that value.

  1. root at z-oestrous-suellen:~# lsb_release -rd
  Description:	Ubuntu Zesty Zapus (development branch)
  Release:	17.04

  2. root at z-oestrous-suellen:~# apt-cache policy btrfs-progs
  btrfs-progs:
    Installed: 4.9.1-1
    Candidate: 4.9.1-1
    Version table:
   *** 4.9.1-1 500
          500 http://nova.clouds.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
          100 /var/lib/dpkg/status

  3. # btrfs-debug-tree --uuid /dev/vdb 
  btrfs-progs v4.9.1
  uuid 18b91995-0cc5-43a9-a3e0-d9c738d035e6
     # 

  4. # btrfs-debug-tree --uuid /dev/vdb 
  btrfs-progs v4.9.1
     #

  
  Here's the --root output:

  
  ~# btrfs-debug-tree --roots /dev/vdb 
  btrfs-progs v4.9.1
  root tree: 29491200 level 0
  chunk tree: 20987904 level 0
  extent tree key (EXTENT_TREE ROOT_ITEM 0) 29458432 level 0
  device tree key (DEV_TREE ROOT_ITEM 0) 29474816 level 0
  fs tree key (FS_TREE ROOT_ITEM 0) 29360128 level 0
  checksum tree key (CSUM_TREE ROOT_ITEM 0) 29425664 level 0
  data reloc tree key (DATA_RELOC_TREE ROOT_ITEM 0) 29442048 level 0
  total bytes 42949672960
  bytes used 114688
  uuid 18b91995-0cc5-43a9-a3e0-d9c738d035e6

  root at z-oestrous-suellen:~# ls -al /dev/disk/by-uuid/ | grep vdb
  lrwxrwxrwx 1 root root   9 Feb 21 22:02 18b91995-0cc5-43a9-a3e0-d9c738d035e6 -> ../../vdb

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: btrfs-progs 4.9.1-1
  ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5
  Uname: Linux 4.9.0-15-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  Date: Tue Feb 21 22:06:14 2017
  Ec2AMI: ami-0000056c
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: btrfs-progs
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-progs/+bug/1666705/+subscriptions



More information about the foundations-bugs mailing list