From: Marc MERLIN <marc@merlins.org>
To: linux-bcache@vger.kernel.org
Subject: Accessing /dev/bcache/by-uuid/xxxx deletes the device
Date: Thu, 24 Mar 2016 21:04:41 -0700 [thread overview]
Message-ID: <20160325040441.GA512@merlins.org> (raw)
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
reply other threads:[~2016-03-25 4:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160325040441.GA512@merlins.org \
--to=marc@merlins.org \
--cc=linux-bcache@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.