[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] real HDD usage of XEN images
Heiko wrote on Thu, 15 Jan 2009 12:37:58 +0100: > Are the XEN images pre allocated or does XEN only use that space that > really is used by the VM inside the image? If I remember correctly virt-install does *not* create sparse files. This is a not a matter of Xen, but simply how the image file gets created. You can create it before use by virt-install for instance. > 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. well, du is missing from your quotes now ;-) > /dev/sda3 106G 102G 0 100% / your root system is full. Independant of the question whether your VMs are using sparse files or not ;-) > [root@x1blade3:~]# ls -lah /VM > total 101G ls gives you the amount that is reserved for the file in the directory list, it doesn't give you the real size of the file. The real size is shown by du -s. Run a "du -s *" in that folder and it will list real sizes for each file and folder in there (or a "du -s /VM" to get the complete value for that directory). Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |