Hello,

I have a problem with "per context disk quota"
I setup 5 vservers, and everything work very well.
But, for the 6th and above: impossible to start them. I have the following error :
Can't execute /etc/rc.d/rc (Permission denied)


I have kernel 2.4.25 with vs1.26 / quota 0.13 patch
The kernel was compiled with:
Virtual Root device support
(UID32/GID32) Persistent Context ID for files
Quota support

here is my mserver6 start up script. In the mserver6.conf, I use the context 6000
(for all mserver : [n]000 context for mserver[n])


#!/bin/sh
case $1 in
pre-start)
rm -f /vservers/mserver6/dev/hdv1
vrsetup /dev/vroot/0 /dev/hda4
cp -fa /dev/vroot/0 /vservers/mserver6/dev/hdv1
/usr/src/cq-tools-0.06/cqhadd -v -x 5000 /dev/vroot/0
/usr/src/cq-tools-0.06/cqdlim -x 5000 -S 0,0,`du -skx /vservers/mserver6 |awk '{print $1}'`,40000000,10 -v /dev/vroot/0 &
;;
post-start)
;;
pre-stop)
;;
post-stop)
/usr/src/cq-tools-0.06/cqhrem -x 5000 /dev/vroot/0
vrsetup -d /dev/vroot/0 /dev/hda4
;;
*)
echo $0 pre-start
echo $0 pre-stop
echo $0 post-start
echo $0 post-stop
;;
esac


thanks for your answers,

best regards,
Jesse


_______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to