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

Re: [Xen-users] Xen image filesize weirdness

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen image filesize weirdness
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Sun, 25 May 2008 22:50:53 -0400
Delivery-date: Sun, 25 May 2008 19:51:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4bca5f6c0805251854m2a6ac72fk44e5e5d9919471d8@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4bca5f6c0805251854m2a6ac72fk44e5e5d9919471d8@xxxxxxxxxxxxxx> (sfid-20080525_222207_101716_592A1D95)
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
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

<Prev in Thread] Current Thread [Next in Thread>