Hello,
I am trying to build a very simple file server on Raspberry Pi using Arch Linux ARM
I am using LVM2. I have installed using pacman.
However, some PVs will not be available at startup. Another script will be able to connect external USB disks over USB port physically if it is needed.
If suitable PVs are available at startup, LVM forms and makes available VGs automatically. I don't want this. I want to take control over. I will write scripts for other tasks and I want to make enable VGs whenever I want by calling commands of LVM. How can I disable this behaviour of LVM? Should I disable by configuring systemd? I am very new to Arch Linux and didn't understand systemd entries of LVM so much.
Thank you.
P.S. Previously I have asked this question on Arch Linux forum but a moderator thought that I should ask on this forum since I am running ARM port! https://bbs.archlinux.org/viewtopic.php?id=219598