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

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

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] Reg Disk space in guest domain with fedora img
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
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:cc:in-reply-to:mime-version:content-type:references; bh=sULaIc7Ru25dqDuwpxe7cYc1l3IJabxePhZBhO5/uno=; b=A7/h4Usx5AfZYiuhXyaNGVMvXS8U6EyHa6QCnUZkiox9gBtBF0w9hcbjyoycitadCuM0MvsqRyqj0fxIv40W4oZYTp6CXYh1L52cXh7fC7ZGMdo4vEzfWi/4gcFgVgsuQbz1R/M/YZAHDqGzAod8ZjaL5SWACJlMMFc4B+NM9So=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0802130814k8ca64c0xae72846ffd1e0406@xxxxxxxxxxxxxx>
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>
References: <cd5be5dd0802120847r4f39416dm2e43b20d0402bee@xxxxxxxxxxxxxx> <1e16a9ed0802121050g16ba633dt6454dcf11838bf69@xxxxxxxxxxxxxx> <cd5be5dd0802122253s6a41bea7s63bbbd2398f9035b@xxxxxxxxxxxxxx> <1e16a9ed0802130559s58da0c6en33b3c14f0ba8cd5b@xxxxxxxxxxxxxx> <cd5be5dd0802130656m4dfb1367j47ef775a0fa3e530@xxxxxxxxxxxxxx> <1e16a9ed0802130814k8ca64c0xae72846ffd1e0406@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>