{"id":231,"date":"2009-05-10T20:44:02","date_gmt":"2009-05-10T18:44:02","guid":{"rendered":"http:\/\/raftaman.net\/?p=231"},"modified":"2021-05-15T11:46:42","modified_gmt":"2021-05-15T09:46:42","slug":"howto-resize-xen-disk-images","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=231","title":{"rendered":"How to resize xen disk images"},"content":{"rendered":"<p>This is an easy one: You just append zeros at the end of the corresponding image file (here 1GB):<\/p>\n<pre class=\"brush: plain; light: true; title: ; notranslate\" title=\"\">\r\n# dd if=\/dev\/zero bs=1024 count=1000000 &gt;&gt; domU.img\r\n<\/pre>\n<p>You may want to shutdown your domU before changing its image file. After appending the zeros, you can restart the domain and <a href=\"https:\/\/possiblelossofprecision.net\/?p=228\">expand its filesystem<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an easy one: You just append zeros at the end of the corresponding image file (here 1GB): # dd if=\/dev\/zero bs=1024 count=1000000 &gt;&gt; domU.img You may want to shutdown your domU before changing its image file. After appending the zeros, you can restart the domain and expand its filesystem.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13,7,16],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-centos","tag-fedora","tag-xen"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231"}],"version-history":[{"count":7,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":1835,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions\/1835"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}