[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Guest says: no space left on device; but thats not true


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Krause <krause@xxxxxxx>
  • Date: Wed, 08 Apr 2009 12:22:29 +0200
  • Delivery-date: Wed, 08 Apr 2009 03:23:05 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

running a Gentoo host and several guests (Xen 3.3.0, Gentoo linux-2.6.18-xen-r12) there are some disk space spooks.

The guest config files are looking like this:
-----
kernel = "/mnt/xen/kernel-2.6.18-xen-r12"
memory = 512
name   = "plone"
disk   = ['file:/mnt/xen/plone.img,sda1,w']
root   = "/dev/sda1 ro"
cpu    = 1
extra  = "xencons=tty"
vif    = [ 'vifname=veth4' ]
-----
The vif parameter incremets from one guest to the next in the config files and each guest have its own disk image.

All guests use the same domU-kernel, also a linux-2.6.18-xen-r12, build as guest kernel.

Every guest has its own image file to run from. Some guests are very happy with this.

Other guests seem not to have access to all their disk space:
-----
plone ~ # df . -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             4.0G  2.0G  1.9G  52% /
plone ~ # touch test
touch: cannot touch `test': No space left on device
-----

The space is formatted in ext3 and if i mount the filesystem loopback in the dom0 (after shutting down the guest), the whole space is usable.

For instance, a guest on the same host:
-----
adappro install # df . -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             4.0G  3.7G   51M  99% /
adappro install # touch test
adappro install # ll test
-rw-r--r-- 1 root root 0 Apr  8 12:54 test
-----

The config file for the fine running host:
-----
kernel = "/mnt/xen/kernel-2.6.18-xen-r12"
memory = 512
name   = "adappro"
disk   = ['file:/mnt/xen/adappro.img,sda1,w']
root   = "/dev/sda1 ro"
cpu    = 2
extra  = "xencons=tty"
vif    = [ 'vifname=veth2' ]
-----

The images are replicated via filecopy from a working guest filesystem. For sure the guest has been shutdown before replicating the file.
fsck.ext3 -f runs without issues on the images.

Any idea what i'am missing?

Best regards
  Olaf

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.