Hi all, Being new on this list I do not really know if this is the correct list to post. After searching the archives I am pretty sure the answer is not yet here (or I can't search, which can be true) My problem is as follows We are currently testing a Linux/Samba server to host the home shares for about 1000 students at our school (the test is conducted with just 10 of them). With ca 1000 students you can imagine the need for disk quotas (otherwise my system will crash after the x-th download off WinZip and such). Linux offers diskquotas without any pain. I had it up and running within one afternoon. Samba on the other end did not complain when a student exceeded his quota, it just made zero-size files. I then learned about the configure option --with-quotas. At the moment I've got an recompilled version off samba with this option. The effect is that samba somehow overrules the qouta and writes the file after the quota is exceeded. Logged on as that user via ssh I learned that I can not make another file in the shell because the quota is exceeded. So quotas are still in effect. I've not been able to find any information on this option to solve this behavior. So if anyone could point me in the right direction (or even have a solution on the boilerplate :-) ) ? Groetjes Peter Kaagman / Systeembeheer Atlas College -------------- next part -------------- HTML attachment scrubbed and removed
On 22 Jan 2001, at 12:35, Peter Kaagman wrote:> Hi all, > > Being new on this list I do not really know if this is the correct > list to post. After searching the archives I am pretty sure the answer > is not yet here (or I can't search, which can be true) > > > My problem is as follows > > We are currently testing a Linux/Samba server to host the home shares > for about 1000 students at our school (the test is conducted with just > 10 of them). > > With ca 1000 students you can imagine the need for disk quotas > (otherwise my system will crash after the x-th download off WinZip and > such). > > Linux offers diskquotas without any pain. I had it up and running > within one afternoon. > > Samba on the other end did not complain when a student exceeded his > quota, it just made zero-size files. I then learned about the > configure option --with-quotas. > > At the moment I've got an recompilled version off samba with this > option. The effect is that samba somehow overrules the qouta and > writes the file after the quota is exceeded. Logged on as that user > via ssh I learned that I can not make another file in the shell > because the quota is exceeded. So quotas are still in effect. > > I've not been able to find any information on this option to solve > this behavior. So if anyone could point me in the right direction (or > even have a solution on the boilerplate :-) ) ? > > Groetjes > > > Peter Kaagman / Systeembeheer Atlas CollegeHi Peter, I hope I can help you out. Samba has nothing to do with quotas. I have about the same situation at my work an quota works just fine. Are you sure that your kernel supports quota? Tell me more about your system. Alin Osan Network Administrator "Fundatia Casa" http://www.tryrom.com/casa phone 059467200 fax 059467202
Hi, We have Samba 2.0.5 on HP-UX 11.00 with a 100 Gig partition and quotas. When I use a NT4 or NT5 client and show the disk capacity of the mounted Samba share the disk capacity of the whole disk is reported (100 Gig and not just 300 MB of the quota). Is there a way that Samba reports the current quota of the mounted Samba share? The option max disk size = <megabytes> is not appropriate because the users have different quota limits. Thanks in advance. Regards, Bernd Nies -- _ _ ___ ___ | || / __| _ \ Bernd Nies, System Engineer | __ \__ \ / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil |_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies@hsr.ch
Hi,> When I use a NT4 or NT5 client and show the disk capacity of the > mounted Samba share the disk capacity of the whole disk is > reported (100 Gig and not just 300 MB of the quota).In our configuration the capacity of the whole disk is shown, too (100 GB), but the free space is the space until the quota is reached. So the user knows how much space he can use. Dirk
Hi, Is it possible to set up set up smbmount like NFS automounter so that when a user logs in, his home directory is automatically mounted without typing the password again? Is the link between smbclient and PAM still missing? Regards, Bernd Nies -- _ _ ___ ___ | || / __| _ \ Bernd Nies, System Engineer | __ \__ \ / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil |_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies@hsr.ch
On Wed, 7 Mar 2001, Bernd Nies wrote:> Is it possible to set up set up smbmount like NFS automounterNFS automounter?> so that when a user logs in, his home directory is automatically > mounted without typing the password again? Is the link between > smbclient and PAM still missing?smbmount, not smbclient. You can try this: http://bazar.conectiva.com.br/~epx/pam_mount/ autofs can do this if you give each user his own entry. For home directories that should be ok as each user normally has his own dir. /Urban
hi all, i wanna use samba2.2.0 with disk-quotas for all users. all i know is, that i have to configure samba with quotas. is that all i have to do or have i to change my smb.conf file or something else. thanks you for answers, andy dirr
no - all what you have to do is to compile samba with --with-quotas option and install disk quotas. a good introduction to use disk quotas is http://www.io.com/help/linux/Quota.html have fun! bye andre |--------+---------------------------------> | | Andre Dirr | | | <ad@ordix.de> | | | Sent by: | | | samba-ntdom-admin@lists| | | .samba.org | | | | | | | | | 24.04.2001 11:33 | | | | |--------+---------------------------------> >-----------------------------------------------------------------------------------------------------------| | | | To: samba-ntdom <samba-ntdom@lists.samba.org>, samba <samba@lists.samba.org> | | cc: | | Subject: samba and quotas | >-----------------------------------------------------------------------------------------------------------| hi all, i wanna use samba2.2.0 with disk-quotas for all users. all i know is, that i have to configure samba with quotas. is that all i have to do or have i to change my smb.conf file or something else. thanks you for answers, andy dirr
Andy Dirr wrote:> hi all, > i wanna use samba2.2.0 with disk-quotas for all users. all i know is, > that i have to configure samba with quotas. is that all i have to door> have i to change my smb.conf file or something else. > thanks you for answers, > andy dirrhi, andy. you forgot to include the distro you are using. anyway, i am using SuSE 7.0 using kernel 2.2.16 and with Samba 2.0.7. If i were to use a previous kernel, i'd have to re-compile my krenel for kernel support (make menuconfig, go to Filesystems, select Quotas, exit and save the config, make dep... you know the rest). Then I'd install the Quota package (again depends from your distro CD, mine comes with the package), then I'd read the dos that comes with the installed package and from there, there are still many more things you will do... a little hard but worth the effort... :) --- Spawn -- the Scourge of the Dammed Chris G Haravata Backend Team Leader IT Resources Asia Pacific College #3 Humabon Place, Magallanes Village, 1232 Makati City Tel 8529232 loc 402
Andy Dirr wrote:> hi all, > i wanna use samba2.2.0 with disk-quotas for all users. all i know is, > that i have to configure samba with quotas. is that all i have to door> have i to change my smb.conf file or something else. > thanks you for answers, > andy dirrhi, andy. you forgot to include the distro you are using. anyway, i am using SuSE 7.0 using kernel 2.2.16 and with Samba 2.0.7. If i were to use a previous kernel, i'd have to re-compile my krenel for kernel support (make menuconfig, go to Filesystems, select Quotas, exit and save the config, make dep... you know the rest). Then I'd install the Quota package (again depends from your distro CD, mine comes with the package), then I'd read the dos that comes with the installed package and from there, there are still many more things you will do... a little hard but worth the effort... :) --- Spawn -- the Scourge of the Dammed Chris G Haravata Backend Team Leader IT Resources Asia Pacific College #3 Humabon Place, Magallanes Village, 1232 Makati City Philippines Tel 8529232 loc 402
Andy Dirr wrote:> hi all, > i wanna use samba2.2.0 with disk-quotas for all users. all i know is, > that i have to configure samba with quotas. is that all i have to door> have i to change my smb.conf file or something else. > thanks you for answers, > andy dirrhi, andy. you forgot to include the distro you are using. anyway, i am using SuSE 7.0 using kernel 2.2.16 and with Samba 2.0.7. If i were to use a previous kernel, i'd have to re-compile my krenel for kernel support (make menuconfig, go to Filesystems, select Quotas, exit and save the config, make dep... you know the rest). Then I'd install the Quota package (again depends from your distro CD, mine comes with the package), then I'd read the dos that comes with the installed package and from there, there are still many more things you will do... a little hard but worth the effort... :) --- Spawn -- the Scourge of the Dammed Chris G Haravata Backend Team Leader IT Resources Asia Pacific College #3 Humabon Place, Magallanes Village, 1232 Makati City Philippines Tel 8529232 loc 402
Hello I have 2 problems with samba. First, is it possible to make quotas work on Smaba shares? If yes, where can i found a How-to or something else ? thanks for help Marco
Hello, I'm using Samba 2.2.7 + XFS (1.1) + ACL + quotas on a Linux machine with kernel 2.4.18. What I want to ask you - is Samba's quota support reliable enough so I can use it at commercial environment ? (I'm asking because of experimental flag at --with-quota in Samba .configure file) Thanks in advance for any post Dan
>I'm using Samba 2.2.7 + XFS (1.1) + ACL + quotas on a Linux >machine with kernel 2.4.18. What I want to ask you - is >Samba's quota support reliable enough so I can use it at >commercial environment ? (I'm asking because of experimental >flag at --with-quota in Samba .configure file)Quotas are a property of the underlying fs. I use reiserfs and it works for me. When a group or user remains exceeds soft limit longer than the grace period then at a point they/he/she/it can't allocate more space getting instead the error that there is no space left on the device. Which is a little misleading. You have to inform your users to interpret it in the context of available space on the volume. If the space is still there, then it was the quota that was exceeded. I included a little modification in swat to list all quotas with usage and grace periods remaining under "Status", ahead of all other stati. And I also put a little icon on the desktop labelled "Quotas" which lists the same thing in a DOS box. The tab-aligend "repquota" report is a bit too messy so I have a little awk formatter to align the columns. I'll post it if it's necessary. _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus