If you are not using LVM you might be better off creating a brand new image > 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 <<a href="mailto:kamdard71@yahoo.com">kamdard71@yahoo.com</a>> 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>
$>lvextend -L+3G /dev/VolGroup00/LogVol00<br>
 Extending logical volume LogVol00 to 10.03 GN<br>
 device-mapper: reload ioctl failed: Invalid argument<br>
 Failed to suspend LogVol00<br>
<br>
My Fedora-8 guest is running following:<br>
kernel -->2.6.21-2950.fc8xen<br>
Device-Mapper--> 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-->lvm2-2.02.28-1.fc8<br>
<br>
The last few lines of /var/log/messages (after<br>
attempting to "lvextend" 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 "reload ioctl failed: Invalid<br>
argument",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 <<a href="mailto:deshantm@gmail.com">deshantm@gmail.com</a>> wrote:<br>
<br>
> On Thu, Mar 20, 2008 at 10:31 PM, Dharmesh Kamdar<br>
> <<a href="mailto:kamdard71@yahoo.com">kamdard71@yahoo.com</a>><br>
> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I've installed Fedora 8 as a guest OS on<br>
> Fedora-7+XEN.<br>
> > The host info:<br>
> > $> uname -a<br>
> > Linux hojo 2.6.21-7.fc7xen #1 SMP Tue Feb 12<br>
> 12:32:24<br>
> > EST 2008 i686 athlon i386 GNU/Linux<br>
> ><br>
> > CPU: mobile AMD Athlon(tm) XP-M 1400+<br>
> > RAM: 1GB<br>
> > ARCHITECTURE: x86 (32 bit)<br>
> ><br>
> > While creating the guest, I specified the storage<br>
> as<br>
> > /var/lib/xen/images/f8_xen.img (of about 7 GB).<br>
> ><br>
> > Unfortunately the guest OS is running out of<br>
> storage<br>
> > space and I want to add more storage to it (file<br>
> > system based, no LVM or partition etc).<br>
> ><br>
> > I did manage to increase the size of the image<br>
> file<br>
> > via "dd" with dd as follows:<br>
> ><br>
> > dd if=/dev/zero of=/var/lib/xen/images/F8_XEN.img<br>
> > bs=2M seek=4096 conv=notrunc count=2048<br>
> > 2048+0 records in<br>
> > 2048+0 records out<br>
> > 4294967296 bytes (4.3 GB) copied, 124.617 s, 34.5<br>
> MB/s<br>
> > [root@hojo images]#<br>
> > [root@hojo images]# ls -ltr<br>
> > total 12398420<br>
> > -rwxr-xr-x 1 root root 12884901888 2008-03-20<br>
> 19:30<br>
> > F8_XEN.img<br>
> > [root@hojo images]#<br>
> ><br>
> > Now, I want to add some more storage space to  the<br>
> > guest OS.<br>
> ><br>
> > So how do I do it ?<br>
> ><br>
> > Will appreciate if someone can provide some<br>
> pointers.<br>
> ><br>
><br>
> <a href="http://xen.markmail.org/search/?q=resize+disk" target="_blank">http://xen.markmail.org/search/?q=resize+disk</a><br>
><br>
><br>
> ><br>
> > Thanks,<br>
> > kamdard.<br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
____________________________________________________________________________________<br>
> > Looking for last minute shopping deals?<br>
> > Find them fast with Yahoo! Search.<br>
> ><br>
><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>
> ><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>
> ><br>
><br>
<br>
<br>
<br>
</div></div><div class="WgoR0d">      ____________________________________________________________________________________<br>
Be a better friend, newshound, and<br>
know-it-all with Yahoo! Mobile.  Try it now.  <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>