Retourner au contenu associé (entrée de forum : Conversion raw en qcow2)
Posté par Niniryoku le 12 novembre 2011 à 03:08. En réponse au message Conversion raw en qcow2. Évalué à 0.
Better still, convert from a sparse file into the qemu's own "Copy On Write" image. This conversion will save the same space and still be runnable: $ qemu-img convert -c debian.img -O qcow debian_recompressed.img If the guest system's image is still larger than reasonable, then open up the Guest system and run "dd if=/dev/zero of=/tmp/junk ; sync ; rm /tmp/junk". That will push out deleted file scraps, recompression should work then.
Better still, convert from a sparse file into the qemu's own "Copy On Write" image. This conversion will save the same space and still be runnable:
$ qemu-img convert -c debian.img -O qcow debian_recompressed.img
If the guest system's image is still larger than reasonable, then open up the Guest system and run "dd if=/dev/zero of=/tmp/junk ; sync ; rm /tmp/junk". That will push out deleted file scraps, recompression should work then.
Vu sur http://wiki.debian.org/QEMU après une recherche rapide sur un moteur de recherche
qemu−img − QEMU disk image utility [...] convert [−c] [−f fmt] [−O output_fmt] [−o options] filename [filename2 [...]] output_filename [...] -c indicates that target image must be compressed (qcow format only)
(man qemu-img)
Knowing the syntax of Java does not make someone a software engineer.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# -c
Posté par Niniryoku . En réponse au message Conversion raw en qcow2. Évalué à 0.
Vu sur http://wiki.debian.org/QEMU après une recherche rapide sur un moteur de recherche
(man qemu-img)
Knowing the syntax of Java does not make someone a software engineer.