proxmox-maison.md 1.2 KB

% Installation d'une Box proxmox

Nécessité de réserver une partition en ZFS pour le TPM

How to Fix (Workaround) Proxmox VE (PVE) with TPM 2.0 can’t have snapshots “The current guest configuration does not support taking new snapshots”

Création du lvgroup

Après avoir fait lvresize sur /var pour gagner 300Mo en mode rescue

# lvresize --resizefs --size SIZE /dev/vg/vg_data

Shrinking an Ext4 File System on LVM in Linux - SysTutorials

lhbox:~# lvcreate -L 40G -n tpm lhbox-vg
  Logical volume "tpm" created.
lhbox:~# lvconvert --type thin-pool /dev/lhbox-vg/tpm 
  Thin pool volume with chunk size 64.00 KiB can address at most <15.88 TiB of data.
  WARNING: Converting lhbox-vg/tpm to thin pool's data volume with metadata wiping.
  THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
Do you really want to convert lhbox-vg/tpm? [y/n]: y
  Converted lhbox-vg/tpm to thin pool.

Puis créer un LVM-thin dans Datacenter > Storage