Hallo Jörg,
zur Punkt 1 und 2:
root@server:~# sophomorix-quota -i
The following usrquota filesystems were found by sophomorix-quota
on this server:
Filesystem 1: /dev/vdc1
Filesystem 2: /dev/vdb1
The order of the 2 filesystems is important!
I.e.: To set the Standard-Quota for all students on your host,
you must have a line like this in /etc/sophomorix/user/quota.txt:
standard-schueler:30+60
This line in quota.txt would set the following usrquota:
Filesystem 1: /dev/vdc1 to 30 MB
Filesystem 2: /dev/vdb1 to 60 MB
To see an overview of all quota use:
repquota -tsv /dev/vdc1
repquota -tsv /dev/vdb1
root@server:~# mount | grep -E "vdc|vdb"
/dev/vdc1 on /var type ext4 (rw,usrquota,grpquota)
/dev/vdb1 on /home type ext4 (rw,usrquota,grpquota)
Daraus ist also zu schließen:
Filesystem 1: /dev/vdc1 => /var
Filesystem 2: /dev/vdb1 => /home
Die Reihenfolge entspricht also -wie oben vermutet- zuerst /var dann /home, die erste Quota-Zahl steht vor /var die zweite für das /home Laufwerk und umgekehrt zu deinem Beispiel. Okay, weiter.
root@server:~# sophomorix-class -c 11fge1 --quota 20+400
#### /usr/sbin/sophomorix-class started ... ####
Quotastring is correct. -> updating
#### Creating lock in /var/lib/sophomorix/lock/sophomorix.lock ####
#### /usr/sbin/sophomorix-quota started ... ####
#### Calculating usrquota/mailquota ... (this may take a while) ####
#### Creating a userlist from options ... ####
#### Searching for users with changed quota/mailquota... ####
#### Setting changed Quota for users in the userlist ... ####
Checking user name01 (1/20):
setting quota (/dev/vdc1,uid 17313): 16M 20M 1600 2000
setting quota (/dev/vdb1,uid 17313): 320M 400M 32000 40000
Replacing ldap account dn: uid=name01,ou=accounts,dc=lml,dc=bs-witzenhausen,dc=de
Checking user name02 (2/20):
setting quota (/dev/vdc1,uid 17049): 16M 20M 1600 2000
setting quota (/dev/vdb1,uid 17049): 320M 400M 32000 40000
Replacing ldap account dn: uid=name01,ou=accounts,dc=lml,dc=bs-witzenhausen,dc=de
usw.....
Das hat wohl geklappt, Ich schließe daraus, dass die zweite Zahlenspalte für die jeweilige Quotas steht
So sieht dann das Ergebnis aus:
root@server:~# sophomorix-quota -i -c 11fge1
Reporting quota for some users:
Block limits File
User BF used soft hard grace grace
------------------------------------------------------------
name01 -- 0 15.6M 19.5M 0 0
-- 44.1M 312.5M 390.6M 0 0
name02 -- 0 15.6M 19.5M 0 0
-- 41M 312.5M 390.6M 0 0
usw.....
Vielen Dank Jörg, das hat uns sehr weiter geholfen!
Grüße,
gerd