Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
    Type 1 or more characters for results.
    2 results tagged qcow2  ✕
    How to shrink OpenStack qcow2 image using qemu-img – tuxfixer.com http://www.tuxfixer.com/how-to-shrink-openstack-qcow2-image-with-qemu-img/
    Fri Nov 15 14:31:27 2019 archive.org
    QRCode

    If you transfer qcow2 images very frequently across OpenStack Clouds or between KVM and Openstack environments, they can quickly grow larger. Luckily qcow2 image size can be decreased to reasonable values using qemu-img tool. Below we present how to shrink Openstack/KVM qcow2 image.

    Examples:

    Shrink qcow2 image without compression (larger file, short compression time):

    [root@tuxfixer ~]# qemu-img convert -O qcow2 centos7.qcow2 centos7_small.qcow2
    Shrink qcow2 image with compression (smaller file, long compression time):

    [root@tuxfixer ~]# qemu-img convert -O qcow2 -c centos7.qcow2 centos7_small.qcow2

    qcow2 qemu image size
    mike's world: howto mount qcow2 images http://michaelmk.blogspot.fr/2011/12/howto-mount-qcow2-images.html
    Wed May 13 20:46:22 2015 archive.org
    QRCode
    thumbnail

    Commencer par créer les devices:
    sudo modprobe nbd max_part=8

    utiliser qemu-nbd pour monter l'image sur le device:
    sudo qemu-nbd -c /dev/nbd0 guest.img

    puis monter le device dans un répertoire:
    sudo mount /dev/nbd0p1 /mnt/guest

    démonter le montage une fois fini de travailler sur l'image.
    sudo umount /mnt/guest

    et voila.

    qemu qcow2 image mount dev
    4661 links, including 1577 private
    Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn