Re: [Vserver] mountpoints blocked - reloaded

2006-02-20 Thread Björn Steinbrink
On 2006.02.18 00:38:02 +0100, Herbert Poetzl wrote:
 On Fri, Feb 17, 2006 at 01:50:41PM +0100, Oliver Welter wrote:
  Hi Folks, Hi Bertl,
  
  the problem which seemed to be solved re-appeard today with recent
  kernel patches (2.6.15-gentoo-r4-vs2.1.1-rc6)
  
  To reconstruct the problem
  1) add a drbd blockdevice to the guests fstab
  2) start and stop guest
  3) try to unmount the device
  you get an error, telling that the drbd device is still mounted...
  
  So - any ideas ??
 
 okay, just as update, we tracked this down to 
 the fact that even mainline 2.6.15/2.6.16-rc3
 does not release ext3 filesystems properly
 when the namespace is destroyed ... this can
 be easily verified with a mainline kernel and
 the following command sequence:
 
  vnamespace --new -- mount /dev/hda1 /mnt
 
 (assuming that /dev/hda1 contains an ext3 fs
 and /mnt exists, this will claim hda1 but not
 release it -- it works fine with ext2 though)
 
 now investigating ...

Bertl tracked the issue down to be caused by the kernel thread created
for the mount (kjournald), which is running in the new namespace. Once
all user processes in that namespace are gone, you loose access to it,
but the kjournald keeps it alive, thus the mount stays around which in
turn keeps the kjournald alive, oops :-)

A patch to fix this is in -mm now, the according threads on lkml are:
Message-Id: [EMAIL PROTECTED]
http://lkml.org/lkml/2006/2/17/323

Message-Id: [EMAIL PROTECTED]
http://lkml.org/lkml/2006/2/20/33

Björn
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Humble beginnings of Linux::VServer

2006-02-20 Thread Sam Vilain

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I have started work on a Linux::VServer perl module, and it can at least
make a syscall or two already.

The main purpose of the module is for something to easily prototype
changes people suggest to the API as the vserver-inclusion branch gets
ready, and to have a place for managing an extremely finely grained test
suite that is useful for cross-checking and debugging kernel-side
development.

For the VServer 2.1 API used by VServer 2.0+, it just wraps libvserver.
~ The 3.1 API, used currently only by the vserver-inclusion I am
working on, is 'pure' perl.

As a side project, I will be bundling up the patchy bits and pieces of
scripts I have made available over time (such as immucp, unify-dirs, the
LVM integrated vserver creation scripts, etc) into this module, which
may end up being split off into a seperate distribution etc.  Or, if
people are interested, may end up being a more comprehensive set of
userland utilities.

Currently you can browse the tree at

~ http://vserver.utsl.gen.nz/gitweb/?p=Linux-VServer.git;a=summary

or pull via git (or your favourite git porcelain) from

~ git://vserver.utsl.gen.nz/git/Linux-VServer.git

- --
Sam Vilain, Catalyst IT (NZ) Ltd.
phone: +64 4 499 2267PGP ID: 0x66B25843
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD+qvM/AZAiGayWEMRAuAQAJ9ecDsl2zxbTdqNLkVbP+851tNDiwCeIxIO
A7nKfus/kiZTU05R2O9Oa3Q=
=686r
-END PGP SIGNATURE-
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] [parisc 32bit] new 2.6.16-rc4-vs2.1.1-rc7-pa1-d32up successfull test ; -)

2006-02-20 Thread Joel Soete
Hello vps*,

You know the drill, here are the results of latest
2.6.16-rc4-vs2.1.1-rc7-pa1-d32up 32bit up kernel test on a parisc boxe:
Linux patst007 2.6.16-rc4-vs2.1.1-rc7-pa1-d32up #6 Mon Feb 20 18:53:18 CET
2006 parisc GNU/Linux
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.16-rc4-vs2.1.1-rc7-pa1-d32up #6 Mon Feb 20 18:53:18 CET 2006 parisc
Ea 0.30.210 263/fallback (S*) v13,net
VCI: 0002:0001 263 03000116 (TbLgnP)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
---
[L01]# succeeded.
[D01]# succeeded.
[L02]# succeeded.
[D02]# succeeded.
[L03]# succeeded.
[D03]# succeeded.
[L11]# succeeded.
[D11]# succeeded.
[L12]# succeeded.
[D12]# succeeded.
[L21]# succeeded.
[D21]# succeeded.
[L22]# succeeded.
[D22]# succeeded.
[L31]# succeeded.
[D31]# succeeded.
Linux-VServer FS Test [V0.12] Copyright (C) 2005-2006 H.Poetzl
Linux 2.6.16-rc4-vs2.1.1-rc7-pa1-d32up parisc/0.30.210
VCI:  0002:0001 263 03000116 (ugid24)
---
testing ext2 filesystem ...
[000]. (ext2 format)
xid related tests ...
[001]. [002]. [011]. [012]. [014]. [015]. [019].
[020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028].
[033]. [034]. [035]. [037].
xattr related tests ...
[101]. [102]. [103]. [104]. [106]. [108]. [109].
[112]. [113]. [114]. [115]. [116]. [117]. [118]. [119].
[121]. [122]. [123]. [124]. [199].

---
testing ext3 filesystem ...
[000]. (ext3 format)
xid related tests ...
[001]. [002]. [011]. [012]. [014]. [015]. [019].
[020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028].
[033]. [034]. [035]. [037].
xattr related tests ...
[101]. [102]. [103]. [104]. [106]. [108]. [109].
[112]. [113]. [114]. [115]. [116]. [117]. [118]. [119].
[121]. [122]. [123]. [124]. [199].

---
testing xfs filesystem ...
[000]. (xfs format)
xid related tests ...
[001]. [002]. [011]. [012]. [014]. [015]. [019].
[020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028].
[033]. [034]. [035]. [037].
xattr related tests ...
[101]. [102]. [103]. [104]. [106]. [108]. [109].
[112]. [113]. [114]. [115]. [116]. [117]. [118]. [119].
[121]. [122]. [123]. [124]. [199].

---
testing reiser filesystem ...
[000]. (reiserfs format)
xid related tests ...
[001]. [002]. [011]. [012]. [014]. [015]. [019].
[020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028].
[033]. [034]. [035]. [037].
xattr related tests ...
[101]. [102]. [103]. [104]. [106]. [108]. [109].
[112]. [113]. [114]. [115]. [116]. [117]. [118]. [119].
[121]. [122]. [123]. [124]. [199].

---
testing jfs filesystem ...
[000]. (jfs format)
xid related tests ...
[001]. [002]. [011]. [012]. [014]. [015]. [019].
[020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028].
[033]. [034]. [035]. [037].
xattr related tests ...
[101]. [102]. [103]. [104]. [106]. [108]. [109].
[112]. [113]. [114]. [115]. [116]. [117]. [118]. [119].
[121]. [122]. [123]. [124]. [199].

Hth,
Joel

---
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 



___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver