From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 30 Jul 2004 - 13:43:08 BST
On Fri, Jul 30, 2004 at 02:08:41PM +0200, Sebastian Ganschow wrote:
> Hello,
>
> I tried to set up Per Context Disk Limits with the documentation on
> www.linux-vserver.org. When I set the Limit with
>
> # cqhadd -x 101 -v /dev/hda6
> # cddlim -x 101 -S 0,200,0,1000,5 -v /dev/hda6
>
> the Limit ist working, but when I restart the server the Disk Limit is away.
>
> I tried it with kernel 2.4.25 and with kernel 2.4.22. In both cases the Disk
> Limits are deleted after a restart of the system.
>
> I configured it with the following documentation:
> http://vserver.13thfloor.at/Linux2.6/index.php?page=Per+Context+Disk+Limits
>
> What could be the Problem?
nothing, this is expected behaviour, in the 2.4
stable addon patch for quota and disk limits the
in kernel store (hash) for this information is
not persistent per se, but there are several
scripts (like the one Matt did) available (just
search the mailing list archives) to solve this
issue ...
http://list.linux-vserver.org/archive/vserver/msg06020.html
disk limits for the vs1.9.x branch (no quota yet)
takes a different approach, but a host reboot will
purge the settings too ...
HTH,
Herbert
> Regards
> Sebastian
>
> PS: Could you please answer also to my email address, because of a bug it isn't
> possible for me to subscribe to the mailing list.
>
> --
> Sebastian Ganschow
> mailto:sebastian_at_ganschow.net
>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver