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