[Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Mehdi Bennani
Hello, I am setting up a host with LVM volumes for each vserver. I made scripts for vserver creation which include on-the-fly Logical Volume creation, formating and mount, that works pretty well. Things are getting worse when I try to delete a Logical Volume after having the vserver stopped and

Re: [Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Christian Affolter
Hi! I am setting up a host with LVM volumes for each vserver. I made scripts for vserver creation which include on-the-fly Logical Volume creation, formating and mount, that works pretty well. Things are getting worse when I try to delete a Logical Volume after having the vserver stopped

Re: [Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Rik Bobbaers
Try to unmount your volume for each active name space: vnamespace -e [namespace of context xid] umount /your/lvm/volume i scripted it like this: gandalf:~# cat /usr/local/bin/unmount_vserver #!/bin/sh if [ -n $1 ] then for i in `ls -1 /proc/virtual | egrep -v 'info|status'`; do vnamespace

Re: [Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Mehdi Bennani
Hi, Try to unmount your volume for each active name space: vnamespace -e [namespace of context xid] umount /your/lvm/volume Thanks a lot, but my lv's are the root of each vserver so I have to stop them before umounting, then the namespace is no longer in use and I get: vnamespace:

[Vserver] advanced routing per vps

2006-09-15 Thread Rik Bobbaers
heya all, since yesterday , i found it necessary to do my routing per vserver. so what did i do: (i put everything in /usr/local btw ;)) gandalf:~# cat /usr/local/etc/vservers/.defaults/scripts/pre-start #!/bin/sh HOSTNAME=$2 IF=`cat /usr/local/etc/vservers/${HOSTNAME}/interfaces/0/dev`

Re: [Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Christian Affolter
Try to unmount your volume for each active name space: vnamespace -e [namespace of context xid] umount /your/lvm/volume Thanks a lot, but my lv's are the root of each vserver so I have to stop them before umounting, then the namespace is no longer in use and I get: vnamespace:

Re: [Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Rik Bobbaers
Mehdi Bennani wrote: Hi, Thanks a lot, but my lv's are the root of each vserver so I have to stop them before umounting, then the namespace is no longer in use and I get: vnamespace: vc_enter_namespace(): No such process Obviously if I try it before stopping the vserver, I get: umount:

Re: [Vserver] lvremove: Can't remove open logical volume

2006-09-15 Thread Xavier Montagutelli
On Friday 15 September 2006 11:38, Rik Bobbaers wrote: Mehdi Bennani wrote: Hi, Thanks a lot, but my lv's are the root of each vserver so I have to stop them before umounting, then the namespace is no longer in use and I get: vnamespace: vc_enter_namespace(): No such process

Re: [Vserver] ip count

2006-09-15 Thread Chuck
On Friday 15 September 2006 12:21, Bruno wrote: great. thanks.. makes life lots more simple. On Friday 15 September 2006 01:45, Chuck wrote: On Thursday 14 September 2006 16:07, Herbert Poetzl wrote: ok... one quick question... if the host has this patch, must the guest have it if the

[Vserver] Bug linux-2.6.17.13 ?

2006-09-15 Thread vserver
Hello all I'm new member on this mailing-list but i use linux-vserver since 2 years. I've a problem today with kernel-2.6.17.13 patch-2.6.17.13-vs2.1.1-rc34.diff but I am not sure that is in connection with the patch : My config : - debian-3.1 stable + sources backports. - preceding core :

Re: [Vserver] Bug linux-2.6.17.13 ?

2006-09-15 Thread Daniel Hokka Zakrisson
[EMAIL PROTECTED] wrote: Hello all I'm new member on this mailing-list but i use linux-vserver since 2 years. I've a problem today with kernel-2.6.17.13 patch-2.6.17.13-vs2.1.1-rc34.diff but I am not sure that is in connection with the patch : Yep, a test delta slipped in without getting