+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
Wireless Networks Thread, Quick way to do per-user quotas? in Technical; Hi. Im in the process of tightening the security/restrictions on our network to make it as water tight as possible. ...
  1. #1

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15

    Quick way to do per-user quotas?

    Hi.
    Im in the process of tightening the security/restrictions on our network to make it as water tight as possible. Ive already done some file screens to prevent executables being put on the network.
    Next, i want to implement per-user quotas. With the kids limited to about 100Mb and the staff 500Mb.
    Problem is, i cant quite work out how to do it on a per-user basis, or, en-mass.

    Any guides around? Ive googled to no avail. .

    Thanks in advance all. .

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,652
    Thank Post
    516
    Thanked 2,443 Times in 1,891 Posts
    Blog Entries
    24
    Rep Power
    831
    Do you use Windows 2k3 R2? If so, the file server resource management administrative tool allows this to be set up in minutes.

  3. #3

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by localzuk View Post
    Do you use Windows 2k3 R2? If so, the file server resource management administrative tool allows this to be set up in minutes.
    Yes.

    I can see a way to add the quota templates to folders, but im unsure if that does it per user or not, any guides i find are very vague?

    At the moment i have 4 templates:
    Pupil 100Mb
    Pupil 100Mb
    Staff 500Mb
    Staff 1Gb

  4. #4
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106
    It's easy to do if your folders are well structured. I just point the settings at the year folders and the top level staff folder.

  5. #5

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,652
    Thank Post
    516
    Thanked 2,443 Times in 1,891 Posts
    Blog Entries
    24
    Rep Power
    831
    Quote Originally Posted by ChrisH View Post
    It's easy to do if your folders are well structured. I just point the settings at the year folders and the top level staff folder.
    Same here - Each year has it's own quota and they are applied to the top level folder.

  6. #6

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Each year has its own folder with all the users in, as does the staff.

    So if i apply a quota to, for example, the Pupil100 one to \\server\home$\intake05.
    Would that mean that every user in intake05 would be bound to the pupil100 quota rule?

    + does the paths in the quota management have to be UNC, or local paths?

    Thanks.

  7. #7

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    @booman: The R2 quotas are per directory, as opposed to per user, so you will need a sensible folder structure.

  8. #8
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    33
    I haven't used R2, but are you guys saying they've removed features from stock WS2003?

    In basic WS2003 up to SP2 (and in XP Pro) I can get the properties of a volume, go to the quotas tab, enable quota management, set the settings there, then click on "Quota Entries..."

    In that window you can do:
    quota > new quota entry
    advanced > find now
    **twiddle thumbs**
    select all the users > OK
    OK again

    You then have all your users (assuming you don't have too many to be returned by the search) in the list and you can tweak quotas per-user accordingly. Our usernames start with a year-group letter which makes picking them out and bulk-fixing their quotas much easier.

    Possible in R2 or not?

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    @sahmeepee: The R2 features we are talking of are in addition to the original quota features which relied upon ownership of the files. Without the FSRM features, you can set a quota of 100MB on a user but their homedrive could baloon to any size if they didn't have ownership of all the files.

    The old quota style is still available but you don't get to use the fancy MMC to control it.

  10. #10
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    33
    Cheers for clearing that up Ric (I suspect I'll be missing out R2 altogether now Longhorn is within spitting distance). In that case I reckon it'd be pretty easy to use the old-fashioned method to achieve the desired results:

    Scripts can be used to fix any ownership problems (bearing in mind this is home folders rather than shared areas it should be easy)
    Assuming the worst case of usernames being entirely random:
    You can add quota entries for a year's worth of users by the "find" method above based on their OU
    Change their quotas to something non-default en-masse (97MB say)
    Add another year's worth
    Sort the list by the quota allocation
    Change their quotas to 98MB.
    Add another year's worth
    Sort the list by the quota allocation
    Change their quotas to 99MB.

    Once you've got all your users in it's easy to tweak the entries user-by-user as required.

    Of course, this all falls down if you have other user storage on that volume as the settings are volume-wide...
    Last edited by sahmeepee; 23rd January 2008 at 06:53 PM. Reason: formatting was to-cock

  11. #11

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    @sahmeepee: The whole ownership thing is why there is a script to mass-change ownership on the wiki. I used to find myself having to do bits and pieces and ownership would get messed up... a real PITA.

  12. #12

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by Ric_ View Post
    @booman: The R2 quotas are per directory, as opposed to per user, so you will need a sensible folder structure.
    They are in a sensible folder structure.

    So basically, im gonna have to go to each users home directory, and add a quota to each one manually!?
    I dont think i'll bother if thats the case, theres hundreds to do!
    There must be an automated/quicker way of doing it?

  13. #13

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,652
    Thank Post
    516
    Thanked 2,443 Times in 1,891 Posts
    Blog Entries
    24
    Rep Power
    831
    Quote Originally Posted by boomam View Post
    They are in a sensible folder structure.

    So basically, im gonna have to go to each users home directory, and add a quota to each one manually!?
    I dont think i'll bother if thats the case, theres hundreds to do!
    There must be an automated/quicker way of doing it?
    No, you apply a template to the top level directory in R2. It then propagates that to the sub directories.

  14. #14

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by localzuk View Post
    No, you apply a template to the top level directory in R2. It then propagates that to the sub directories.
    So, step-by-step:
    Create Quota template.
    Apply to, for example, \\server\home$\pupil05
    That then applys to all folders underneath that too one level?

    So anything in for example \\server\home$\pupil05\test is limited to the 100Mb limit that is put on 'test'. Or does it propogate down to all folders, so even folders under test get another X amount of Mb?

    Do i need to enable quotas on the properties of the volume? As there is no mention of it in the guides i see?

    Plus, I was under the impression that i could edit each users quota manually too? To bump up another X amount as needed?

  15. #15

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,652
    Thank Post
    516
    Thanked 2,443 Times in 1,891 Posts
    Blog Entries
    24
    Rep Power
    831
    This is what I did

    1. Created template
    2. Clicked 'Add Quota' in the FSRM console
    3. Entered a path to the top level of one of our years (E:\users\pupils\03\)
    4. Chose the 'Auto apply template and create quotas on existing and new subfolders' option
    5. Chose my template.
    6. Done

    It propagates to the top level of sub directories only AFAIK.

    You don't need to enable volume quotas.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Disk quotas
    By button_ripple in forum Wireless Networks
    Replies: 4
    Last Post: 10th December 2007, 02:02 PM
  2. User Quotas.
    By maniac in forum How do you do....it?
    Replies: 9
    Last Post: 2nd April 2007, 02:07 PM
  3. Disk Quotas
    By WithoutMotive in forum Windows
    Replies: 7
    Last Post: 25th April 2006, 07:51 AM
  4. Quotas
    By british-wave in forum How do you do....it?
    Replies: 7
    Last Post: 14th February 2006, 05:31 PM
  5. User Disk Quotas 2K3 Server
    By Roger in forum Wireless Networks
    Replies: 2
    Last Post: 2nd November 2005, 11:56 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •