I am having trouble setting up quota on a Redhat 7.2 system. The kernel is kernel-2.4.9-31. /aquota.user exists. But when I run quotacheck I get:
[root@wintermute root]# quotacheck -avug quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Can't save quota settings... quotacheck: Cannot remount filesystem mounted on / read-only so counted values might not be right. Please stop all programs writing to filesystem or use -m flag to force checking.Can anyone tell me what I'm doing wrong? My /etc/fstab follows below, I think it's setup correctly.
[root@wintermute root]# cat /etc/fstab /dev/hda1 / ext3 exec,dev,suid,rw,usrquota 1 1 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda2 swap swap defaults 0 0
Thanks,
Paul Bradshaw