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

[Xen-users] real HDD usage of XEN images


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Heiko <rupertt@xxxxxxxxx>
  • Date: Thu, 15 Jan 2009 12:37:58 +0100
  • Delivery-date: Thu, 15 Jan 2009 03:38:40 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=GoemNCp7chRE8BZbwxHF8u8b1o+yreSNkGkCEPeETjgyME1Yitz/L2lJkm11AJO/+v i1ACFciyJywiVnllUMitCH9X0205XuAzINV5AocuAnBWi+15F8xPgk55xm1mu5A+Jhao z4cjxgj3m7aRC3tWvw44FAB0NSe4D9QhA29Do=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

i am creating my XEN VM with virt-install (see below).
When I create new images i do first an "df -h" to see if there is
still enough space left on the drive.
Are the XEN images pre allocated or does XEN only use that space that
really is used by the VM inside the image?
I know have the Problem that an "du -h" inside my /VM folder gives me
nearly a  higher number that the harddisk has on size.


[root@x1blade3:~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             106G  102G     0 100% /
/dev/sda1              99M   24M   71M  25% /boot
tmpfs                 3.9G     0  3.9G   0% /dev/shm

[root@x1blade3:~]# ls -lah /VM
total 101G

thats only the VM folder.


this is how I create my VM.

virt-install \
--name=translator-vm1 \
--ram=1000 \
--file=/VM/translator-vm1.img \
--file-size=10 \
--vcpus=2 \
--os-variant=centos5 \
--nographics \
--location ftp://wftp.tu-chemnitz.de/pub/linux/centos/5.2/os/x86_64/ \


thx

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