[xen-tools-discuss] xen-tools doesnt show correct harddrive space usage after creating an domu

bobbisanchez at gmx.de bobbisanchez at gmx.de
Sun Jul 27 18:35:54 CEST 2014


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% /
udev                                                          10       0 
        10    0% /dev
tmpfs                                                        203       1 
       202    1% /run
/dev/disk/by-uuid/54683f09-30f7-49d8-a671-524f96fdb1b1       315     262 
        33   89% /
tmpfs                                                          5       0 
         5    0% /run/lock
/dev/sda9                                                 137268   24419 
    105855   19% /home
/dev/sda8                                                    360       3 
       335    1% /tmp
/dev/sda5                                                   8320     828 
      7047   11% /usr
/dev/sda6                                                   2752     414 
      2179   16% /var


sudo xen-create-image --force --hostname=heinz --ip=XXX.XXX.XXX.XXX


after creating is done

df -hm
Dateisystem                                            1M-Blöcke Benutzt 
Verfügbar Verw% Eingehängt auf
rootfs                                                       315     262 
        33   89% /
udev                                                          10       0 
        10    0% /dev
tmpfs                                                        203       1 
       202    1% /run
/dev/disk/by-uuid/54683f09-30f7-49d8-a671-524f96fdb1b1       315     262 
        33   89% /
tmpfs                                                          5       0 
         5    0% /run/lock
/dev/sda9                                                 137268   24431 
    105843   19% /home
/dev/sda8                                                    360       3 
       335    1% /tmp
/dev/sda5                                                   8320     828 
      7047   11% /usr
/dev/sda6                                                   2752     414 
      2179   16% /var


ls -hal /xendomainheinz/
insgesamt 2,6G
drwxr-xr-x 2 root     root     4,0K Jul 27 17:39 .
drwxrwxrwx 5 bla      bla 4,0K Jul 27 17:39 ..
-rw------- 1 root     root      80G Jul 27 18:30 disk.img
-rw------- 1 root     root     512M Jul 27 17:39 swap.img


and my host informations

xen-create-image --version
xen-create-image release 4.4



General Information
--------------------
Hostname       :  heinz
Distribution   :  wheezy
Mirror         :  http://ftp.de.debian.org/debian/
Partitions     :  swap            512M  (swap)
                   /               80G   (ext3)
Image type     :  full
Memory size    :  256M
Kernel path    :  /boot/vmlinuz-3.15.2
Initrd path    :  /boot/initrd.img-3.15.2

-cutted----8<-----cutted-





and my Host information


uname -a
Linux dag 3.15.2 #2 SMP PREEMPT Sun Jun 29 17:16:11 CEST 2014 x86_64 
GNU/Linux


xl info
host                   : bla
release                : 3.15.2
version                : #2 SMP PREEMPT Sun Jun 29 17:16:11 CEST 2014
machine                : x86_64
nr_cpus                : 2
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2530
hw_caps                : 
bfebfbff:20000800:00000000:00000900:0008e39d:00000000:00000001:00000000
virt_caps              :
total_memory           : 2293
free_memory            : 419
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 5
xen_extra              : -unstable
xen_version            : 4.5-unstable
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Fri Jun 27 15:56:05 2014 +0100 hg:937cf82a4936
xen_commandline        : placeholder
cc_compiler            : gcc (Debian 4.7.2-5) 4.7.2
cc_compile_by          : benutzer
cc_compile_domain      :
cc_compile_date        : Sun Jun 29 18:26:52 CEST 2014
xend_config_format     : 4


More information about the xen-tools-discuss mailing list