This bug was fixed in the package systemd - 245.4-4ubuntu3.3
---
systemd (245.4-4ubuntu3.3) focal; urgency=medium
[ Rafael David Tinoco ]
* d/p/lp1861941-dont-generate-disk-byuuid-for-bcache-uuid.patch:
Reworded and reintroduced patch to fully explain delta is NOT a fix to
root@lp1861941-f:~# dpkg -l systemd|grep systemd
ii systemd245.4-4ubuntu3.2 amd64system and service manager
root@lp1861941-f:~# dpkg -l udev|grep udev
ii udev 245.4-4ubuntu3.2 amd64/dev/ and hotplug management
daemon
root@lp1861941-f:~# ls -l /dev/disk/by-uuid/$
Hello Ryan, or anyone else affected,
Accepted systemd into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/245.4-4ubuntu3.3 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wi
This bug was fixed in the package linux - 5.8.0-18.19
---
linux (5.8.0-18.19) groovy; urgency=medium
* groovy/linux: 5.8.0-18.19 -proposed tracker (LP: #1893047)
* Packaging resync (LP: #1786013)
- update dkms package versions
* Groovy update: v5.8.4 upstream stable releas
This bug was fixed in the package bcache-tools - 1.0.8-2ubuntu0.18.04.1
---
bcache-tools (1.0.8-2ubuntu0.18.04.1) bionic; urgency=medium
[ Ryan Harper ]
* Add helper script to read bcache devs superblock (LP: #1861941)
-- Rafael David Tinoco Wed, 05 Aug 2020
17:44:05 -0300
**
Bionic verification:
$ apt changelog bcache-tools | head -10
bcache-tools (1.0.8-2ubuntu0.18.04.1) bionic; urgency=medium
[ Ryan Harper ]
* Add helper script to read bcache devs superblock (LP: #1861941)
-- Rafael David Tinoco Wed, 05 Aug 2020
17:44:05 -0300
bcache-tools (1.0.8-2build1)
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Tit
Hello Ryan, or anyone else affected,
Accepted bcache-tools into bionic-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/bcache-
tools/1.0.8-2ubuntu0.18.04.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new packag
This bug was fixed in the package bcache-tools - 1.0.8-3ubuntu0.1
---
bcache-tools (1.0.8-3ubuntu0.1) focal; urgency=medium
[ Ryan Harper ]
* Add helper script to read bcache devs superblock (LP: #1861941)
-- Rafael David Tinoco Thu, 23 Jul 2020
00:33:50 +
** Changed in:
Deescalated to high.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage notifications about this bug go to:
https://bugs.la
** Changed in: systemd (Ubuntu Bionic)
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To
SRU TEAM:
Summary is the one above. The reason why Bionic SRU makes sense was
discussed with @paelzer during merge review:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-
tools/+git/bcache-tools/+merge/388774/comments/1022492
Thanks for reviewing the SRU.
@rafaeldtinoco
** Des
CURRENT STATUS:
SUMMARY:
BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941
TESTCASE: https://paste.ubuntu.com/p/37KGy2Smnp/
PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941
BCACHE-TOOLS:
GROOVY: https://tinyurl.com/yxonp5hz (merged)
FOCAL: https://tinyurl.co
** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/388774
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcach
VERIFICATION FOR FOCAL:
(k)rafaeldtinoco@bcachefocal:~$ apt-cache policy bcache-tools
bcache-tools:
Installed: (none)
Candidate: 1.0.8-3ubuntu0.1
Version table:
1.0.8-3ubuntu0.1 500
500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64
Packages
1.0.8-3 500
Hello Ryan, or anyone else affected,
Accepted bcache-tools into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/bcache-
tools/1.0.8-3ubuntu0.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
This bug was fixed in the package bcache-tools - 1.0.8-4ubuntu1
---
bcache-tools (1.0.8-4ubuntu1) groovy; urgency=medium
[ Ryan Harper ]
* Revert "Keep symlinks when udev changes /dev/bcacheN"
* Add helper script to read bcache devs superblock (LP: #1861941)
-- Rafael David Ti
SUMMARY:
BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941
TESTCASE: https://paste.ubuntu.com/p/37KGy2Smnp/
PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941
BCACHE-TOOLS:
GROOVY: https://tinyurl.com/yxonp5hz (needs-review for an upload)
FOCAL: https://tinyurl
I tested ppa:rafaeldtinoco/lp1861941 several times today on a focal setup where
it failed 100%.
Glad to report it passes without issue every single time now.
Thank you
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.laun
** Merge proposal unlinked:
https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387991
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-u
Just spoke to @ddstreet about the SYSTEMD-UDEV merges. We are discussing
if we should keep the udev delta (from upstream) or not, considering
that the issue will be already fixed by bcache-tools and udev change
would only serve not to have backing devices at /dev/disk/by-uuid and
/dev/disk/by-label
BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941
TESTCASE: https://paste.ubuntu.com/p/37KGy2Smnp/
PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941
BCACHE-TOOLS:
GROOVY: https://tinyurl.com/yxonp5hz
FOCAL: https://tinyurl.com/y3tbd3un
SYSTEMD-UDEV:
GROOVY: p
** Merge proposal linked:
https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387991
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uui
systemd (udev) is fixed for Groovy:
systemd (245.6-1ubuntu1) groovy; urgency=medium
[ Ryan Harper ]
* Skip over by-uuid/by-label symlinks for bcache backing and cache devices (LP:
#1861941)
File: debian/patches/lp1861941-dont-generate-disk-byuuid-for-bcache-uuid.patch
https://git.launchpad.
About blkid fix: Ryan has explained carefully how to obtain FS UUID from
the backing device at:
https://github.com/systemd/systemd/pull/16317#issuecomment-655574875
and about bcache-export-cached wrapper he created for simulating
CACHED_UUID and CACHED_LABEL (at 69-bcache.rules) and to create
/de
PPA containing (for now) fixes for Groovy and Focal:
https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941
will contain fix for Bionic as well.
Testcase: https://paste.ubuntu.com/p/37KGy2Smnp/
Testcase passes for both versions when having PPA pkgs installed.
--
You received this bug
Focal Merge Request:
FOCAL: https://tinyurl.com/y3tbd3un
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage notifications
** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/387909
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcach
Groovy Merge Request:
BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941
PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941
GROOVY: https://tinyurl.com/yxonp5hz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/387908
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcach
Upstream patch submitted (amended from Ryan's previous patch) with a
minor PATH fix:
- https://github.com/koverstreet/bcache-tools/pull/6/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
Debian patch submitted (removed previous patch and proposed new one
based on what was proposed to upstream):
https://salsa.debian.org/debian/bcache-tools/-/merge_requests/2
Tests are good, I could run testcase multiple times and wasn't able to
reproduce the original issue.
** Changed in: bcache-
I'm setting this bug to In Progress so I can better track reverted fix
and the new one in both packages for all Ubuntu versions.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache b
TODOs (currently being started):
1 - adjust/add bcache-tools patch to use bcache-super-show (full path)
(bcache-tools - bionic | focal | groovy)
1.1 - Ubuntu kernel patches for CACHED UUID resubmission could be removed
(linux - bionic | focal | groovy) IF (1) is done and SRU'ed
1.2 - W
Alright. +1 on you last comment. Thanks for the feedback! I'll work on
that!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To ma
@Rafael
It's in both places:
https://github.com/koverstreet/bcache-tools/pull/1
I can update the PR there as well; though I don't think upstream cares
as Kent's working on bcachefs instead of bcache AFAICT.
> I see that you are trying to come up with something nor relying in the
kernel fix (to
And now, after reading it all, I do follow your comment:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941/comments/47
with the proposed changed. As you're probably not fully dedicated to
this, and I can be, I'll give your suggestions a try, possibly among
with other things, and post
@raharper,
quick question... I see that you are trying to come up with something
nor relying in the kernel fix (to throw the variables again after pivot
root, etc..)
https://github.com/g2p/bcache-tools/pull/29/#issue-169277283
why are you merging in
"github.com/g2p" ? and not in "github.com/kov
@raharper,
Great to know.. thanks! I'm in the "reading phase".. I think I managed
to read all the history until now.. now I'm reading your analysis for
this bug more carefully, knowing the history...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscrib
Status from old attempts to solve same nature issues:
Older (2018) merge request from @raharper:
https://github.com/koverstreet/bcache-tools/pull/1
addressing the fact that kernel uevents would not always emit
CACHED_UUID parameters, making udev to delete (whenever that happens)
/dev/bca
@Rafael
For bcache-tools changes, bcache-export-cached-uuid needs the full path
to bcache-super-show, as PATH is not exported when running from udev.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861
Alright, summarizing this so far, we have the following fixes landed in
Groovy:
udev (systemd pkg):
- 60-persistent-storage.rules: skip_bcache_fs_type:
- /dev/disk/by-uuid/_ and /dev/disk/by-label/_ not created for bcache devs
Since it does not make sense to have the caching device symlink lik
** No longer affects: util-linux (Ubuntu)
** No longer affects: bcache-tools (Ubuntu Groovy)
** Changed in: bcache-tools (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: bcache-tools (Ubuntu)
Importance: High => Medium
** Changed in: systemd (Ubuntu)
Importance: High => Me
** No longer affects: linux-signed (Ubuntu Bionic)
** No longer affects: linux-signed (Ubuntu Groovy)
** No longer affects: linux-signed (Ubuntu Focal)
** No longer affects: linux (Ubuntu Groovy)
** Changed in: systemd (Ubuntu Groovy)
Assignee: Balint Reczey (rbalint) => (unassigned)
** N
Thanks Marian... I'm now currently working on this issue and will
provide feedback soon here...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after moun
Just for the record, last week I tried mitigation/workaround as
described in https://paste.ubuntu.com/p/JTB6vYbbkV/ on focal. It failed
exactly the same as without those changes. I reported back to Rafael.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is sub
I'm having similar issues to this bug and those described by Dmitrii in
https://bugs.launchpad.net/charm-ceph-osd/+bug/1883585 specifically
comment #2 and the last comment.
It appears that if I run 'udevadm trigger --subsystem-match=block', I
get my by-dname devices for bcaches, but if I run udeva
Relevant package revisions for comment #50:
bcache-tools 1.0.8-2build1
snapd2.45.1+18.04.2
systemd 237-3ubuntu10.41
udev 237-3ubuntu10.41
and snaps:
Name Version
I've removed the linux projects from this bug at it's been determined to
not be a kernel issue (see comment 47 for a good summary).
** No longer affects: linux-signed (Ubuntu)
** No longer affects: linux (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, whi
** Merge proposal linked:
https://code.launchpad.net/~paride/curtin/+git/curtin/+merge/387217
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mou
** Changed in: linux-signed (Ubuntu Groovy)
Assignee: Colin Ian King (colin-king) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear aft
Ok, I'm going to revert this from the queued-up focal commits before
uploading, as IIUC the /dev/disk/by-uuid/ symlink shouldn't actually
matter, since the symlink that should be used is /dev/bcache/by-uuid/.
And based on comment 47 it sounds like that's accurate, and the real fix
needs to go into
@ddstreet
I'm not sure where upstream is going just yet. For Ubuntu; I think
1) Adjusting the bcache-tools patch to use the full path to bcache-
super-show should change;
2) If we fix (1) then I think we can drop the systemd patch from a bug
fixing perspective; on the openSUSE image I did testi
@rbalint @raharper a commit is in the ubuntu-focal git repo for this:
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3c228b1d9c5d83d7f0f7b7d8f2053a81de57f33c
I was prepping focal for upload, but on reading the last few comments,
should I revert that commit from the fo
On Tue, Jun 30, 2020 at 6:35 AM Balint Reczey <1861...@bugs.launchpad.net>
wrote:
> @raharper I've forwarded the systemd fix for you with minimal tidying of
> the commit message https://github.com/systemd/systemd/pull/16317
Thanks!
>
> --
> You received this bug notification because you are su
@raharper I've forwarded the systemd fix for you with minimal tidying of
the commit message https://github.com/systemd/systemd/pull/16317
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
** Also affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: bcache-tools (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: linux-signed (Ubuntu
Reopening against bcache-tools according to @raharper's comment about
preferring a different fix.
https://bugs.launchpad.net/ubuntu/groovy/+source/bcache-tools/+bug/1861941/comments/28
** Changed in: bcache-tools (Ubuntu Groovy)
Status: Fix Released => Triaged
** Changed in: bcache-tools
** Changed in: systemd (Ubuntu Focal)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manag
Is it possible to backport this ^ to Bionic?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage notifications about this bu
This bug was fixed in the package systemd - 245.6-1ubuntu1
---
systemd (245.6-1ubuntu1) groovy; urgency=medium
[ Balint Reczey ]
* Merge to Ubuntu from Debian unstable
- Dropped changes:
* Don't try calling NULL callback in bus_wait_for_units_clear.
* test: Skip test-boo
The environment used is bionic/4.15.0-106-generic
$ dpkg -l | grep bcache-tools
ii bcache-tools 1.0.8-2build1
amd64bcache userspace tools
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Subscring ~field-critical as blocked by it on a customer deployment.
Seems like the duplicate of the one below
https://bugs.launchpad.net/charm-ceph-osd/+bug/1883585
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpa
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux-signed (Ubuntu Focal)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: bcache-tools (Ubuntu Focal)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux-signed (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
@raharper Thanks, I've uploaded the systemd fix to Groovy. Could you
please forward it to upstream?
Also please update bcache-tools since it is Server Team's package and I
also can't upload to Debian until the next keyring refresh.
--
You received this bug notification because you are a member o
systemd debdiff with a fix to skip creating /dev/disk/by-uuid for bcache
backing, caching devices.
** Patch added: "lp1861941-skip-bcache-links.debdiff"
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1861941/+attachment/5375730/+files/lp1861941-skip-bcache-links.debdiff
--
You r
Tarball of a source package with a fix for this issue:
bcache-tools_1.0.8.orig.tar.gz
bcache-tools_1.0.8-4ubuntu1_amd64.build
bcache-tools_1.0.8-4ubuntu1_amd64.buildinfo
bcache-tools_1.0.8-4ubuntu1_amd64.changes
bcache-tools_1.0.8-4ubuntu1_amd64.deb
bcache-tools_1.0.8-4ubuntu1.debian.tar.xz
bcache
debdiff of the changes
** Attachment added: "bcache-tools-debdiff-1.0.8-4_to_1.0.8-4ubuntu1"
https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941/+attachment/5375722/+files/bcache-tools-debdiff-1.0.8-4_to_1.0.8-4ubuntu1
--
You received this bug notification because you are a m
Updated test to be a bit more resilient.
** Attachment added: "test-bcache-byuuid-links-fixed.sh"
https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941/+attachment/5375723/+files/test-bcache-byuuid-links-fixed.sh
--
You received this bug notification because you are a member of
OK.
I've reviewed the kernel code, and there are no unexpected changes w.r.t
the CACHED_UUID change event. So I don't think we will need any kernel
changes which is good.
With the small change to the 60-persistent-storage.rules to not attempt
to create a /dev/disk/by-uuid symlink for the backing
Digging deeper and walking through this in a focal vm, I'm seeing some
strange things.
Starting with a clean disk, and just creating the backing device like
so:
make-bcache -B /dev/vdb
We see /dev/bcache0 get created with vdb as the backing device. Now,
after this, I see:
/dev/bcache/by-uuid/
@Balint
I do not thing the fix you're released is correct, can you upload a new
version without the scripts?
Also, we should fix make-bcache -B to ensure that cset.uuid is not
initialized; that may be why the kernel thinks it should emit the
CACHED_UUID if the suerpblock of the device has a cset.
That doesn't explain why they show up sometimes, but not all of
the time.
There are 3 devices in play here.
* The backing device, let's say /dev/vda; this is where we want
to store the data.
* The caching device, let's say /dev/vdb; this holds the cache.
* The bcache device; this only appears
@raharper To my understanding with the change action udev removes the
DEVLINKS which are not still valid. Udev can't tell which links are
still valid in cache/by-*.
The only reason udev knows about the links is because the rule added
them with SYMLINK+= when the dev was created and it is a sane as
This bug was fixed in the package bcache-tools - 1.0.8-4
---
bcache-tools (1.0.8-4) unstable; urgency=medium
[ Debian Janitor ]
* Trim trailing whitespace.
* Bump debhelper from old 11 to 12.
* Set debhelper-compat version in Build-Depends.
[ Balint Reczey ]
* Add Salsa C
I guess I don't understand why we see this in focal. The two events in
Colin's trace always happen on any Ubuntu kernel. We should see if we
can get another udev trace on bionic that captures both CHANGE events,
one will be from the bcache driver itself, and one is from the block
layer. THe orde
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage notifications about this bug go to:
https://bugs.la
The reason for udev cleaning up the links is that they are missing from the
change event's DEVLINKS.
Since bcache-tools manages those symlinks IMO it should keep them around.
Please take a look at the attached patch, I'll upload it if it is OK.
** Patch added: "bcache-tools_1.0.8-3ubuntu1.patch"
** Changed in: systemd (Ubuntu Groovy)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage
This appears not to be a kernel issue per-se, so any idea of an ETA for
a fix with udev for this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mo
** Package changed: linux-signed-5.4 (Ubuntu) => linux-signed (Ubuntu)
** Also affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: linux-signed (Ubuntu Focal)
Importance:
** Tags added: id-5eb42c73b200d93d8fb66e1e
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage notifications about this bug
** Tags added: rls-gg-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage notifications about this bug go to:
https
** Merge proposal linked:
https://code.launchpad.net/~rbalint/ubuntu/+source/systemd/+git/systemd/+merge/382712
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links
** Merge proposal unlinked:
https://code.launchpad.net/~rbalint/ubuntu/+source/systemd/+git/systemd/+merge/382712
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid link
udev source package last existed in precise. systemd-udevd is now
shipped in src:systemd, please file all future udev bugs against systemd
as a starting point.
** Package changed: udev (Ubuntu) => systemd (Ubuntu)
** Changed in: systemd (Ubuntu)
Assignee: Dimitri John Ledkov (xnox) => Balint
Following up my question; we should see both events in all kernels.
The first event is when the /dev/bcache0 is joined with a cache device,
and emitts the CACHED_UUID value in the uevent; the UUID is the *backing
device bcache metadata UUID* it is not related to the content contained
within the b
So, this looks like the bug to me:
Apr 21 14:15:43 ubuntu-focal systemd-udevd[1916]: bcache0:
/usr/lib/udev/rules.d/60-persistent-storage.rules:112 LINK
'disk/by-uuid/30b28bee-6a1e-423d-9d53-32c78ba5454a'
Apr 21 14:15:43 ubuntu-focal systemd-udevd[1916]: bcache0: Updating old name,
'/dev/bcache
Do we have any more information on why we now get two events in Focal?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
To manage n
The good news is that the bcache events are reaching udev, however the
/usr/lib/udev/rules.d/60-persistent-storage.rules rules may need to be
modified to ignore bcache specific events.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
ht
I think we need a udev plumbing expert, I've exhausted my udev
knowledge.
For older releases such as bionic we have one event:
UDEV [1304.304437] change /devices/virtual/block/bcache0 (block)
.ID_FS_TYPE_NEW=
ACTION=change
CACHED_LABEL=
CACHED_UUID=0192e0a7-9d8e-4771-9bb1-d730a2f66a9d
DEVLINKS=/d
Thanks for the data. I suspect the racy nature is why I can't reproduce
it on my H/W, perhaps the I/O and/or CPU speeds are relevant in tripping
the issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
I'm on Focal desktop, running kvm like so
qemu-system-x86_64 -smp 2 -m 1024 --enable-kvm \
-drive id=disk0,if=none,format=qcow2,file=bionic-bcache-links.qcow2 \
-device virtio-blk-pci,drive=disk0,bootindex=0 \
-drive id=disk1,if=none,format=raw,file=bcache1.img \
-device virtio-blk-pci,dri
It appears that it's always been a touch racy. Curtin does not create
bcaches like the script does (make-bcache --wipe-bcache -C /dev/sdc -B
/dev/sdb), rather we make the cache-dev and backing dev separately, and
then attach them by echoing the cacheset uuid into the bcache device
attach sysfs fil
Requested output on bionic release image (4.15-20)
** Attachment added: "bcache-release-4.15-20.txt"
https://bugs.launchpad.net/ubuntu/+source/linux-signed-5.4/+bug/1861941/+attachment/5350481/+files/bcache-release-4.15-20.txt
--
You received this bug notification because you are a member o
Requested data from a daily cloud image with 4.15-76
** Attachment added: "bcache-daily-4.15-76.txt"
https://bugs.launchpad.net/ubuntu/+source/linux-signed-5.4/+bug/1861941/+attachment/5350483/+files/bcache-daily-4.15-76.txt
--
You received this bug notification because you are a member of
I've tested this with 4.15, 5.0, 5.3 and 5.4 kernels on bionic, eoan and
focal and I'm getting the same results, always a failure. I've not got
it to work at all on 4.15.0 so far. I'm not sure why this is.
Can you run this on a 4.15 based system and gather the output from bash
-x ./test-bcache-by
** Changed in: linux-signed-5.4 (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux-signed-5.4 (Ubuntu)
Assignee: (unassigned) => Colin Ian King (colin-king)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bu
1 - 100 of 105 matches
Mail list logo