[Fedora-xen] newbie question to increase the size of "guest OS"...

Todd Deshane deshantm at gmail.com
Fri Mar 21 03:31:03 UTC 2008


On Thu, Mar 20, 2008 at 10:31 PM, Dharmesh Kamdar <kamdard71 at yahoo.com>
wrote:

> Hi,
>
> I've installed Fedora 8 as a guest OS on Fedora-7+XEN.
> The host info:
> $> uname -a
> Linux hojo 2.6.21-7.fc7xen #1 SMP Tue Feb 12 12:32:24
> EST 2008 i686 athlon i386 GNU/Linux
>
> CPU: mobile AMD Athlon(tm) XP-M 1400+
> RAM: 1GB
> ARCHITECTURE: x86 (32 bit)
>
> While creating the guest, I specified the storage as
> /var/lib/xen/images/f8_xen.img (of about 7 GB).
>
> Unfortunately the guest OS is running out of storage
> space and I want to add more storage to it (file
> system based, no LVM or partition etc).
>
> I did manage to increase the size of the image file
> via "dd" with dd as follows:
>
> dd if=/dev/zero of=/var/lib/xen/images/F8_XEN.img
> bs=2M seek=4096 conv=notrunc count=2048
> 2048+0 records in
> 2048+0 records out
> 4294967296 bytes (4.3 GB) copied, 124.617 s, 34.5 MB/s
> [root at hojo images]#
> [root at hojo images]# ls -ltr
> total 12398420
> -rwxr-xr-x 1 root root 12884901888 2008-03-20 19:30
> F8_XEN.img
> [root at hojo images]#
>
> Now, I want to add some more storage space to  the
> guest OS.
>
> So how do I do it ?
>
> Will appreciate if someone can provide some pointers.
>

http://xen.markmail.org/search/?q=resize+disk


>
> Thanks,
> kamdard.
>
>
>
>  ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> --
> Fedora-xen mailing list
> Fedora-xen at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20080320/c32854e6/attachment.htm>


More information about the Fedora-xen mailing list