* Accessing /dev/bcache/by-uuid/xxxx deletes the device
@ 2016-03-25 4:04 Marc MERLIN
0 siblings, 0 replies; only message in thread
From: Marc MERLIN @ 2016-03-25 4:04 UTC (permalink / raw)
To: linux-bcache
This is the weirdest bug.
gargamel:~# l /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Mar 24 20:53 ./
drwxr-xr-x 3 root root 60 Mar 24 20:53 ../
lrwxrwxrwx 1 root root 13 Mar 24 20:53 efa850e6-a82b-4b9b-9ae7-1ab9798a25ca -> ../../bcache1
gargamel:~# cryptsetup luksOpen /dev/bcache/by-uuid/efa850e6-a82b-4b9b-9ae7-1ab9798a25ca dshelf1
Enter passphrase for /dev/bcache/by-uuid/efa850e6-a82b-4b9b-9ae7-1ab9798a25ca:
device-mapper: remove ioctl on temporary-cryptsetup-27100 failed: Device or resource busy
No key available with this passphrase.
gargamel:~# l /dev/bcache*
brw-rw---- 1 root disk 251, 0 Mar 24 21:00 /dev/bcache0
brw-rw---- 1 root disk 251, 1 Mar 24 21:01 /dev/bcache1
Now the /dev/bcache/by-uuid directory is gone (I had already lost the
uuid link for bcache0 ealier).
But the devices under /dev/bcache work fine.
Is that a udev bug of some kind?
I have udev 158-1, I guess I can upgrade but I thought I'd check first.
Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-25 4:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-25 4:04 Accessing /dev/bcache/by-uuid/xxxx deletes the device Marc MERLIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.