Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Hi! I'd like to know if anyone knows how to set a size limit for a samba shared folder. I've been using a samba server with RHEL 4 to store user profiles. All of the user profiles are in a RAID storage. I need to set a size limit for each folder which is the user profile. Hope someone can help me on this.
here is a good tutorial you might also look into webmin wich makes the process a little more intuitive
Regards
JKZfixme
this one is a very good article! but i have question on this one, and i hope you can give me some details... as stated as an example, the quota was set to 200mb
**********
Filesystem blocks soft hard inodes soft hard
/dev/sdb1 56 204800 0 14 900 1000
**********
what will be the entry if i want to set a max limit of 10GB per user?
Hi guys,
Sorry to put the questions in other way, but... this tutorial isnīt for a QUOTA IN SAMBA SHARE, it is only designed to set DISK QUOTA per mount point.
For me, this doesnīt solves my problem.
I need to put quota on a share folder, like a: /home/user1, /home/user2, etc...
I think the way it is in "vfs objects" in the sambaīs configuration, but I didnīt find any precise documentation for to do this.
Yes, imagining that the user1īs folder is set in the smb.conf as /home/user1 and /home/user2 for the user2 and so on.
But, in this case, you donīt have a quota limit for sharing, instead, you have a limit for fileīs user in entire partition disc.
I have read some documentation, but I didnīt find anything to set limit for each shared folder...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.