Debian Bug report logs - #890446
bcache-tools: /dev/bcache/{by-uuid,by-label} symlinks not present after reboot

version graph

Package: bcache-tools; Maintainer for bcache-tools is David Mohr <david@mcbf.net>; Source for bcache-tools is src:bcache-tools (PTS, buildd, popcon).

Reported by: Ryan Harper <ryan.harper@canonical.com>

Date: Wed, 14 Feb 2018 20:27:01 UTC

Severity: normal

Found in version bcache-tools/1.0.8-2

Forwarded to https://github.com/koverstreet/bcache-tools/pull/1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, David Mohr <david@mcbf.net>:
Bug#890446; Package bcache-tools. (Wed, 14 Feb 2018 20:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ryan Harper <ryan.harper@canonical.com>:
New Bug report received and forwarded. Copy sent to David Mohr <david@mcbf.net>. (Wed, 14 Feb 2018 20:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ryan Harper <ryan.harper@canonical.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bcache-tools: /dev/bcache/{by-uuid,by-label} symlinks not present after reboot
Date: Wed, 14 Feb 2018 20:12:08 +0000
Package: bcache-tools
Version: 1.0.8-2+b1
Severity: normal

Dear Maintainer,

1. configure a single bcache caching device:

   make-bcache -C /dev/vdc

2. configure two backing devices on the same cache: 

   make-bcache -B /dev/vdb1
   make-bcache -B /dev/vdb2

3. Add labels:

   echo "this-was-bcache0-vdb1" | sudo tee /sys/class/block/bcache0/bcache/label
   echo "this-was-bcache16-vdb2" | sudo tee /sys/class/block/bcache16/bcache/label

4. Examine /dev/bcache/{by-uuid,by-label} and confirm they point to
   bcache0 and bcache16 as expected (labels).

5. reboot

6. check /dev/bcache*


The outcome after reboot is that the /dev/bcache* directory is not
present and therefor no /dev/bcache/{by-uuid,by-label}.

However, one can check the labels via sysfs.


The expectation is that the /deb/bcache directory is populated with
stable symlinks as the bcache minor number (0, 16, etc) may change
depending on when the backing device is bound to a bcache minor number.




-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bcache-tools depends on:
ii  libblkid1  2.30.2-0.1
ii  libc6      2.24-17
ii  libuuid1   2.30.2-0.1

Versions of packages bcache-tools recommends:
ii  initramfs-tools [linux-initramfs-tool]  0.130

bcache-tools suggests no packages.

-- no debconf information



Set Bug forwarded-to-address to 'https://github.com/g2p/bcache-tools/pull/29'. Request was from Robie Basak <robie.basak@ubuntu.com> to control@bugs.debian.org. (Thu, 15 Feb 2018 10:39:08 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Robie Basak <robie.basak@ubuntu.com> to control@bugs.debian.org. (Thu, 15 Feb 2018 10:39:09 GMT) (full text, mbox, link).


Changed Bug forwarded-to-address to 'https://github.com/koverstreet/bcache-tools/pull/1' from 'https://github.com/g2p/bcache-tools/pull/29'. Request was from Ryan Harper <ryan.harper@canonical.com> to control@bugs.debian.org. (Thu, 15 Feb 2018 15:06:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, David Mohr <david@mcbf.net>:
Bug#890446; Package bcache-tools. (Tue, 27 Mar 2018 17:54:10 GMT) (full text, mbox, link).


Acknowledgement sent to Robie Basak <robie@justgohome.co.uk>:
Extra info received and forwarded to list. Copy sent to David Mohr <david@mcbf.net>. (Tue, 27 Mar 2018 17:54:10 GMT) (full text, mbox, link).


Message #16 received at 890446@bugs.debian.org (full text, mbox, reply):

From: Robie Basak <robie@justgohome.co.uk>
To: 890446@bugs.debian.org
Subject: Re: Bug#890446: bcache-tools: /dev/bcache/{by-uuid,by-label} symlinks not present after reboot
Date: Tue, 27 Mar 2018 18:51:41 +0100
[Message part 1 (text/plain, inline)]
For the record, I've been reluctant to commit this without it having
been accepted and resolved upstream.
[signature.asc (application/pgp-signature, inline)]

Removed tag(s) patch. Request was from Robie Basak <robie.basak@ubuntu.com> to control@bugs.debian.org. (Thu, 10 May 2018 12:21:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Nov 24 19:54:25 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.