新建存储池,包括多块硬盘
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
---------------------
Author: Frytea
Title: PVE 手动创建 lvm-thin-pool 加入多磁盘
Link: https://blog.frytea.com/archives/748/
Copyright: This work by TL-Song is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.