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 

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

Reply via email to