add truenas qcow2 to zvol instructions

This commit is contained in:
2024-12-31 11:07:51 -05:00
parent b46cf20774
commit 719c11a14a

View File

@@ -15,6 +15,7 @@
- [Cleaning up old snapshots](#cleaning-up-old-snapshots) - [Cleaning up old snapshots](#cleaning-up-old-snapshots)
- [VMs](#vms) - [VMs](#vms)
- [Converting zvol to qcow2](#converting-zvol-to-qcow2) - [Converting zvol to qcow2](#converting-zvol-to-qcow2)
- [Converting qcow2 to zvol](#converting-qcow2-to-zvol)
- [Tunables](#tunables) - [Tunables](#tunables)
- [Core](#core) - [Core](#core)
- [Scale](#scale) - [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 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 ## Tunables
### Core ### Core