[linux-lvm] storage-logger: Recording changes to the udev database
Brian McCullough
bdmc at bdmcc-us.com
Fri Mar 27 19:50:06 UTC 2020
On Thu, Mar 26, 2020 at 11:31:45PM +0000, Alasdair G Kergon wrote:
> I'm experimenting with ways of recording changes to the udev database so
> you can look back at the history of the storage stack on a particular
> machine. This is still a work-in-progress, but it's reached a point
> where I'd like more people to try it out.
>
> I've written a shell script that records data related to storage uevents
> in the system journal and a perl script that helps you to interrogate
> this data later to create a representation of the storage components.
>
> If you're interested, please try this out and let me know if you think
> pursing this approach further would lead to something that you would
> use and distributions should ship.
Quick note, Alasdair.
In your instructions, you say to put the "working" script in /usr/sbin,
while in the udev rule, it is in /sbin/
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
seen?
Thanks,
Brian
More information about the linux-lvm
mailing list