|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] real HDD usage of XEN images
 
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
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-users] real HDD usage of XEN images,
Heiko <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |