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

[Xen-users] Reg Disk space in guest domain with fedora img


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Rajiv Rajaian" <rajiv.grid@xxxxxxxxx>
  • Date: Tue, 12 Feb 2008 22:17:33 +0530
  • Delivery-date: Tue, 12 Feb 2008 08:48:07 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=vPv/UbZlPudz5N5GyWku9ZtF8ZxnlrvFteKCWiMvptRRNQJ8IVdVKTiuMlrRg5zBMZVbaN3D1QCX4btBlGIoE+P9UEPCHruTsVVUiXbEPJMEWVU6SFAAjLUUe4qqiihQqFH/xkWtlY6LsxqI+R92fuAyweRW5gzybSHtBCEA73g=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi
I had installed Xen-3.0.4 in Scientific linux 4 (kernel version 2.6.16.33) by following the instructions given in following link

project-xen.web.cern.ch/project-xen/xen/howto_slcXen.html

I ve created the guest Domain with fedora image of size 2.2GB , disk space as 10GB  and the domain started successfully . when i logged into the xm console and checked the disk space its showing only 2.2GB .. is there any thing worng with my configuration ??
 
Here's my configruation file which i ve used to create domain

cat /usr/local/vm_creator/workspace/images/fedora

#This Configuration file is Automatically Generated on Tue Feb 12 19:33:17 IST 2008
kernel = "/boot/vmlinuz-2.6.16.33-xen"
memory = 256
extra = "fastboot"
ramdisk = "/boot/initrd-2.6.16.33-xen.img"
disk = ['phy:vg/fedora,sda6,w','phy:vg/compswap,sda7,w', 'phy:vg/modules,sda5,r']
name = "fedora.compnode.grid"
root = "/dev/sda6 ro"
vif=['bridge=xenbr0']

The logical volumes look like

[root@g40 ~]# lvs
  LV       VG   Attr   LSize   Origin Snap%  Move Copy%
  compswap vg   -wi-ao   1.00G
  fedora   vg   -wi-ao  10.00G
  modules  vg   -wi-ao 100.00M

In the guest domain when i checked the following commands i got the output as

[root@fedora ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda6              2.2G   904M   1.2G  46% /
none                   135M      0   135M   0% /dev/shm
/dev/sda5              102M    90M   7.2M  93% /lib/modules

[root@fedora ~]# fdisk -l

Disk /dev/sda7: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda7 doesn't contain a valid partition table

Disk /dev/sda6: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda6 doesn't contain a valid partition table

Disk /dev/sda5: 104 MB, 104857600 bytes
255 heads, 63 sectors/track, 12 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda5 doesn't contain a valid partition table

 

[root@fedora ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/sda6               /                       ext3    defaults 1 1
none                    /dev/pts                devpts  gid=5,mode=620 0 0
none                    /dev/shm                tmpfs   defaults 0 0
none                    /proc                   proc    defaults 0 0
none                    /sys                    sysfs   defaults 0 0
/dev/sda7       swap    swap    defaults        0 0
/dev/sda5       /lib/modules    ext2    defaults        0 1

Is there any thing to be configured to get the full disk space as 10GB or any thing wrong with my configuration ??

Please help me

Thanks in advance

Rajiv

Project Associate ,

CARE,MIT,Annauniversity ,Chennai

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.