PDA

View Full Version : The Perfect Server Opensuse 11.1(ISPconfig 3) - quota


baskin
9th May 2009, 13:20
I have followed the how-to for opensuse 11.1-ispconfig 3. Everything seems ok but i'm getting the following on boot:

#cat /var/log/boot.msg | grep quota
<5>VFS: Disk quotas dquot_6.5.1
/dev/mapper/pdc_jfiiaeff_part1 on /srv type ext3 (rw,acl,user_xattr,usrquota,grpquota)
doneTurning quota on
Checking quotas. This may take some time.
quotaon: using //aquota.group on /dev/mapper/pdc_cifgacfhfa_part3 [/]: Invalid argument
quotaon: Maybe create new quota files with quotacheck(8)?
quotaon: using //aquota.user on /dev/mapper/pdc_cifgacfhfa_part3 [/]: Invalid argument
quotaon: Maybe create new quota files with quotacheck(8)?
/dev/mapper/pdc_jfiiaeff_part1 [/srv]: group quotas turned on
/dev/mapper/pdc_jfiiaeff_part1 [/srv]: user quotas turned on
Failed features: boot.quota

It seems that there is a problem with quotas on root (/) partition and that everything is ok on the /srv partition.

How can i solve the problem?

Thanks in advance.

falko
10th May 2009, 18:50
How exactly did you set up quota?
What's in /etc/fstab?

baskin
11th May 2009, 13:11
I have followed the exact instructions on the how to:


yast2 -i quota

I have edit the fstab

/dev/mapper/pdc_cifgacfhfa_part2 swap swap defaults 0 0
/dev/mapper/pdc_cifgacfhfa_part3 / ext3 acl,user_xattr,usrquota,grpquota 1 1
/dev/mapper/pdc_cifgacfhfa_part1 /boot ext3 acl,user_xattr 1 2
/dev/mapper/pdc_jfiiaeff_part1 /srv ext3 acl,user_xattr,usrquota,grpquota 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0


and execute

touch /aquota.user /aquota.group
chmod 600 /aquota.*
touch /srv/aquota.user /srv/aquota.group
chmod 600 /srv/aquota.*

mount -o remount /
mount -o remount /srv

quotacheck -avugm
quotaon -avug

The only different warning from the how to was to enable journal quota, but i don't know how to do it.

Thanks again for your time.

baskin
12th May 2009, 11:52
It seems that a

rootflags=quota

is needed on the grub boot entry.

That eliminates the boot error message.