I am a Linux newbie running Fedora core 11 and having difficulties getting quota to work. Here's what I have done so far:
I do :
Installs quota fine.
Then I edit fstab :
Quote:
#
# /etc/fstab
# Created by anaconda on Thu Feb 11 10:05:18 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=cfdb7341-115f-4238-990d-3ee95d311e45 /boot ext3 defaults 1 2
/dev/mapper/vg_gizmo-lv_root / ext4 defaults,usrquota,grpquota 1 1
/dev/mapper/vg_gizmo-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
|
Then run :
Code:
touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
The aquota.user and aquota.group files get created.
File system mounts ok.
However when I run quotacheck -avugm I get the following messages :
Quote:
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: Cannot open quotafile //aquota.user: Permission denied
quotacheck: Cannot open quotafile //aquota.group: Permission denied
|
When I run quotaon -avug I get the following messages :
Quote:
quotaon: Cannot open quotafile //aquota.group: Permission denied
quotaon: Cannot find quota file on / [/dev/mapper/vg_gizmo-lv_root] to turn quotas on/off.
quotaon: Cannot open quotafile //aquota.user: Permission denied
quotaon: Cannot find quota file on / [/dev/mapper/vg_gizmo-lv_root] to turn quotas on/off.
|
Then I reboot the system.
Nothing is written to aquota.user or aquota.group. And I still get the error messages as above.
To me it seems that there may be a problem with permissions on / file system but i'm not sure what they should be.
Where am I going wrong?
Any ideas / advice would be greatly appreciated. Thanks!
Recent comments
12 hours 26 min ago
13 hours 25 min ago
17 hours 12 min ago
18 hours 26 min ago
22 hours 3 min ago
1 day 5 hours ago
1 day 14 hours ago
1 day 15 hours ago
2 days 6 hours ago
2 days 9 hours ago