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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Guest says: no space left on device; but thats not true
From: Olaf Krause <krause@xxxxxxx>
Date: Wed, 08 Apr 2009 12:22:29 +0200
Delivery-date: Wed, 08 Apr 2009 03:23:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)
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

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