About this list Date view Thread view Subject view Author view Attachment view

From: Sebastian Ganschow (sebastian_at_ganschow.net)
Date: Fri 30 Jul 2004 - 15:38:27 BST


I'm already working on a little script which wil restore the Disk Limits after
reboot. I think it would be enough. The Server wouldn't be restartet so often...
;)

thanks
Sebastian

--
Sebastian Ganschow
mailto:sebastian_at_ganschow.net

Quoting Herbert Poetzl <herbert_at_13thfloor.at>:

> On Fri, Jul 30, 2004 at 03:27:37PM +0200, Sebastian Ganschow wrote: > > Thank you so far. > > > > I searched the mailing list archive before, but I think I > > searched with the wrong keywords. > > > > I just wondered why the Limits aren't stored like regular quotas, > > simple, consider the following setup: > > /dev/hd0 / > /dev/hd1 /vservers/vs1 > /dev/hd2 /vservers/vs2 > > now quota is stored at the root dir of a disk, in > files called (a)quota.{user,group}, which in this > case could be /vservers/vs1/quota.user, you probably > do not want the disk limits to be stored in a > /vservers/vs1/disk.limit file inside the vserver > path ... > > aside from that, writing the info back to the disk > seems not really necessary, and can be done from > userspace if somebody wants to do it ... > > best, > Herbert > > > but the skript will be a appropriate solution for this problem. > > > > regards > > Sebastian > > > > -- > > Sebastian Ganschow > > mailto:sebastian_at_ganschow.net > > > > > > Quoting Herbert Poetzl <herbert_at_13thfloor.at>: > > > > > 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 > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > >

---------------------------------------------------------------- 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


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 30 Jul 2004 - 15:40:29 BST by hypermail 2.1.3