MENU

PVE 手动创建 lvm-thin-pool 加入多磁盘

March 12, 2023 • Read: 16 • 技术

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

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