Hello,
I have a installed and configured secure quota with
LVM and the quota support does not work.
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] LVM + Secure Quota Jean-Christophe Petit
- [Vserver] LVM + Secure Quota Jean-Christophe Petit
- Re: [Vserver] LVM + Secure Quota Fritz Kron
- Re: [Vserver] LVM + Secure Quota Jean-Christophe Petit
- Re: [Vserver] LVM + Secure Quota Herbert Poetzl
- Re: [Vserver] LVM + Secure Quo... Jean-Christophe Petit
- Re: [Vserver] LVM + Secure... Herbert Poetzl