WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Reg Disk space in guest domain with fedora img
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=PIgVQFQD0XTRoMxLA6tWBiv117HB6bXHWIfbojG6eZ4=; b=WJZG92IFoJk3NkGmKZ2vMASgq2CCXUhcZOQWTyqhu545h6EdAJaLbzmxpe8ElAgt9zNai50QCGOyMQk4c9iTSdZE/pTwvn9wtt/tscg21isVywlije30RyWRvhKR9wcs16mY4CvusvA7WSmKE2H3CUR2NChqHR2OF6ku1b2IP9k=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>