[Vserver] Changing CPU scheduler vhashify prblm

2006-10-26 Thread Jaroslav Tomecek

Hi,
1) Is it possible to change the configuration of CPU scheduler 
on-the-fly (something like 'vlimit' command for memory limits)?
2) I tried to hashify two vservers based on Suse. The 'vserver 
vserver hashify' command returned:


manwe3:/ # vserver manwe-a hashify
Packagemanagement is not supported for 'suse' style
failed to determine configfiles

I thought that that hashification doesn't depend on packagemanagement. 
Can you help me please?


This is my configuration:

manwe3:/ # vserver --version
vserver 0.30.210 -- manages the state of vservers
This program is part of util-vserver 0.30.210
Copyright (C) 2003,2004,2005 Enrico Scholz
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
manwe3:/ # uname -a
Linux manwe3 2.6.18-vs2.1.1-rc38-smp #3 SMP Tue Oct 17 22:29:30 CEST 
2006 x86_64 x86_64 x86_64 GNU/Linux

manwe3:/ #

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


[Vserver] Changing CPU scheduler vhashify prblm

2006-10-26 Thread Jaroslav Tomecek

Hi,
1) Is it possible to change the configuration of CPU scheduler
on-the-fly (something like 'vlimit' command for memory limits)?
2) I tried to hashify two vservers based on Suse. The 'vserver
vserver hashify' command returned:

manwe3:/ # vserver manwe-a hashify
Packagemanagement is not supported for 'suse' style
failed to determine configfiles

I thought that that hashification doesn't depend on packagemanagement.
Can you help me please?

This is my configuration:

manwe3:/ # vserver --version
vserver 0.30.210 -- manages the state of vservers
This program is part of util-vserver 0.30.210
Copyright (C) 2003,2004,2005 Enrico Scholz
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
manwe3:/ # uname -a
Linux manwe3 2.6.18-vs2.1.1-rc38-smp #3 SMP Tue Oct 17 22:29:30 CEST
2006 x86_64 x86_64 x86_64 GNU/Linux
manwe3:/ #


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


Re: [Vserver] Changing CPU scheduler vhashify prblm

2006-10-26 Thread Daniel Hokka Zakrisson

Jaroslav Tomecek wrote:

Hi,
1) Is it possible to change the configuration of CPU scheduler
on-the-fly (something like 'vlimit' command for memory limits)?


Yes, with vsched.


2) I tried to hashify two vservers based on Suse. The 'vserver
vserver hashify' command returned:

manwe3:/ # vserver manwe-a hashify
Packagemanagement is not supported for 'suse' style
failed to determine configfiles

I thought that that hashification doesn't depend on packagemanagement.
Can you help me please?


Well, vhashify is using a lot of the same code as vunify, and it still 
needs a way to exclude configuration files (on non-devel kernels, but 
the utils don't make that distinction). If you add |suse to line 80 of 
prefix/lib*/util-vserver/vpkg, so it looks like 
(redhat|mandrake|suse), does it work?



This is my configuration:

manwe3:/ # vserver --version
vserver 0.30.210 -- manages the state of vservers
This program is part of util-vserver 0.30.210
Copyright (C) 2003,2004,2005 Enrico Scholz
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
manwe3:/ # uname -a
Linux manwe3 2.6.18-vs2.1.1-rc38-smp #3 SMP Tue Oct 17 22:29:30 CEST
2006 x86_64 x86_64 x86_64 GNU/Linux
manwe3:/ #


Old utils and old kernel ;)

--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Multicast

2006-10-26 Thread Jaroslav Tomecek

Hi,
I have problems with multicat applications.

bind(1, {sa_family=AF_INET, sin_port=htons(8649), 
sin_addr=inet_addr(239.2.11.73)}, 16) = -1 EADDRNOTAVAIL (Cannot 
assign requested address)


I found:
http://www.paul.sladen.org/vserver/archives/200604/0148.html

Is it the best way?

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


[Vserver] Re: [Lustre-discuss] Lustre 1.6-beta Debian package with 2.6.18 asuccess

2006-10-26 Thread Andreas Dilger
On Oct 26, 2006  16:21 +0200, [EMAIL PROTECTED] wrote:
 http://www.paul.sladen.org/vserver/archives/200506/0058.html
 During compilation you should have gotten warnings about implicit
 declarations of vx_rmap_pid. Take the .c files for which those warnings
 show up, and add an #include linux/vs_cvirt.h to them. That should fix
 your issues.


It would make more sense to include this header into whatever defines the
macros that affect the compiled files.  That way no need to change the
compiled sources at all?

 - Original Message - 
 From: Andreas Dilger [EMAIL PROTECTED]
 To: Jon Scottorn [EMAIL PROTECTED]
 Cc: lustre-discuss [EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 12:46 AM
 Subject: Re: [Lustre-discuss] Lustre 1.6-beta Debian package with 2.6.18 
 asuccess
 
 
 On Oct 25, 2006  13:48 -0600, Jon Scottorn wrote:
 Do you know what I might be missing to get the patchless client working
 on debian with vservers.
 
 I can get the patchless client working without vservers and I had heard
 that someone had it working with vservers.
 I can build the lustre source patchless client with the vservers patched
 in the kernel but then when I go to mount lustre FS I get a bunch of
 unknown symbols reported to dmesg.
 
 Here is a sample of a few:
 
 libcfs: Unknown symbol vx_rmap_pid
 
 This is caused by the vserver patch, I'd guess.  Maybe it adds a macro 
 that
 Lustre calls somewhere that accesses this symbol?  Can't help you there.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

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


[Vserver] disk quota

2006-10-26 Thread Alexander Kabanov
hi there,

I've tried to enable guest disk quota, as described here:
http://oldwiki.linux-vserver.org/Standard+non-shared+quota

then, when I do something like
$ dd if=/dev/zero of=test bs=1k
under a user account with limits, nothing happens.

how do I debug this? I believe somebody asked this question some time
ago, can't find it. what is cqhadd?

best,

--Alex

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


Re: [Vserver] Re: [Lustre-discuss] Lustre 1.6-beta Debian package with 2.6.18 asuccess

2006-10-26 Thread Herbert Poetzl
On Thu, Oct 26, 2006 at 02:04:01PM -0600, Andreas Dilger wrote:
 On Oct 26, 2006  16:21 +0200, [EMAIL PROTECTED] wrote:
  http://www.paul.sladen.org/vserver/archives/200506/0058.html
  During compilation you should have gotten warnings about implicit
  declarations of vx_rmap_pid. Take the .c files for which those
  warnings show up, and add an #include linux/vs_cvirt.h to them.
  That should fix your issues.
 
 It would make more sense to include this header into whatever defines
 the macros that affect the compiled files. That way no need to change
 the compiled sources at all?

not so trivial, for various reasons, but this has
been fixed in a different way in recent patches

best,
Herbert

  - Original Message - 
  From: Andreas Dilger [EMAIL PROTECTED]
  To: Jon Scottorn [EMAIL PROTECTED]
  Cc: lustre-discuss [EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 12:46 AM
  Subject: Re: [Lustre-discuss] Lustre 1.6-beta Debian package with 2.6.18 
  asuccess
  
  
  On Oct 25, 2006  13:48 -0600, Jon Scottorn wrote:
  Do you know what I might be missing to get the patchless client
  working on debian with vservers.
  
  I can get the patchless client working without vservers and I had
  heard that someone had it working with vservers. I can build the
  lustre source patchless client with the vservers patched in the
  kernel but then when I go to mount lustre FS I get a bunch of
  unknown symbols reported to dmesg.
  
  Here is a sample of a few:
  
  libcfs: Unknown symbol vx_rmap_pid
  
  This is caused by the vserver patch, I'd guess. Maybe it adds a
  macro that Lustre calls somewhere that accesses this symbol? Can't
  help you there.
 
 Cheers, Andreas
 --
 Andreas Dilger
 Principal Software Engineer
 Cluster File Systems, Inc.
 
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver