[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

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

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+
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 hojo images]#
[root hojo images]# ls -ltr
total 12398420
-rwxr-xr-x 1 root root 12884901888 2008-03-20 19:30
[root 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.



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 redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]