Page 1 of 1

Nachträgliche Quota Aktivierung

Posted: 2010-11-06 12:08
by olli2k
Hallo zusammen,
ich habe nach einem Serverumzug folgendes Problem mit Quotas, die ich einrichten möchte:

Code: Select all

cat /etc/debian_version
5.0.6

Code: Select all

cat /boot/config*    | grep -i "quota"
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_XFS_QUOTA=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
CONFIG_PRINT_QUOTA_WARNING=y
CONFIG_QUOTACTL=y
Quotaunterstützung ist also im Kernel.

Code: Select all

dpkg -l | grep -i "quota"
ii  libquota-perl                       1.6.2+dfsg-2+b1            Perl interface to file system quotas
ii  quota                               3.16-7                     implementation of the disk quota system
ii  quotatool                           1.4.10-1                   tool to edit disk quotas from the command line
Alle benötigten Quota Pakete sind installiert.

/etc/fstab

Code: Select all

proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/md0 none swap sw 0 0
/dev/md1 /boot ext3 defaults,usrquota,grpquota 0 0
/dev/md2 / ext3 defaults,usrquota,grpquota 0 0
mount -o remount -a

Danach Mount mit folgender Ausgabe:

Code: Select all

mount
/dev/md2 on / type ext3 (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md1 on /boot type ext3 (rw)
Von den Quotas ist da aber leider nichts zu sehen, das Ergebnis von: quotacheck -acfugv
lautete daher entsprechend:
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

Was mache ich falsch? Liegt das am Softwareraid 1, dass das nicht funktioniert?

Vielen Dank im Voraus.

Re: Nachträgliche Quota Aktivierung

Posted: 2010-11-14 12:48
by olli2k
Echt niemand?

Re: Nachträgliche Quota Aktivierung

Posted: 2010-11-14 14:01
by Roger Wilco
Die mount-Option -o funktioniert meines Wissens nicht gemeinsam mit -a. Versuche die Rootpartition gezielt mit -o remount neu einzuhaengen.

Re: Nachträgliche Quota Aktivierung

Posted: 2010-11-14 14:41
by olli2k
Oh man, das war es wirklich, vielen Dank für die Hilfe @ Roger Wilco!