% 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”](https://dannyda.com/2021/10/19/how-to-fix-workaround-proxmox-ve-pve-with-tpm-2-0-cant-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

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

[Shrinking an Ext4 File System on LVM in Linux - SysTutorials](https://www.systutorials.com/shrinking-a-ext4-file-system-on-lvm-in-linux/)



```bash
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

