apt install lvm2 thin-provisioning-tools
sbopkg -i thin-provisioning-tools
see lvm2-source
cd /etc/lvm/
mv -i lvm.conf lvm.conf.dist
sed -r '/^[[:space:]]*#.*/d; /^$/d;' lvm.conf.dist > lvm.conf.clean
sed -r '/^[[:space:]]*#.*/d; /^$/d;' lvm.conf.dist > lvm.conf
vi lvm.conf
devices {
obtain_device_list_from_udev = 0
issue_discards = 1
}
https://slackbuilds.org/repository/15.0/system/thin-provisioning-tools/
Difference between fsfreeze and lvm snapshot https://unix.stackexchange.com/questions/157033/difference-between-fsfreeze-and-lvm-snapshot
An LVM snapshot of an ext4 fs does not seem very clean https://serverfault.com/questions/539209/an-lvm-snapshot-of-an-ext4-fs-does-not-seem-very-clean