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

[Xen-users] real HDD usage of XEN images

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] real HDD usage of XEN images
From: Heiko <rupertt@xxxxxxxxx>
Date: Thu, 15 Jan 2009 12:37:58 +0100
Delivery-date: Thu, 15 Jan 2009 03:38:40 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=rgECeLYCcJbRzoA3pIKDCu3hFuGauPhmK78/Rl+GG74=; b=wvfbCNo6fLmkQlNMn8wI0TrgIIHM27IXE1hrOm/czMdFnr0Z85R017UrUNC726uj3G uf02sS0TNop9KLxd6ueYvC/iWGiRQHTZXSB9yNqZvPo4SocbldEWN/4m3Wie07BS2Bgk S5Sb5Pdrk7czo4wn+M/krIV8R125PGN2/JSfM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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