[linux-lvm] storage-logger: Recording changes to the udev database
Alasdair G Kergon
agk at redhat.com
Fri Mar 27 20:53:29 UTC 2020
On Fri, Mar 27, 2020 at 03:50:06PM -0400, Brian McCullough wrote:
> In your instructions, you say to put the "working" script in /usr/sbin,
> while in the udev rule, it is in /sbin/
In Fedora they are the same.
> I tried adding and removing a USB-connected drive, but did not see any
> response in the journal. Should I have seen something, or are those not
You should test the script in isolation in case there are any other
differences on Debian. Change the top line to '...bash -x' so you
can watch it, set some environment variables (like ACTION=add) and
run it directly.
More information about the linux-lvm