<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Howto resize a libvirt (kvm/qemu) disk image</title>
	<atom:link href="http://www.larsen-b.com/Article/329.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com/Article/329.html</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Mon, 23 Jan 2012 10:13:29 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Luca Invernizzi</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-8127</link>
		<dc:creator>Luca Invernizzi</dc:creator>
		<pubDate>Sat, 26 Nov 2011 04:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-8127</guid>
		<description>Also, you can execute:
resize2fs foo.img 5G</description>
		<content:encoded><![CDATA[<p>Also, you can execute:<br />
resize2fs foo.img 5G</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-8039</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 22 Jul 2011 10:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-8039</guid>
		<description>OK I guess you are but you need to read it a couple of times IMHO to understand that fact..</description>
		<content:encoded><![CDATA[<p>OK I guess you are but you need to read it a couple of times IMHO to understand that fact..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-8038</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 21 Jul 2011 20:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-8038</guid>
		<description>Hey why aren&#039;t you mentioning the partition needs to be resized to fit the new &quot;drive&quot; ?</description>
		<content:encoded><![CDATA[<p>Hey why aren&#8217;t you mentioning the partition needs to be resized to fit the new &#8220;drive&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Tokarev</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-7927</link>
		<dc:creator>Michael Tokarev</dc:creator>
		<pubDate>Fri, 19 Nov 2010 12:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-7927</guid>
		<description>There are much much simpler ways exist.  Modern coreutils has an utility named truncate - it can &quot;truncate&quot; afile to _larger_ size.  So, provided you had image.raw of size N GB, and you want it to be N+M Gb, you use truncate --size $((N+M))G image.raw.  _Much_ safer and simpler... ;)</description>
		<content:encoded><![CDATA[<p>There are much much simpler ways exist.  Modern coreutils has an utility named truncate &#8211; it can &#8220;truncate&#8221; afile to _larger_ size.  So, provided you had image.raw of size N GB, and you want it to be N+M Gb, you use truncate &#8211;size $((N+M))G image.raw.  _Much_ safer and simpler&#8230; ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier Berger</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-7775</link>
		<dc:creator>Olivier Berger</dc:creator>
		<pubDate>Fri, 09 Apr 2010 16:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-7775</guid>
		<description>See also : http://wiki.libvirt.org/page/Tips#Increasing_the_disk_size_of_a_virtual_machine</description>
		<content:encoded><![CDATA[<p>See also : <a href="http://wiki.libvirt.org/page/Tips#Increasing_the_disk_size_of_a_virtual_machine" rel="nofollow">http://wiki.libvirt.org/page/Tips#Increasing_the_disk_size_of_a_virtual_machine</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ephemient</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-7745</link>
		<dc:creator>ephemient</dc:creator>
		<pubDate>Thu, 11 Feb 2010 04:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-7745</guid>
		<description>Much faster way, using dd:

dd if=/dev/zero of=foo.img bs=1 count=1 seek=$(($(stat -c%s foo.img)+10*1024**3-1))

Obviously your method (and this) only work when dealing with raw images.</description>
		<content:encoded><![CDATA[<p>Much faster way, using dd:</p>
<p>dd if=/dev/zero of=foo.img bs=1 count=1 seek=$(($(stat -c%s foo.img)+10*1024**3-1))</p>
<p>Obviously your method (and this) only work when dealing with raw images.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dalam Hensi</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-7392</link>
		<dc:creator>Dalam Hensi</dc:creator>
		<pubDate>Tue, 09 Jun 2009 21:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-7392</guid>
		<description>Great post.Thanks alot..That article helps me out.Before i had some problems with it.
Greetings from Germany</description>
		<content:encoded><![CDATA[<p>Great post.Thanks alot..That article helps me out.Before i had some problems with it.<br />
Greetings from Germany</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-6981</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 28 Apr 2009 19:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-6981</guid>
		<description>For Marius: 

cat temp.img &gt;&gt; foo.img

Yes, you can do this, but this would delete the backup too .. 

For the second way, I don&#039;t think this will work because enlarge it with /dev/zero (not null, i think).. and this not a valid partition.. 


Bye</description>
		<content:encoded><![CDATA[<p>For Marius: </p>
<p>cat temp.img >> foo.img</p>
<p>Yes, you can do this, but this would delete the backup too .. </p>
<p>For the second way, I don&#8217;t think this will work because enlarge it with /dev/zero (not null, i think).. and this not a valid partition.. </p>
<p>Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://www.larsen-b.com/Article/329.html/comment-page-1#comment-6980</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Tue, 28 Apr 2009 17:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.larsen-b.com/?p=329#comment-6980</guid>
		<description>Can you do it faster by replacing the second step with

   cat temp.img &gt;&gt; foo.img

?

Can you do it even faster by enlarging the first file in-place with

   dd if=/dev/null of=foo.img bs=1b seek=20G count=0

(in this case the 20G is the new total size, not the increment!)?</description>
		<content:encoded><![CDATA[<p>Can you do it faster by replacing the second step with</p>
<p>   cat temp.img &gt;&gt; foo.img</p>
<p>?</p>
<p>Can you do it even faster by enlarging the first file in-place with</p>
<p>   dd if=/dev/null of=foo.img bs=1b seek=20G count=0</p>
<p>(in this case the 20G is the new total size, not the increment!)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
