Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have just installed quota and read howto.. But I have a problem with this tool..
Here is some errors while system boot:
Code:
Checking filesystem quotas: /sbin/quotacheck -avugM
quotacheck: Scanning /dev/hda7 [/home] done
quotacheck: Checked 1504 directories and 18222 files
Activating filesystem quotas: /sbin/quotaon -avug
quotaon: using /home/aquota.user on /dev/hda7 [/home]: No such process
quotaon: Quota format not supported in kernel.
I have the lastest quota installed and it's compiled in my 2.4.24-ow and some settings for testing user:
[CODE}
# quota tester
Limity dyskowe dla user tester (uid 1011):
System plików bloki miękki twardy pobł. pliki miękki twardy pobł.
/dev/hda7 1928* 1024 1024 22 120 120
[/CODE]
(It's in polish)
but when I try to run 'quota' as user 'tester' there is permission denied to /home/aquota.user (root 600) and checking quota fails.
I have just ran 'quotacheck -acug' manually and it did check my /home without errors, but after reboot there is the same output with errors while booting
Code:
quotaon: using /home/aquota.user on /dev/hda7 [/home]: No such process
quotaon: Quota format not supported in kernel.
Originally posted by drenal I have just ran 'quotacheck -acug' manually and it did check my /home without errors, but after reboot there is the same output with errors while booting
Code:
quotaon: using /home/aquota.user on /dev/hda7 [/home]: No such process
quotaon: Quota format not supported in kernel.
How are you editing the quota file? And why do you have it named as aquota.user? In most cases it should be named just quota.user.
In your home directory since that is where you want quota's, you should have both quota.user and quota.group
Can you post your quota.user file? Looking over and over, everything seems to be ok but yet the error your getting clearly states your format of the file is not supported.
Heres an example of one of mine I use on one of my Slackware servers:
Code:
Disk quotas for user tarts (uid 502):
Filesystem blocks soft hard inodes soft hard
/dev/hdb5 8024 50000 60000 45 0 0
After issuing the 'edquota -u <username>' command to edit the quota for a particular user.
I user quota-3.09 installed from tgz pack. I use only usrquota on /home and I edit it in standard way:
#edquota -u tester
and I haven't created /home/aquota.user because edquota created this file (I think)
taken from man edquota:
Code:
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
I don't have /home/(a)quota.group but do I really need it?
Originally posted by drenal I user quota-3.09 installed from tgz pack. I use only usrquota on /home and I edit it in standard way:
#edquota -u tester
and I haven't created /home/aquota.user because edquota created this file (I think)
taken from man edquota:
Code:
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
I don't have /home/(a)quota.group but do I really need it?
No shouldn't need it if your not going to use group quota's. If you created the quota file by edquota then it must be version 2 that your using.
Can you post the output of the file, I have a feeling its the format that its not reading correctly as that is why your getting that error.
I think this might be a problem with your version. If its compiled in try this:
modprobe quota_v2
And then see if you can't manually start quota with the quotaon command. Saw this on a google mailing list but was geared towards Suse, not sure if its going to work with Slackware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.