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.
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.
I have a small problem what I think can be solved but I am unsure what action to take.
I want to quota each user in my LDAP server there is ~1000 users, I have two current ideas to implament.
I understand that quotas only apply to file systems so,
1..
I create a "virtual filesystem" and also a mounting point for the user. this has worked great on my tests, but I am unsure if having 1000+ mounting points will be a problem.
2..
My home file is placed on a differant partition (/dev/sda3) so it is possible to apply a quota to this.
but when I goto set a quota for a user in option 2 it tells me that 2752 blocks have been taken, but this is a new user. so I can only come to the conclusion this will not work because it is quoting the hole home drive and not just the files of the user I am setting the quota for.
Is there any advice on what actions to take or documentation on a differant way to tackle this?
sorry that i forgot to add that in to the process. Yes i do edit that file.
I have also missed out quota on as stated in another post.
My main consern is where the space taken comming from if it is a new user. My assumtion was the quota only showed usage to that user. When i view the folder of the user the file size is 0
do you think there would be a problem having over a thousand mount point on a system.
I have a small problem what I think can be solved but I am unsure what action to take.
I want to quota each user in my LDAP server there is ~1000 users, I have two current ideas to implament.
I understand that quotas only apply to file systems so,
1..
I create a "virtual filesystem" and also a mounting point for the user. this has worked great on my tests, but I am unsure if having 1000+ mounting points will be a problem.
2..
My home file is placed on a differant partition (/dev/sda3) so it is possible to apply a quota to this.
but when I goto set a quota for a user in option 2 it tells me that 2752 blocks have been taken, but this is a new user. so I can only come to the conclusion this will not work because it is quoting the hole home drive and not just the files of the user I am setting the quota for.
Is there any advice on what actions to take or documentation on a differant way to tackle this?
Thank you for your time,
Simon
it will work.
blocks are always bound to be already used, because of existing directories created by default when adding the user that would have already have taken that space.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.