{"height":"190","categories":["linux","qcow2","libvirt"],"published":"2022-11-14 16:19:09","author_url":"https://blog.hatena.ne.jp/takuya_1st/","description":"qcow2 \u306e\u5bb9\u91cf\u304c\u6e1b\u3089\u306a\u3044\u3002 \u4f7f\u3063\u3066\u306a\u3044\u306e\u306b\u6e1b\u3089\u306a\u3044\u3002 \u4f7f\u7528\u3057\u3066\u306a\u3044\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u306f\u958b\u653e\u3055\u308c\u308b\u306f\u305a\u30fb\u30fb\u30fb\u3060\u3051\u3069\u5909\u308f\u3089\u306a\u3044\u3002 qemu-img convert -c -O qcow2 image.qcow2 shrinked_image.qcow2 \u4f55\u5ea6\u3082 qemu-img \u3092\u8a66\u3057\u3066\u3082\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u540c\u3058\u306b\u306a\u308b\u3002\u3002\u3002 $ ls ubuntu-* -alht -rw-r--r-- 1 libvirt-qemu kvm 140G Sep 6 03:31 ubuntu-root.qcow2 -rw-r--r-- 1 root root 140G Sep 6 03:03 ubuntu-root.06.q\u2026","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2022%2F11%2F14%2F161909\" title=\"qcow2 \u306e\u5bb9\u91cf\u304c\u6e1b\u3089\u306a\u3044\u3002Sparse\u306b\u3057\u3066\u308b\u306e\u306b\u6e1b\u3089\u306a\u3044\u3002/ btrfs on qcow2 - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_url":"https://takuya-1st.hatenablog.jp/","version":"1.0","provider_name":"Hatena Blog","image_url":null,"author_name":"takuya_1st","type":"rich","provider_url":"https://hatena.blog","title":"qcow2 \u306e\u5bb9\u91cf\u304c\u6e1b\u3089\u306a\u3044\u3002Sparse\u306b\u3057\u3066\u308b\u306e\u306b\u6e1b\u3089\u306a\u3044\u3002/ btrfs on qcow2","url":"https://takuya-1st.hatenablog.jp/entry/2022/11/14/161909"}