diff --git a/infrastructure/graduated/truenas/truenas.md b/infrastructure/graduated/truenas/truenas.md index 2df2cea..cdd767b 100644 --- a/infrastructure/graduated/truenas/truenas.md +++ b/infrastructure/graduated/truenas/truenas.md @@ -15,6 +15,7 @@ - [Cleaning up old snapshots](#cleaning-up-old-snapshots) - [VMs](#vms) - [Converting zvol to qcow2](#converting-zvol-to-qcow2) + - [Converting qcow2 to zvol](#converting-qcow2-to-zvol) - [Tunables](#tunables) - [Core](#core) - [Scale](#scale) @@ -245,6 +246,12 @@ dd if=/dev/zvol/enc1/vms/unifi-e373f of=unifi.raw qemu-img convert -f raw -O qcow2 unifi.raw unifi.qcow2 ``` +### Converting qcow2 to zvol + +```bash +qemu-img convert -O raw -p /mnt/enc0/images/haos_ova-14.1.qcow2 /dev/zvol/enc1/vms/hass-Iph4DeeJ +``` + ## Tunables ### Core