Tisztel táblabíróság!
Van a címben leírt SuSE 9.3 alapvetően web server, ezen kellene quota-t
beállítanom, de sehogy nem sikerül a dolog, a "szokott" módon próbálom
csinálni:
Tehát /etc/fstab
/dev/sda2 / reiserfs
acl,user_xattr 1 1
/dev/sda3 /var/www reiserfs
acl,user_xattr,usrquota,grpquota 1 2
/dev/sda1 swap swap
pri=42 0 0
devpts /dev/pts devpts
mode=0620,gid=5 0 0
proc /proc proc
defaults 0 0
sysfs /sys sysfs
noauto 0 0
/dev/cdrom /media/cdrom subfs
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs
noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0
A /dev/sda3 gyökerében (/var/www) létrehoztam két filet:
touch aquota.user aquota.group
chmod 0600 aquota.*
Amit fel kellett telepíteni (quota) feltettem (úgy gondolom, mivel
yast-al csináltam, ez persze nem apt-get). Ha kiadoma a
setquota -F vfsv0 -g valdeal 4718592 5242880 922 1024 -a
vagy a
setquota -F vfsv0 -g valdeal 4718592 5242880 922 1024 /var/www
vagy a
setquota -F vfsv0 -g valdeal 4718592 5242880 922 1024 /dev/sda3
utasítást, cserébe hibaüzenetet kapok:
setquota: Quota file not found or has wrong format.
setquota: Not all specified mountpoints are using quota.
Ez csuda, hisz a quotafile most tök üres 0B
Kérem a tisztelt táblabíróságot segítsen!
_________________________________________________
linux lista - linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux