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

From: Jean-Christophe Petit (jcpetit_at_syspark.com)
Date: Wed 18 Feb 2004 - 02:05:49 GMT


Thanks a lot for your answer.
But if I removed the "Per Context Quota/Disk Limits Addon" patch, does the
quota will work inside eache virtual server ?

thanks again,
JC

At 07:33 PM 2/17/2004, Fritz Kron wrote:
>Hello,
>
>Had just a similar problem, removing the "Per Context Quota/Disk Limits
>Addon" patch from kernel, which you will not need for secure quotas on
>separate partition, fixed this problem for me.
>
>... Fritz
>
>
>On Tue, 17 Feb 2004 12:56:16 -0500
>Jean-Christophe Petit <jcpetit_at_syspark.com> wrote:
>
> > Hello,
> >
> > I have a installed and configured secure quota with LVM and the quota
> support does not work.
> > I followed: http://www.13thfloor.at/old/VServer/HowTo_LVMQS.shtml
> > and http://list.linux-vserver.org/archive/vserver/msg05969.html
> >
> > when ext3 or ufs is used (in the vserver1) I have the following errors:
> > Turning on quota. quotaon: using //aquota.group on /dev/hdv1 [/]: No
> such device or address
> > quotaon: using //aquota.user on /dev/hdv1 [/]: No such device or address
> >
> > SETUP:
> > [ Redhat Enterprise 2.1 ]
> > kernel 2.4.24
> > patch-2.4.24-vs1.26.diff
> > patch-2.4.24-vs1.26-q0.13.diff (I also tried with 0.12)
> >
> > util-vserver-0.28-1mdk
> > quota-3.09-1.21
> > vr-tools-0.14
> >
> > kernel config:
> > 'Virtual root device' enabled in 'Block devices --->'
> > 'Quota support' enabled in 'File systems --->'
> > 'VFS v0 quota format support' enabled in 'File systems --->'
> > 'Persistend Context ID for files' at '(UID32/GID32)'
> >
> > /dev/vservers is the LVM volume group
> > /dev/vservers/vs1lv LVM separate partition for the virtual vserver1
> > /dev/vroot/0 is the virtual root device used
> >
> > the mtab of the vserver1 :
> > /dev/hdv1 / ufs rw,usrquota,grpquota 0 0
> >
> > Make node with name for vserver: mknod /dev/vroot/0 b 4 0
> >
> > ----------------- /etc/vservers/vserver1.sh -----------------
> > #!/bin/sh
> > case $1 in
> > pre-start)
> > e2fsck -p /dev/vservers/vs1lv
> > mount -o rw,usrquota,grpquota /dev/vservers/vs1lv
> /vservers/vserver1
> > rm -f /vservers/vserver1/dev/hdv1
> > vrsetup /dev/vroot/0 /dev/vservers/vs1lv
> > cp -fa /dev/vroot/0 /vservers/vserver1/dev/hdv1
> > ;;
> > post-start)
> > ;;
> > pre-stop)
> > ;;
> > post-stop)
> > mount -o remount,ro /vservers/vserver1
> > umount /vservers/vserver1
> > vrsetup -d /dev/vroot/0
> > ;;
> > *)
> > echo $0 pre-start
> > echo $0 pre-stop
> > echo $0 post-start
> > echo $0 post-stop
> > ;;
> > esac
> > ----------------- /etc/vservers/vserver1.sh -----------------
> >
> > dans /etc/vservers/vserver1.conf:
> > S_FLAGS="lock nproc"
> > S_CAPS="CAP_NET_RAW CAP_QUOTACTL"
> >
> >
> > many thanks for your help,
> >
> > --
> > Jean-Christophe Petit
> > Syspark inc.
> >
>_______________________________________________
>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


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 Wed 18 Feb 2004 - 02:08:10 GMT by hypermail 2.1.3