+ Post New Thread
Results 1 to 12 of 12
Windows Server 2000/2003 Thread, Disk Quota not working ... or is it? in Technical; Server 2003R2 File Server. Using FSRM to set quota on home drives Have a template created with the quota size ...
  1. #1

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    35

    Disk Quota not working ... or is it?

    Server 2003R2 File Server.
    Using FSRM to set quota on home drives
    Have a template created with the quota size and set it as hard.
    Made a new quota, linked it to the correct template and selected the 'Auto Apply template and create quotas on existing and new sub folders'
    The quota seems to work because the user accounts cant save over the quota limit on their home drive.
    The problem is this

    1.PNG

    The drive is still show the full size instead of the quota limit size. When i've set this up in the past it's always shown the quota size instead of the full hard disk size (e.g 350mb of 500mb)
    Have I missed something?

    Client machine is Win7 x86 Enterprise if makes any difference.

  2. #2
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,450
    Thank Post
    10
    Thanked 493 Times in 433 Posts
    Rep Power
    111
    Folder level quotas will only show the right sizes with an smb 2.0 server and client (Windows 2008 and Vista onwards). smb 1.0 does not have the necessary commands to check a folder for quota information.

  3. Thanks to DMcCoy from:

    ihaveaproblem (19th December 2011)

  4. #3

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    35
    Quote Originally Posted by DMcCoy View Post
    Folder level quotas will only show the right sizes with an smb 2.0 server and client (Windows 2008 and Vista onwards). smb 1.0 does not have the necessary commands to check a folder for quota information.
    Baaaah that sucks!
    Ok.. so I will rebuild the file server on Server 2008 R2 when I get chance =]
    Thanks DMcCoy

  5. #4


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by ihaveaproblem View Post
    Baaaah that sucks!
    Ok.. so I will rebuild the file server on Server 2008 R2 when I get chance =]
    or a samba server. We put all our quota on linux/samba to overcome this limitation in 2003 (before 2008 server was released) - theres a lot of quota options as well as some nice features like network recycle bins, veto filetypes/sizes quota email, auto homedrive creation etc.

  6. #5
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    574
    Thank Post
    3
    Thanked 130 Times in 121 Posts
    Rep Power
    50
    When our users check their network drives, it clearly shows their current space based on the drive quota and thats with Windows 7 Enterprise clients and the quota drives being on Windows 2003 R1 servers.

  7. #6

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,743
    Thank Post
    145
    Thanked 555 Times in 499 Posts
    Rep Power
    151
    2003 R1 doesn't have FSRM, so your quotas must be set elsewhere. It's with FSRM quotas on 2003 R2 (and Samba 1.0) that this problem applies, and with XP clients on SMB 1.0 or 2.0.

  8. #7
    salan's Avatar
    Join Date
    Nov 2007
    Posts
    384
    Thank Post
    41
    Thanked 42 Times in 28 Posts
    Rep Power
    27
    At the risk of 'hi-jacking this thread'
    I am having trouble setting quotas for pupils home drives. THe setup is as follows.
    U:\ is there 'my docs' etc. i.e. there home dir.
    This is ina folder sturcture on the server like this.
    d:\home\07\07fredj
    d:\home\08\08smithc
    When I have tired to put quotas on, they go onthe home dir.
    Its obviously me not getting my head around this but can some one help/point me to an article that goes through doing this please?
    Alan

  9. #8

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    35
    Quote Originally Posted by salan View Post
    At the risk of 'hi-jacking this thread'
    I am having trouble setting quotas for pupils home drives. THe setup is as follows.
    U:\ is there 'my docs' etc. i.e. there home dir.
    This is ina folder sturcture on the server like this.
    d:\home\07\07fredj
    d:\home\08\08smithc
    When I have tired to put quotas on, they go onthe home dir.
    Its obviously me not getting my head around this but can some one help/point me to an article that goes through doing this please?
    Alan
    Hi Alan,

    Did you set the quota path on D:\home ?
    Set the quota on the year folders instead, so D:\home\07
    You will have to make a couple of quotas though to point it at each year folder.

  10. #9

    Join Date
    Jan 2012
    Location
    Co Durham, UK
    Posts
    67
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Disk quotas work best on clean drives. When you set disk quotas on existing drives the OS doesn't automatically know who the files belong to, so if you allow 'John Smith' 500 MB, he will get 500 MB plus the files he already has on the drive!

    It is possible to set ownership of files manually, but that is a real faff.

    NN

  11. #10

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,743
    Thank Post
    145
    Thanked 555 Times in 499 Posts
    Rep Power
    151
    ^^It can be done using chown.exe and a little script - this sets the folder owner as the folder name. I use this to reset 900 odd owners for FSRM automatically.

    Code:
    rem sets permission on all files according to home directory name, place this and chown.exe into the \homefolder folder then run it.
    
    for /D %%i in (*) do (
    chown -r %%i "%%i\*.*"
    )

  12. #11

    Join Date
    Jan 2012
    Location
    Co Durham, UK
    Posts
    67
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by 3s-gtech View Post
    ^^It can be done using chown.exe and a little script - this sets the folder owner as the folder name. I use this to reset 900 odd owners for FSRM automatically.

    Code:
    rem sets permission on all files according to home directory name, place this and chown.exe into the \homefolder folder then run it.
    
    for /D %%i in (*) do (
    chown -r %%i "%%i\*.*"
    )
    That is useful advice, thank you.

    From what you are saying, folders must be given the same name as their owner if this script is to work, and owners can only save files in their own folders. This should work well enough in an educational environment, but is not so easy in a workplace.

    SB

  13. #12

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,743
    Thank Post
    145
    Thanked 555 Times in 499 Posts
    Rep Power
    151
    Yeah - I have the username as the foldername here (created en mass when the users are created and set via AD) so it easily associates the two. Owners can only save files in their own folders due to NTFS permissions - they cannot browse for other folders or enter them anyway, so the ownership doesn't make a difference there. This could be applied to the workplace with a change of policy - for instance, our staff have the same settings applied to their home folders.

SHARE:
+ Post New Thread

Similar Threads

  1. Windows in safe mode or is it?
    By dolmandj in forum Windows
    Replies: 1
    Last Post: 10th November 2009, 10:22 AM
  2. FrontPage FREE or is it?
    By shoggie in forum Educational Software
    Replies: 14
    Last Post: 20th July 2009, 03:57 PM
  3. [Joke] Or is it
    By cookie_monster in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 21st May 2008, 12:46 PM
  4. Holidays - unfair or is it me?!
    By Paid_Peanuts in forum General Chat
    Replies: 29
    Last Post: 19th September 2007, 12:13 PM

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
  •