User Tools

Site Tools


software:linux:kvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
software:linux:kvm [2021/04/11 01:38] – [Links] Michele Porellisoftware:linux:kvm [2024/05/20 21:44] (current) – Michele Porelli
Line 3: Line 3:
  
 ==== Useful virsh commands ==== ==== Useful virsh commands ====
-  * pool-refresh default - rescan default pool for new images+  * rescan default pool for new images:<code>pool-refresh default</code>
 ==== How-tos ==== ==== How-tos ====
-===== Extract SLIC and use it for your VM =====+  * move from ZVOL to standard qcow2 image:<code>qemu-img convert -p -f raw -O qcow2 /dev/zvol/YOUR_ZVOL /your/image.qcow2</code> 
 +=== Extract SLIC and use it for your VM ===
 credits: [[https://gist.github.com/Informatic/49bd034d43e054bd1d8d4fec38c305ec|1]] credits: [[https://gist.github.com/Informatic/49bd034d43e054bd1d8d4fec38c305ec|1]]
   * extract slic from donor<code>#!/bin/bash   * extract slic from donor<code>#!/bin/bash
software/linux/kvm.txt · Last modified: by Michele Porelli