[xen-tools-discuss] xen-tools doesnt show correct harddrive space usage after creating an domu
Axel Beckert
abe at deuxchevaux.org
Mon Jul 28 12:28:32 CEST 2014
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
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
X See http://arc.pasp.de/ | abe at noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
More information about the xen-tools-discuss
mailing list