If you are not using LVM you might be better off creating a brand new image &gt; 7G and then copying the files from the existing image into the new image. The, once that is complete, simply boot into the new, larger image. I am not sure how to otherwise increase an image based installations storage space unless you are using LVM (which you said you are not).<br>
<br>Cheers,<br><br>Fred.<br><br><div class="gmail_quote">On Fri, Mar 21, 2008 at 7:10 AM, Dharmesh Kamdar &lt;<a href="mailto:kamdard71@yahoo.com">kamdard71@yahoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I tried the steps described in the link u sent me..<br>
but at the end I am getting the following error:<br>
<br>
$&gt;lvextend -L+3G /dev/VolGroup00/LogVol00<br>
&nbsp;Extending logical volume LogVol00 to 10.03 GN<br>
&nbsp;device-mapper: reload ioctl failed: Invalid argument<br>
&nbsp;Failed to suspend LogVol00<br>
<br>
My Fedora-8 guest is running following:<br>
kernel --&gt;2.6.21-2950.fc8xen<br>
Device-Mapper--&gt; device-mapper-multipath-0.4.7-11.fc7<br>
device-mapper-libs-1.02.22-1.fc8<br>
device-mapper-1.02.22-1.fc8<br>
<br>
LVM--&gt;lvm2-2.02.28-1.fc8<br>
<br>
The last few lines of /var/log/messages (after<br>
attempting to &quot;lvextend&quot; the logical volume), as<br>
follows:<br>
<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++<br>
[root@localhost ~]# tail -f /var/log/messages<br>
Mar 20 22:49:12 localhost dhclient: bound to<br>
<a href="http://192.168.122.199" target="_blank">192.168.122.199</a> -- renewal in 1373 seconds.<br>
Mar 20 22:52:04 localhost kernel: device-mapper:<br>
table: device 202:2 too small for target<br>
Mar 20 22:52:04 localhost kernel: device-mapper:<br>
table: 253:0: linear: dm-linear: Device lookup failed<br>
Mar 20 22:52:04 localhost kernel: device-mapper:<br>
ioctl: error adding target to table<br>
Mar 20 22:53:18 localhost kernel: device-mapper:<br>
table: device 202:2 too small for target<br>
Mar 20 22:53:18 localhost kernel: device-mapper:<br>
table: 253:0: linear: dm-linear: Device lookup failed<br>
Mar 20 22:53:18 localhost kernel: device-mapper:<br>
ioctl: error adding target to table<br>
Mar 20 23:07:52 localhost kernel: device-mapper:<br>
table: device 202:2 too small for target<br>
Mar 20 23:07:52 localhost kernel: device-mapper:<br>
table: 253:0: linear: dm-linear: Device lookup failed<br>
Mar 20 23:07:52 localhost kernel: device-mapper:<br>
ioctl: error adding target to table<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++<br>
<br>
Will appreciate any further feedback.<br>
<br>
Thanks,<br>
kamdard.<br>
<br>
I googled on &quot;reload ioctl failed: Invalid<br>
argument&quot;,found a few hits describing this to be a<br>
possibly kernel or DM bug.<br>
<div><div></div><div class="Wj3C7c"><br>
--- Todd Deshane &lt;<a href="mailto:deshantm@gmail.com">deshantm@gmail.com</a>&gt; wrote:<br>
<br>
&gt; On Thu, Mar 20, 2008 at 10:31 PM, Dharmesh Kamdar<br>
&gt; &lt;<a href="mailto:kamdard71@yahoo.com">kamdard71@yahoo.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve installed Fedora 8 as a guest OS on<br>
&gt; Fedora-7+XEN.<br>
&gt; &gt; The host info:<br>
&gt; &gt; $&gt; uname -a<br>
&gt; &gt; Linux hojo 2.6.21-7.fc7xen #1 SMP Tue Feb 12<br>
&gt; 12:32:24<br>
&gt; &gt; EST 2008 i686 athlon i386 GNU/Linux<br>
&gt; &gt;<br>
&gt; &gt; CPU: mobile AMD Athlon(tm) XP-M 1400+<br>
&gt; &gt; RAM: 1GB<br>
&gt; &gt; ARCHITECTURE: x86 (32 bit)<br>
&gt; &gt;<br>
&gt; &gt; While creating the guest, I specified the storage<br>
&gt; as<br>
&gt; &gt; /var/lib/xen/images/f8_xen.img (of about 7 GB).<br>
&gt; &gt;<br>
&gt; &gt; Unfortunately the guest OS is running out of<br>
&gt; storage<br>
&gt; &gt; space and I want to add more storage to it (file<br>
&gt; &gt; system based, no LVM or partition etc).<br>
&gt; &gt;<br>
&gt; &gt; I did manage to increase the size of the image<br>
&gt; file<br>
&gt; &gt; via &quot;dd&quot; with dd as follows:<br>
&gt; &gt;<br>
&gt; &gt; dd if=/dev/zero of=/var/lib/xen/images/F8_XEN.img<br>
&gt; &gt; bs=2M seek=4096 conv=notrunc count=2048<br>
&gt; &gt; 2048+0 records in<br>
&gt; &gt; 2048+0 records out<br>
&gt; &gt; 4294967296 bytes (4.3 GB) copied, 124.617 s, 34.5<br>
&gt; MB/s<br>
&gt; &gt; [root@hojo images]#<br>
&gt; &gt; [root@hojo images]# ls -ltr<br>
&gt; &gt; total 12398420<br>
&gt; &gt; -rwxr-xr-x 1 root root 12884901888 2008-03-20<br>
&gt; 19:30<br>
&gt; &gt; F8_XEN.img<br>
&gt; &gt; [root@hojo images]#<br>
&gt; &gt;<br>
&gt; &gt; Now, I want to add some more storage space to &nbsp;the<br>
&gt; &gt; guest OS.<br>
&gt; &gt;<br>
&gt; &gt; So how do I do it ?<br>
&gt; &gt;<br>
&gt; &gt; Will appreciate if someone can provide some<br>
&gt; pointers.<br>
&gt; &gt;<br>
&gt;<br>
&gt; <a href="http://xen.markmail.org/search/?q=resize+disk" target="_blank">http://xen.markmail.org/search/?q=resize+disk</a><br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; kamdard.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
____________________________________________________________________________________<br>
&gt; &gt; Looking for last minute shopping deals?<br>
&gt; &gt; Find them fast with Yahoo! Search.<br>
&gt; &gt;<br>
&gt;<br>
<a href="http://tools.search.yahoo.com/newsearch/category.php?category=shopping" target="_blank">http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a><br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Fedora-xen mailing list<br>
&gt; &gt; <a href="mailto:Fedora-xen@redhat.com">Fedora-xen@redhat.com</a><br>
&gt; &gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-xen" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-xen</a><br>
&gt; &gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><div class="WgoR0d"> &nbsp; &nbsp; &nbsp;____________________________________________________________________________________<br>
Be a better friend, newshound, and<br>
know-it-all with Yahoo! Mobile. &nbsp;Try it now. &nbsp;<a href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target="_blank">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a><br>
</div><div><div></div><div class="Wj3C7c"><br>
--<br>
Fedora-xen mailing list<br>
<a href="mailto:Fedora-xen@redhat.com">Fedora-xen@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-xen" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-xen</a><br>
</div></div></blockquote></div><br>