Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

infrastructure:virtualisation:libvirt:disk-resize [30/12/2020 19:48] – créée Stéphane Pailletinfrastructure:virtualisation:libvirt:disk-resize [30/12/2020 19:50] (Version actuelle) Stéphane Paillet
Ligne 22: Ligne 22:
 <code> <code>
 # cp test.qcow2 test-orig.qcow2 # cp test.qcow2 test-orig.qcow2
-<code>+</code>
  
 Nous agrandissons la partition /dev/sda2 Nous agrandissons la partition /dev/sda2
Ligne 53: Ligne 53:
 Resize operation completed with no errors.  Before deleting the old disk,  Resize operation completed with no errors.  Before deleting the old disk, 
 carefully check that the resized disk boots and works correctly. carefully check that the resized disk boots and works correctly.
 +</code>
 +
 +Nous vérifions
 +<code>
 +# qemu-img info confmgt02.qcow2
 +</code>
 +
 +Nous avons ce type de retour
 +<code>
 +image: confmgt02.qcow2
 +file format: qcow2
 +virtual size: 28G (30064771072 bytes)
 +disk size: 1.9G
 +cluster_size: 65536
 +Format specific information:
 +    compat: 1.1
 +    lazy refcounts: true
 +    refcount bits: 16
 +    corrupt: false
 </code> </code>
  
  • infrastructure/virtualisation/libvirt/disk-resize.1609357719.txt.gz
  • Dernière modification : 30/12/2020 19:48
  • de Stéphane Paillet