新建存储池,包括多块硬盘 lsblk pvcreate /dev/sdb /dev/sdc /dev/sdd vgcreate thin-pool /dev/sdb /dev/sdc /dev/sdd lvcreate -T thin-pool/data -l +99%FREE pvesm add lvmthin thin-pool-data –content rootdir,images –thinpool data –vgname thin-pool Reference adding a disk and set it as lvm-thin: help needed, please

新建存储池,包括多块硬盘

1
2
3
4
5
lsblk
pvcreate /dev/sdb /dev/sdc /dev/sdd
vgcreate thin-pool /dev/sdb /dev/sdc /dev/sdd
lvcreate -T thin-pool/data -l +99%FREE
pvesm add lvmthin thin-pool-data --content rootdir,images --thinpool data --vgname thin-pool

Reference