|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Reg Disk space in guest domain with fedora img
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
|
|
|
|
|