|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Xen image filesize weirdness
On Sunday May 25 2008 09:54:27 pm Christopher Isip wrote:
> I cant wrap my head around this.
>
> ls -l /mnt/VM
>
> total 13299232
> -rw-r--r-- 1 root root 4195352576 May 25 21:51 Centos-Asterisk.img
> -rw-r--r-- 1 root root 2147483648 May 25 21:51 Centos-Nagios.img
> -rw-r--r-- 1 root root 2147483648 May 25 21:51 Centos-Squid.img
> drwx------ 2 root root 16384 Apr 4 15:02 lost+found
> -rw-r----- 1 root root 12583960576 May 25 16:40 Ubuntu-Hardy-Mysql.img
> -rw-r--r-- 1 root root 419430400 May 25 07:50 Ubuntu-Hardy-Mysql-swap.img
> -rw-r----- 1 root root 4194304000 May 25 07:49 Ubuntu-Hardy-Mythtv.img
> -rw-r--r-- 1 root root 419430400 May 25 07:30
> Ubuntu-Hardy-Mythtv-swap.img
>
>
> du -hsc /mnt/VM/*
> 2.0G /mnt/VM/Centos-Asterisk.img
> 1.1G /mnt/VM/Centos-Nagios.img
> 998M /mnt/VM/Centos-Squid.img
> 16K /mnt/VM/lost+found
> 4.1G /mnt/VM/Ubuntu-Hardy-Mysql.img
> 401M /mnt/VM/Ubuntu-Hardy-Mysql-swap.img
> 4.0G /mnt/VM/Ubuntu-Hardy-Mythtv.img
> 401M /mnt/VM/Ubuntu-Hardy-Mythtv-swap.img
> 13G total
As James suggested, they maybe sparse files - especially since the swap files
are fully filled out. Compare the output of your 'ls -l'
to 'ls -l -s --block-size=1'.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|