Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hi all
i have a problem relating quota setup
i want to setup quota for a group "quo"
i applied all setting
there are three users "ddn,azm,chand"
that are the member of this group
i had set the soft limit up to 2M and hard limit up to 3M
but this restriction was not applied to any one of the above user
same thing i did with group chand, since chand is also a user
i added user "ddn,azm" to group chand
and applied quota setting
but quota restriction was only enable for user chand not on user "ddn" and "azm"
plz help me
hi all
i have a problem relating quota setup
i want to setup quota for a group "quo"
i applied all setting
there are three users "ddn,azm,chand"
that are the member of this group
i had set the soft limit up to 2M and hard limit up to 3M
but this restriction was not applied to any one of the above user
same thing i did with group chand, since chand is also a user
i added user "ddn,azm" to group chand
and applied quota setting
but quota restriction was only enable for user chand not on user "ddn" and "azm"
plz help me
i used following command
1-entry of usequota and grpquota in /etc/fstab
2-mount -o remount /home
3-quioacheck -cug /home
4- edquota -u username (for user)
5- edquota -g groupname (for group)
6- repquota -a (to see the settings)
7- quota -g groupname (to see the group quota setting)
8- quota username (to see the user quota setting)
i am using currently RED HAT ENTERPRISE LINUX 5.0 server edition
(2.6.18-8)
Can you post the output for your commands, also. Mostly, the edquota -g (what comes up in the editor) and then for quota -g groupname.
It might be helpful to see all the output, for the other commands, too, since chand is both a group and a user (might be an issue, maybe, I'm not sure).
Also, have you set any "project" limits for any of these users or groups? There might be a quirky interaction to be found there, too.
Hopefully, with all the info, this will make more sense to me and I can help you fix it
mount /home on fstab
mount -o remount /home
quotacheck -c /home
edquota -u username
set your quota limits as soft=2M and hard 3M
---> I think 2M is not good in quota file give 2048(default is KB....ok)
quotaon /home
swithch to that user and run the command
dd if=/dev/zero of=filename bs=1024 count=2048 -> sure you will get warning
dd if=/dev/zero of=filename bs=1024 count=3072 -> user quota is over
Can you post the output for your commands, also. Mostly, the edquota -g (what comes up in the editor) and then for quota -g groupname.
It might be helpful to see all the output, for the other commands, too, since chand is both a group and a user (might be an issue, maybe, I'm not sure).
Also, have you set any "project" limits for any of these users or groups? There might be a quirky interaction to be found there, too.
Hopefully, with all the info, this will make more sense to me and I can help you fix it
Thanks, again!
, Mike
whatsoever i tried i am giving here
**********************************************
1- i made a group "quo"
2- i added three user in this group
3- edquota -g (group name)
4- save and exit
5- quota -g groupname was showing the quota limits on that group
6- when i login with a user that was the member of the group "quo"
and tried to check the quota limit but it easily crossed the
soft limit and hard limit barrier
i had set the soft limit 2000 and hard limit 3000
I think we're just misunderstanding one another. If you could, can you post the output of your commands. For instance, if you did "quota -g groupname" and "requota -a" can you post the full output for the commands, as well as the command themselves.
So, for quota -g quo and quota -q chand and repquota -a, can you post the output you receive from those commands. If you just run those 3 commands in succession, grep quo and chand from /etc/group and grep your users out of /etc/passwd (only really need to see the uid, gid and seconday gid fields), that would be helpful.
I understand "what" you're doing, but I can't replicate it and need to see the response the OS is giving you to understand where the problem is occurring.
Also, try "sins"' suggestions above. Hopefully they will work for you and you won't have to post another thing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.