setting up lvm2 ans thin tools

install

debian

apt install lvm2 thin-provisioning-tools

slackware

sbopkg -i thin-provisioning-tools

from source

see lvm2-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
}

resources

https://slackbuilds.org/repository/15.0/system/thin-provisioning-tools/


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