Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 1st June 2010, 17:46
saco721 saco721 is offline
Join Date: Feb 2010
Posts: 63
Thanks: 15
Thanked 1 Time in 1 Post
Default Need help with quota on fedora core 11

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 :

yum install quota
Installs quota fine.

Then I edit fstab :

# /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 :

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 :
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 :

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!
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Setup - Fedora Core 4 british.assassin Server Operation 9 21st February 2008 18:29
Installing A LAMP System With Fedora Core 6 -Quota wont install rh-penguin HOWTO-Related Questions 3 30th January 2007 16:27
quota question on perfect install fedora core 5.0 bmayock HOWTO-Related Questions 7 6th July 2006 14:20
Regarding the Fedora Core 5 Perfect Install - Quota EricS HOWTO-Related Questions 4 30th May 2006 05:21
Quota: Perfect Setup Fedora Core 4 domino Installation/Configuration 7 20th August 2005 18:42

All times are GMT +2. The time now is 01:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.