pvcreate /dev/sdc
pvcreate /dev/sdd
pvcreate /dev/sde
pvcreate /dev/sdf
vgcreate plot /dev/sdc /dev/sdd /dev/sde /dev/sdf
pvcreate /dev/nvme0n1
pvcreate /dev/nvme1n1
vgextend plot /dev/nvme0n1
vgextend plot /dev/nvme1n1
lvcreate -l 100%free -n disk1 plot /dev/sdc
lvcreate -l 100%free -n disk2 plot /dev/sdd
lvcreate -l 100%free -n disk3 plot /dev/sde
lvcreate -l 100%free -n disk4 plot /dev/sdf
lvcreate -L 450G -n disk1_c plot /dev/nvme0n1
lvcreate -L 450M -n disk1_cm plot /dev/nvme0n1
lvcreate -L 450G -n disk2_c plot /dev/nvme0n1
lvcreate -L 450M -n disk2_cm plot /dev/nvme0n1
lvcreate -L 450G -n disk3_c plot /dev/nvme1n1
lvcreate -L 450M -n disk3_cm plot /dev/nvme1n1
lvcreate -L 450G -n disk4_c plot /dev/nvme1n1
lvcreate -L 450M -n disk4_cm plot /dev/nvme1n1
lvconvert --type cache-pool --cachemode writethrough --poolmetadata plot/disk1_cm plot/disk1_c -y
lvconvert --type cache-pool --cachemode writethrough --poolmetadata plot/disk2_cm plot/disk2_c -y
lvconvert --type cache-pool --cachemode writethrough --poolmetadata plot/disk3_cm plot/disk3_c -y
lvconvert --type cache-pool --cachemode writethrough --poolmetadata plot/disk4_cm plot/disk4_c -y
lvconvert --type cache --cachepool plot/disk1_c plot/disk1 -y
lvconvert --type cache --cachepool plot/disk2_c plot/disk2 -y
lvconvert --type cache --cachepool plot/disk3_c plot/disk3 -y
lvconvert --type cache --cachepool plot/disk4_c plot/disk4 -y
mkfs.ext4 /dev/mapper/plot-disk1
mkfs.ext4 /dev/mapper/plot-disk2
mkfs.ext4 /dev/mapper/plot-disk3
mkfs.ext4 /dev/mapper/plot-disk4
#for my use case I didn't want journaling
tune2fs -o ^discard /dev/mapper/plot-disk1
tune2fs -o ^discard /dev/mapper/plot-disk2
tune2fs -o ^discard /dev/mapper/plot-disk3
tune2fs -o ^discard /dev/mapper/plot-disk4
mount /dev/mapper/plot-disk1 /data/plots/disk1
mount /dev/mapper/plot-disk2 /data/plots/disk2
mount /dev/mapper/plot-disk3 /data/plots/disk3
mount /dev/mapper/plot-disk4 /data/plots/disk4