+ 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
    554
    Thank Post
    65
    Thanked 31 Times in 29 Posts
    Rep Power
    24

    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. IDG Tech News

  3. #2
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,085
    Thank Post
    9
    Thanked 396 Times in 342 Posts
    Rep Power
    91
    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.

  4. Thanks to DMcCoy from:

    ihaveaproblem (19th December 2011)

  5. #3

    Join Date
    Jun 2010
    Location
    England
    Posts
    554
    Thank Post
    65
    Thanked 31 Times in 29 Posts
    Rep Power
    24
    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

  6. #4


    Join Date
    Jan 2006
    Posts
    6,457
    Thank Post
    324
    Thanked 740 Times in 557 Posts
    Rep Power
    201
    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.

  7. #5
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    86
    Thank Post
    0
    Thanked 21 Times in 19 Posts
    Rep Power
    7
    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.

  8. #6
    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    1,512
    Thank Post
    69
    Thanked 260 Times in 234 Posts
    Rep Power
    58
    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.

  9. #7
    salan's Avatar
    Join Date
    Nov 2007
    Location
    Cheshire
    Posts
    305
    Thank Post
    33
    Thanked 30 Times in 22 Posts
    Rep Power
    21
    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

  10. #8

    Join Date
    Jun 2010
    Location
    England
    Posts
    554
    Thank Post
    65
    Thanked 31 Times in 29 Posts
    Rep Power
    24
    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.

  11. #9

    Join Date
    Jan 2012
    Location
    Co Durham, UK
    Posts
    37
    Thank Post
    1
    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

  12. #10
    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    1,512
    Thank Post
    69
    Thanked 260 Times in 234 Posts
    Rep Power
    58
    ^^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\*.*"
    )

  13. #11

    Join Date
    Jan 2012
    Location
    Co Durham, UK
    Posts
    37
    Thank Post
    1
    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

  14. #12
    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    1,512
    Thank Post
    69
    Thanked 260 Times in 234 Posts
    Rep Power
    58
    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, 11: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
  •