Subject: Re: [vserver] XFS read-only bind mount issue
From: Eric Schoeller <eschoeller@users.sourceforge.net>
Date: Fri, 02 Apr 2010 08:09:40 -0600

Thanks Corey and Ghislain,

Upgrading to the util-vserver hosted on psand fixed the problem. I had 
been running 2.6.22.19-vs2.2.0.7 with the generic debian lenny 
util-vserver on another server for 6 months with no problems (that I 
knew of!) but this system didn't have XFS. I'll upgrade that one next to 
make sure this doesn't bite me in some other way.
Upgrading util-vserver was somewhat of a pain. I had my vservers in 
/vservers instead of /var/lib/vservers. From what I could see neither 
package on psand really fit my needs exactly but I went with 
util-vserver-baisc-debian. No matter what trickery I used, I could not 
get the pre-install script to accept my configuration. Even after 
changing vdirbase and symlinking /var/lib/vservers to /vservers the 
pre-install script would fail. I finally removed /vservers and 
re-mounted my slices to /var/lib/vservers. All is ok now! I guess I 
could have built my own util-vserver, but I was lazy :) Now I just miss 
vserver-debiantools.

Thanks again,

Eric

Corey Wright wrote:
> On Thu, 01 Apr 2010 10:58:58 +0200
> Ghislain <gadnet@aqueos.com> wrote:
>
>   
>>> I first observed this problem after an upgrade to 2.6.22.19-vs2.2.0.7
>>> which I built myself. After reading about various XFS issues in
>>> "recent" kernels I tried using an image from the psand repository:
>>> 2.6.31.12-vs2.3.0.36.28-beng. I still observe the same behavior. Up
>>> until this recent upgrade I had been using the debian etch kernel
>>> 2.6.18-6-vserver-amd64. Oddly, switching back to this kernel doesn't
>>> resolve the issue, so perhaps it's not vserver related at all ... or
>>> it could be util-vserver related. I haven't tried changing my
>>> util-vserver version yet.
>>>       
>> when you upgrade to 2.3 you MUST use 2.3 tools that is the lastest from
>> daniel repository from source or from beng debian package repository (
>> utils-vserver-basic-debian package)
>>
>> see http://linux-vserver.org/util-vserver:Devdebianpackage
>>     
>
> or backport what's in testing/squeeze to stable/lenny, as i've been testing
> 2.6.32.10-vs2.3.0.36.29.2 and 0.30.216-pre2864 has worked so far (at least
> with ext3).
>
> it's pretty easy (see attached patch for required changes to package):
>  * wget -Nv
> http://http.us.debian.org/debian/pool/main/u/util-vserver/util-vserver_0.30.216-pre2864-1.dsc
> http://http.us.debian.org/debian/pool/main/u/util-vserver/util-vserver_0.30.216-pre2864.orig.tar.gz
> http://http.us.debian.org/debian/pool/main/u/util-vserver/util-vserver_0.30.216-pre2864-1.diff.gz
>  * dpkg-source -x util-vserver_0.30.216-pre2864-1.dsc
>  * cd util-vserver-0.30.216-pre2864
>  * patch -p1 <../util-vserver_0.30.216-pre2864-1~udo50+1.patch
>  * dpkg-buildpackage -D -us -uc
>
> sorry, i've used the util-vserver utilities compiled from source and they
> work just as well as those in the debian package (as should be expected),
> but i've personally found the start-up scripts in the debian package better
> integrate with a debian system than those upstream, so i lean towards the
> debian package (thanks micah).
>
> corey
>