столкнулся с проблемой включения квот.
Сделано вот чтоserver3:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda2 / ext3 grpquota,errors=remount-ro,usrquota,rw 0 1
/dev/sda1 /boot ext2 defaults 0 2
/dev/sda6 /tmp ext3 defaults 0 2
/dev/sda5 none swap sw 0 0
server3:~# lsmod | grep quo
quota_v2 8736 0
quota_v1 3552 0
vzdquota 32796 4 [permanent]
vzdev 3624 4 vzethdev,vznetdev,vzdquota,vzmon
Далее
включаем квоты
server3:~# quotaon /
quotaon: Cannot find quota file on / [/dev/sda2] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/sda2] to turn quotas on/off.
server3:~# touch /quota.user /quota.group
server3:~# chmod 600 /quota.*
server3:~# mount -o remount /
server3:~# mount
/dev/sda2 on / type ext3 (rw,grpquota,errors=remount-ro,usrquota)
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,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda6 on /tmp type ext3 (rw)
server3:~# quotacheck -avugm
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: WARNING - Quotafile //quota.user was probably truncated. Cannot save quota settings...
quotacheck: WARNING - Quotafile //quota.group was probably truncated. Cannot save quota settings...
quotacheck: Scanning /dev/sda2 [/] done
quotacheck: Checked 17267 directories and 179855 files
server3:~# quotaon –avug /
quotaon: Cannot stat() given mountpoint –avug: No such file or directory
Skipping...
quotaon: using //quota.group on /dev/sda2 [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/sda2 [/]: No such process
quotaon: Quota format not supported in kernel.
Далее
server3:~# quotaoff /
quotaoff: quotactl on /dev/sda2 [/]: No such process
quotaoff: quotactl on /dev/sda2 [/]: No such process
server3:~# quotacheck -mufv /
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Scanning /dev/sda2 [/] done
quotacheck: Checked 17267 directories and 179855 files
server3:~# quotaon /
quotaon: using //quota.group on /dev/sda2 [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/sda2 [/]: No such process
quotaon: Quota format not supported in kernel.
В общем и целом, это малая часть моих мучений. В гугле не забанили. Попробовал много чего. Не помогло. :(
Что делать?