Hi folks, I was having a look at my logs and found that during boot, the system scans for LVM’s. I don’t use them. Can I stop this service from running?
This is the relevant part of the bootlog:
linux:~ # cat /var/log/boot.log |grep LVM
OK ] Listening on LVM2 metadata daemon socket.
Starting LVM2 metadata daemon…
OK ] Started LVM2 metadata daemon.
Starting Activation of LVM2 logical volumes…
OK ] Started Activation of LVM2 logical volumes.
Starting Activation of LVM2 logical volumes…
OK ] Started Activation of LVM2 logical volumes.
Starting Activation of LVM2 logical volumes…
OK ] Started Activation of LVM2 logical volumes.
Starting Activation of LVM2 logical volumes…
OK ] Started Activation of LVM2 logical volumes.
I had no real reason to want to stop them, it is just having stuff which is never used is just one more thing to go wrong, and having spotted them there I wished to know how to stop them if they did ever start to misbehave, on another system for instance.
It took me quite a long time to run that systemd command. Far longer than the services will ever take in a lifetime of boot-ups. The reason? I am an idiot. And English. So I tried: