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

Bug #1666705 reported by Ryan Harper
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
btrfs-progs (Ubuntu)
Fix Released
Undecided
Unassigned

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@z-oestrous-suellen:~# lsb_release -rd
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04

2. root@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@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)

Revision history for this message
Ryan Harper (raharper) wrote :
Revision history for this message
Adam Borowski (kilobyte) wrote :

A rm-fix has been released. btrfs-debug-tree has been deprecated in -progs 4.4, removed in 4.16, we're on 5.1 now.

So any bugs in btrfs-debug-tree are now gone, with btrfs-debug-tree itself.

Changed in btrfs-progs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.