# Virtualisation

# Hyper-V



# Créer VM

Ouvrir le gestionnaire Hyper-V:

[![image.png](https://cavallone.fr/uploads/images/gallery/2024-10/scaled-1680-/QSYPljjXvKnC4aOs-image.png)](https://cavallone.fr/uploads/images/gallery/2024-10/QSYPljjXvKnC4aOs-image.png)

  
Faire nouveau Ordinateur Virtuel :

[![image.png](https://cavallone.fr/uploads/images/gallery/2024-10/scaled-1680-/Uvpfk4ZmBlzywAUc-image.png)](https://cavallone.fr/uploads/images/gallery/2024-10/Uvpfk4ZmBlzywAUc-image.png)

  
Definir le Nom (changer le chemin si nécessaire) :

[![image.png](https://cavallone.fr/uploads/images/gallery/2024-10/scaled-1680-/7Exn5GVAcrRbEIuG-image.png)](https://cavallone.fr/uploads/images/gallery/2024-10/7Exn5GVAcrRbEIuG-image.png)

[![image.png](https://cavallone.fr/uploads/images/gallery/2024-10/scaled-1680-/BQVzzwuqfdyNWObC-image.png)](https://cavallone.fr/uploads/images/gallery/2024-10/BQVzzwuqfdyNWObC-image.png)

# Convertir OVA en VHDX

Ovftool.exe "C:\\chemin\\nomdelova.ova" "C:\\chemin\\nomduvhx.vhx"

Une fois l'image converti

qemu-img convert –f vmdk –O vhdx "C:\\chemin\\nomduvmdk.vmdk" "C:\\chemin\\nomduvhdx.vhdx"

Créer une vm dans hyperv et importer le disque VHDX

# Proxmox



# Agrandissement Espace Disque

Allez sur data center et dans storage  
 [![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/M3DH92lzrJZKfKZE-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/M3DH92lzrJZKfKZE-image.png)

Puis delete local-lvm

[![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/tJdsLepyNuOBpJWr-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/tJdsLepyNuOBpJWr-image.png)

Allez sur le nom de la node et sur l’option shell

[![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/x4lVe6rw8V4vdFU7-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/x4lVe6rw8V4vdFU7-image.png)

Rentrer les commandes suivantes :

```bash
lvremove /dev/pve/data
```

[![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/iLXxEfQKgFUs8aut-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/iLXxEfQKgFUs8aut-image.png)

```bash
lvresize -l +100%FREE /dev/pve/root
```

[![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/s8IfMgYFk8V8ARfE-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/s8IfMgYFk8V8ARfE-image.png)

```bash
resize2fs /dev/mapper/pve-root
```

 [![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/Et40SzoeaCJOJB5m-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/Et40SzoeaCJOJB5m-image.png)

Aller maintenant dans datacenter et storage

[![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/18zb3Y2f2reP1qq3-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/18zb3Y2f2reP1qq3-image.png)

  
Editer le disque présent et ajouter à la sélection Disk Image

[![image.png](https://cavallone.fr/uploads/images/gallery/2025-03/scaled-1680-/yp3E6CwhZWDPhP7r-image.png)](https://cavallone.fr/uploads/images/gallery/2025-03/yp3E6CwhZWDPhP7r-image.png)