Problem while setting quota's with edquota command in Red Hat Linux..
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
After saving this file I'm getting message on console saying :--
" edquota: Quota file not found or has wrong format "
Please suggest how can avoid this message .. Though quota set on inode entries are working fine for that particular user. But why this message is being flashed every time I edit quota for any user using edquota command.
Step 6 : cd /users
# ls -ltr
# aquota.user ( this file is present in that /users directory )
Thanks..I tried to replace /dev/sda7 with /users in the file which got opened with edquota <user_name> command . But it still giving me the same message.
And when I again ran the command edquota <user_name> to check the changes
Things got changed automatically to /dev/sda7 and all quotas got removed also for that particular user also..
Same message is comming . Please suggest how to resolve this issue.
And plz excuse me if I posted this problem under wrong forum , I believe it should be posted under Newbie.
Thanks..
Last edited by ilu_nishant; 09-21-2009 at 09:29 AM.
Root cause : There are other folder on which quota is being set for these users and edquota <user_name> is not able to read n list them.Its only showing entry for /dev/sda7 and not listing others folder on which quota is also set.
In my case /dev/VolGrp1/LogVol1 is mounted on /data_LogVol and quota is being set on that also which is not being read by edquota <user-name> command. I rebooted the server m/c and now its reading all the mounted partitions on which usrquota is being set in /etc/fstab file.
As its not able to read other mounted partitions on which quota is being set thats why its giving message
edquota: Quota file not found or has wrong format....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.