setting up lvm2 ans thin tools

install

apt install lvm2 thin-provisioning-tools

–or– from source

setup

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
}

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun