From 719c11a14acb042339ef847dec59cae06a97ed84 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Tue, 31 Dec 2024 11:07:51 -0500 Subject: [PATCH] add truenas qcow2 to zvol instructions --- infrastructure/graduated/truenas/truenas.md | 7 +++++++ 1 file changed, 7 insertions(+) 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