Problem mit Quota

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
Post Reply
Anonymous
 

Problem mit Quota

Post by Anonymous »

Hallo,

mein quota-System funktioniert soweit. Mit

Code: Select all

quota username
kann ich die Quotas der einzelnen User abrufen, der Rechner blockiert auch korrekt, wenn die quota erschöpft ist.

Wenn ich mir aber alle Quotas mit

Code: Select all

repquota -au
bzw.

Code: Select all

repquota -ag
als Liste ansehen will, bekomme ich immer nur die Fehlermeldung:

Code: Select all

Quotafile format detected differs from the specified one (or the one kernel uses on the file).
Wo liegt der Fehler? TIA!
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Problem mit Quota

Post by captaincrunch »

DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
Contact:
 

Re: Problem mit Quota

Post by dodolin »

@Chris: Ich glaube kaum, dass sein Problem im Howto behandelt wird. -> zu speziell und tritt hoffentlich bei korrekter Anwendung des Howtos nicht auf.

@ap: Könnte es sein, dass dein repquota-Programm mit einer anderen Quota-Version arbeitet, als dein Kernel und deine restlichen Programme? Es gibt Quota v1 und Quota v2, siehe z.B. Deutsches Quota Howto. Die sind nicht miteinander kompatibel.
Anonymous
 

Re: Problem mit Quota

Post by Anonymous »

dodolin wrote:@ap: Könnte es sein, dass dein repquota-Programm mit einer anderen Quota-Version arbeitet, als dein Kernel und deine restlichen Programme? Es gibt Quota v1 und Quota v2, siehe z.B. Deutsches Quota Howto. Die sind nicht miteinander kompatibel.
Also, ich habe einfach das Quota genommen, welches yast (suse 8.1) installiert hat, also Quota 3.03. Meine Quota-Dateien heißen quota.user und quota.group. Auf einem anderen Server läuft es auch so, wie gewünscht, nur auf diesem nicht. Wie bekomme ich denn die repquota-Version heraus?

NACHTRAG: Auch der Parameter -F vsfv0 brachte nix, mit -F vsfold kam obige Fehlermeldung.
Anonymous
 

Re: Problem mit Quota

Post by Anonymous »

Ich habe jetzt den ganzen Quota-Krams gelöscht und neu installiert. Und schwupps - es läuft :)

Manchmal hilft eben doch nur der Holzhammer.
Post Reply