You want to use ls -lsh or even ls -lash
keep in mind these are sparse files.
for more information on this topic read the man page for ls
or google for "ls and sparse files"
HTH
On 08/09/14 05:37, Punit Dambiwal wrote:
I have made one Centos template from one of my running virtual
machine...The virtual size of this template is 1GB and the actual size is
below 1GB....from the portal dashboard it whowing correctly but if i check
it through command line...it shows different size ??
[root@compute1 32199374-4096-4973-9b6a-150e22eb7216]# ls -lh
total 742M
-rw-rw---- 8 vdsm kvm 11G Sep 4 16:46 ff576789-e946-4bda-94f6-a354b43ab531
-rw-rw---- 8 vdsm kvm 1.0M Sep 3 13:07
ff576789-e946-4bda-94f6-a354b43ab531.lease
-rw-r--r-- 8 vdsm kvm 278 Sep 3 13:07
ff576789-e946-4bda-94f6-a354b43ab531.meta
[root@compute1 32199374-4096-4973-9b6a-150e22eb7216]#
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen