Hi, first of all, many thanks to herbert for helping me ;)
following patches i use http://vserver.13thfloor.at/Experimental/c17e.html + 10__patch-2.4.22-c17e.diff.bz2 20__patch-2.4.22-c17e-rmap15k.diff.bz2 30__patch-2.4.22-c17e-rmap15k-mq0.11.diff.bz2 40__patch-2.4.22-c17e-mq0.10-cx0.06.diff.bz2 50__patch-2.4.22-c17e-mq0.11-cx0.06-cq0.11.diff.bz2 70__patch-2.4.22-ctx17a-vr0.13.diff.bz2 80__patch-2.4.22-c17e-rmap15k-ml0.06.diff.bz2 92__ulimit-unfix.diff.bz2 93__2.4.22-netdrvr1.patch.bz2 94__2.4.22-libata1.patch.bz2 use following command to patch the kernel # cd /usr/src/linux # for i in ../patches/quota/new5/* ; bzcat $i | patch -p1 ; done configure the kernel with quota support CONFIG_QFMT_V2=y CONFIG_INOCTX_GID24=y CONFIG_QUOTA=y now i modify the init script to start quota on boot. diff is attached. On every vserver.conf with quota support i have 1 extra variables REALBLOCKDEVICE="hda4" is the real block device where the vserver lies take a look at /etc/init.d/vservers there is also a variable SHAREDPARTS. All possibil partition with vserver are present in this variable. for every vserver with quota support i have a script vserver.sh which [de]aktivate the quota on vserver[start|stop]. i make a link for every vserver with quota support. # ln -s default.quota.sh <vserver>.sh setup some vserver and make a reboot. test if quota works. enter a vserver and do # quotaon -p /dev/hdv1 when it fails do a quotacheck. # quotaoff -avgu # quotacheck -avgum # quotaon -avgu have a look at the logfile in /var/log/messages for me it works very nice, thanks herbert for this great work. btw: my english sucks extremly :p cya later /stephan -- "How should I know if it works? That is what beta testers are for." -Linus Torvald
patch.vservers.diff
Description: Binary data
