[xen-tools-discuss] Fwd: Re: xen-tools doesnt show correct harddrive space usage after creating an domu
bobbisanchez at gmx.de
bobbisanchez at gmx.de
Mon Jul 28 13:22:39 CEST 2014
-------- Weitergeleitete Nachricht --------
Betreff: Re: [xen-tools-discuss] xen-tools doesnt show correct harddrive space usage after creating an domu
Datum: Mon, 28 Jul 2014 13:18:04 +0200
Von: bobbisanchez at gmx.de <bobbisanchez at gmx.de>
An: Axel Beckert <abe at deuxchevaux.org>
Am 28.07.2014 um 12:28 schrieb Axel Beckert:
> Hi,
>
> bobbisanchez at gmx.de schrieb am Sun, Jul 27, 2014 at 06:35:54PM +0200:
>> Hi after creating an wheezy domu the harddrive space is not correct
>> showing the usage:
>>
>> Before creating a 80GB sized domu :
>>
>> df -hm
>> Dateisystem 1M-Blöcke
>> Benutzt Verfügbar Verw% Eingehängt auf
>> rootfs 315
>> 262 33 89% /
>
> I'm sorry, but I have issues properly parsing the df output with line
> breaks. Are the line breaks in the middle of a number or between? At
> least 315 "1MB Blocks" doesn't make sense to me. 315 MB is far too
> small for anything to store disk images and the Dom0 operating system
> on.
>
> So a few more questions:
>
> Am I right that,
> A) /xendomainheinz/ is on the / (root) partiton?
> B) df output is the one from the Dom0?
>
> bobbisanchez at gmx.de schrieb am Mon, Jul 28, 2014 at 12:14:33PM +0200:
>> additional to my posts before:
>>
>> i have created with xen-tools an 10GB FULL, NOT SPARSE in
>> xen-tools.conf, Image
>>
>> ls -hal
>> insgesamt 1,2G
>> drwxr-xr-x 2 root root 4,0K Jul 28 11:36 .
>> drwxrwxrwx 5 heinz heinz 4,0K Jul 28 11:36 ..
>> -rw------- 1 root root 10G Jul 28 12:05 disk.img
>> -rw------- 1 root root 128M Jul 28 11:36 swap.img
>>
>> du -m disk.img
>> 1018 disk.img
>
> What file system is this on?
>
> There are file systems which automatically compress files or recognize
> sparse files without explicitly requesting it. So du and df quite
> often differ nowadays.
>
> Especially on btrfs, the common df is known to return mostly bogus
> values.
>
> Besides, I think is not a xen-tools but a file system issue.
>
> Regards, Axel
>
hi
> I'm sorry, but I have issues properly parsing the df output with line
> breaks. Are the line breaks in the middle of a number or between? At
> least 315 "1MB Blocks" doesn't make sense to me. 315 MB is far too
> small for anything to store disk images and the Dom0 operating system
> on.
sorry for the mistakes / linebreaks ..
it is oneline , my mailprogram makes crazy linebreaks .. sorry
> A) /xendomainheinz/ is on the / (root) partiton?
yes
> B) df output is the one from the Dom0?
yes
i am using ext4 filesystem on the Dom0 and ext3 for the DomU
More information about the xen-tools-discuss
mailing list