Use LVM2 library instead of shell commands
It looks like the LVM2 library is now considered public API and can be used instead of relying on run_command
. We need to figure out how to replace those calls with LVM2 API calls to reduce our reliance on running external commands.