http://www.murkworks.net/link_farm/mini_HOWTO/Quota.html
Good afternoon, guys!!! I am wondering whom among you already have a quota set for your users? You see, I am finding it hard to get a good combination between the number of inodes to set and the number of blocks to set as well. My ideal setting is at least 15MB to 20MB per user. I am using SuSE 7.0 kernel 2.2.16 using Samba 2.0.7. Any ideas??? Any help regarding this would greatly help... Thanks!!! --- 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
also, is the quota set in place for a particular user independent of the group quota of that user??? --- 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
Grant wrote:> http://www.murkworks.net/link_farm/mini_HOWTO/Quota.htmlthanks for that, Grant. But tell me this: what is the correct combination between inodes and blocks that will effectively set the user space quota at, say, 15MB? For my testing, I am using the following numbers: soft:5000 and hard:6500 for blocks soft:40 and hard:45 for inodes and 2.75 MP3 file and a 20kb Word file as my test files. If i copy the MP3 file several times, it will prompt me that my disk is full after copying the third file, but it will continue to let me copy the files unitl i get to the 43 file (including . and ..) if i copy the 20kb Word file, it will allow me to go all the way to the 45 hard limit for inodes, but it will only total 860kb. What can I do? Isn't there a way to set the file limit (in MB) without having to set the blocks and inodes? HELP!?!?!?!?!?!?!?!?! --- 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
Hi, Ahmed Ahmed RAHAL wrote:> > > > if i copy the 20kb Word file, it will allow me to go all the way tothe> > 45 hard limit for inodes, but it will only total 860kb. > > > > What can I do? Isn't there a way to set the file limit (in MB)without> > having to set the blocks and inodes? > > > > HELP!?!?!?!?!?!?!?!?! > > You are asked to set a size limit AND an inode limit. > I can guess you don't bother much on inodes, so > set this value high, and just compute the number of > blocks you need, giving your limit size.Yup, I understand all that you are saying. But, say, I set the inodes values high, the blocks size would just continue to let the users to copy files, UNTIL they get to the inode limit... even if the user is prompted that the disk is full... <groan> --- 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
Ahmed, Grant Neil: Well, guys, what can I say but a very big THANK YOU for helping me through this problem. Thanks, thanks, and thanks... A LOT!!! To all the others, let's give it up for these three... <clap> <clap> <clap> :) --- 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