[Vserver] rebooting from inside

2006-10-09 Thread Mehdi Bennani
by itself and gets stuck. reboot -f gives the same result on both init styles CAP_SYS_BOOT is set in /etc/vservers/test26/bcapabilities time-out is set to 120 in /etc/vservers/test26/apps/vshelper/sync-timeout Any idea? Thanks a lot Mehdi Bennani = System

Re: [Vserver] rebooting from inside

2006-10-09 Thread Mehdi Bennani
doesn't go back to zero). What distribution are you running in your guest? Debian Sarge built with vserver NAME build -m debootstrap -- -d sarge. Thanks, Mehdi Bennani ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux

Re: [Vserver] rebooting from inside

2006-10-09 Thread Mehdi Bennani
Actually, with sysv, reboot -f doesn't return any error but the vserver doesn't reboot (ssh session isn't interrupted and the uptime shown by vserver-stat on the host doesn't go back to zero). Hmm. How did you install the utils? Did you install them by hand? If so, did you remember to run

Re: [Vserver] rebooting from inside

2006-10-09 Thread Mehdi Bennani
Sorry! There was a file named disabled in /etc/vservers/.defaults/apps/vshelper/ I deleted it and now it works well in both init styles. Thank you for your help. Best regards, Mehdi Bennani ___ Vserver mailing list Vserver@list.linux-vserver.org http

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

2006-09-19 Thread Mehdi Bennani
Hello, thanks a lot for your answer. You can see this message posted by Daniel Hokka Zakrisson : http://archives.linux-vserver.org/200607/0139.html . His web site has this patch and some others. The debian package integrates it with others. I tried to apply the patch over 0.30.210 source and

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

2006-09-19 Thread Mehdi Bennani
Hi Christian and Rik, Thank you for the umounting in all namespaces solution, it seems to partially solve the problem. But, for a reason I can't understand, some logical volunes still remain open even after performing vnamespace -e [xid] umount for each running context. Best regards,Mehdi

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

2006-09-19 Thread Mehdi Bennani
Then I have to umount BOTH mountpoint and lvm device on the host system for the lvremove command to work. Again, thank you so much for your help and for your work on the vserver project! Best regards, Mehdi Bennani ___ Vserver mailing list Vserver

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

2006-09-15 Thread Mehdi Bennani
! Regards, Mehdi Bennani =system info== vserver:~# vserver-infoVersions: Kernel: 2.6.12lvs VS-API: 0x00020001 util-vserver: 0.30.210; Jun 11 2006, 14:57:10 Features: CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13) CXX: g++, g++ (GCC) 3.3.5

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:

Re: [Vserver] Cloning a vserver

2006-06-27 Thread Mehdi Bennani
Hi,Have you changed the context numberin /etc/vservers/new/context?As I had lots of trouble changing config stuff when copying, I have a personal way for copy/duplicate:-make a new vserver skeleton named new with right ip, context, etc that way: vserver [name] build -m skeleton --hostname

[Vserver] vsched and multi-CPU

2006-05-30 Thread Mehdi Bennani
of one whole CPU to itself, then you'd set fill-rate to 1 and interval to 4. ... is not clear... does it mean that (fill-rate) / (interval) is the proportion for the FOUR CPU's? Where is the truth? --Is a processor with Hyperthreading counted as two processors by vserver? Thanks, Mehdi Bennani

[vserver] load tests for memory

2006-05-17 Thread Mehdi Bennani
with loads of data? Thanks a lot, any help will be welcome. Mehdi Bennani = System info: Dell 1850 2*Intel Xeon 3Ghz 1G RAM Debian 3.1 with precompiled 2.6.12lvs kernel and apt-get'ed util-vserver: 0.30.210 vserver:/# vserver-info Versions