{"id":7478,"date":"2014-06-19T04:02:37","date_gmt":"2014-06-19T04:02:37","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/19\/problem-about-disk-images-collection-of-common-programming-errors\/"},"modified":"2014-06-19T04:02:37","modified_gmt":"2014-06-19T04:02:37","slug":"problem-about-disk-images-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/19\/problem-about-disk-images-collection-of-common-programming-errors\/","title":{"rendered":"problem about disk-images-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/330a6060531f963c33041c43e7356484?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbmaeser<br \/>\nkvm-virtualization qemu disk-images qcow2<br \/>\nwe are using kvm\/qemu with qcow2-images for our virtual machines.qcow2 has this nice feature where the image file only allocates the actually needed space by the virtual-machine. but how do i shrink back the image file, if the virtual machine&#8217;s allocated space gets smaller?example:1.) i create a new image with qcow2 format, size 100GB2.) i use this image to install ubuntu. installation needs about 10 gb, the image-file grows up to about 10GB. nothing unexpected so far.3.) i fill up the image wit<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/481707331ea4d07ae2490bb88ddfd7ca?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nScott Pack<br \/>\nvps disk-cloning server-migration disk-images<br \/>\nIs it possible to direct copy an entire VPS host to my own server?My current VPS is in the US and the response times from\/to Denmark are bugging me a lot. I have previously had my own server, running FreeBSD, before I switched to the VPS. For the sake of a quick&#8217;n&#8217;easy move, I wondered if I could just make a diskimage of the VPS and then extract it to my server which I have placed at my workplace here in Denmark.<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n<p>I discovery a place to host code\u3001demo\u3001 blog and websites.<br \/>\nSite access is fast but not money<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.m5zn.com\/newuploads\/2014\/01\/30\/jpg\/e7da807964b1fff.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>bmaeser kvm-virtualization qemu disk-images qcow2 we are using kvm\/qemu with qcow2-images for our virtual machines.qcow2 has this nice feature where the image file only allocates the actually needed space by the virtual-machine. but how do i shrink back the image file, if the virtual machine&#8217;s allocated space gets smaller?example:1.) i create a new image with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7478","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7478"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7478\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}