Nachträgliche Quota Aktivierung

Alles was in keine andere Systemkategorie passt
olli2k
Posts: 10
Joined: 2005-07-01 14:28
 

Nachträgliche Quota Aktivierung

Post 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.
olli2k
Posts: 10
Joined: 2005-07-01 14:28
 

Re: Nachträgliche Quota Aktivierung

Post by olli2k »

Echt niemand?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Nachträgliche Quota Aktivierung

Post by Roger Wilco »

Die mount-Option -o funktioniert meines Wissens nicht gemeinsam mit -a. Versuche die Rootpartition gezielt mit -o remount neu einzuhaengen.
olli2k
Posts: 10
Joined: 2005-07-01 14:28
 

Re: Nachträgliche Quota Aktivierung

Post by olli2k »

Oh man, das war es wirklich, vielen Dank für die Hilfe @ Roger Wilco!