LVM

Creating LVM
wipefs -a /dev/sdc /dev/sdd

pvcreate /dev/sdc /dev/sdd #(1)!

pvs #(2)!

vgcreate <name_of_volume_group> /dev/sdc /dev/sdd #(3)!

vgs #(4)!

lvcreate -T -l 100%FREE --poolmetadatasize 16G <name_of_volume_group>/<name_of_thin_pool> #(5)!

lvs -a #(6)!
  1. create pvs
  2. check if the physical volumes are successfully created
  3. create vg
  4. check if the volume group got created successfully
  5. create a thin pool LV (this might show a warning regarding the maximum size, which is fine)
  6. verify whether everything worked correctly