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

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


  • To: deshantm@xxxxxxxxx
  • From: "Rajiv Rajaian" <rajiv.grid@xxxxxxxxx>
  • Date: Thu, 14 Feb 2008 11:00:28 +0530
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 13 Feb 2008 21:31:01 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=EC/eA7Swjb5TUcyYutBKlS9ihDdURbP6XpfTIUe5Hqt6RAlKRTvZpuUaWB6VXGJfMmQ4P4zAifEYX3ztzVvj5XbnAHohWqCHMbUOQ7OhZnJZtNNMbv2aB32eD5aTFOuHb74+ZoRoj1pN7wY4rV5oa6Js2KzyRkCOJ5K+oJks9vk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Sorted out the issue of lvm size in guest domain.
Steps I have  done are as follows
lvcreate -L10G -n fedora vg
mkfs.ext3 /dev/vg/fedora
cat fedora.img >/dev/vg/fedora
mount /de/vg/fedora  /mnt/tmp

df -H /mnt/tmp
Filesystem                      Size   Used  Avail Use% Mounted on
/dev/mapper/vg-fedora     2.2G   2.0G    82M  96% /mnt/tmp

Now i ve resized the lvm using the command

resize2fs -f /dev/vg/fedora

Afer resizing the lvm size looks like this df -H /mnt/tmp
Filesystem                  Size   Used  Avail Use% Mounted on
/dev/mapper/vg-fedora  11G   2.2G   8.0G  22% /mnt/tmp

Also Inside the guest domain the disk usage shows
[root@fedora ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda6               11G   2.2G   8.0G  22% /
none                     135M      0   135M   0% /dev/shm
/dev/sda5              102M    90M   7.2M  93% /lib/modules



Thanks to Todd and Xen users list

Thanks
Rajiv
Project Associate ,
CARE ,MIT,Anna University







_______________________________________________
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®.