+ Post New Thread
Results 1 to 4 of 4
Windows Server 2000/2003 Thread, Setting Folder Size Quotas in Technical; Hi there We have a Windows Sever 2003 server that we would like to be able to limit certain folder ...
  1. #1
    MADMAN69UK's Avatar
    Join Date
    Nov 2009
    Posts
    9
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Setting Folder Size Quotas

    Hi there

    We have a Windows Sever 2003 server that we would like to be able to limit certain folder sizes on.

    I am aware of the quota management stuff that is already available within Windows Server 2003, but it isn't flexible enough for our needs.

    Ideally we want our teachers to have a set limit, like 1GB of storage. We then have shared subject areas. So Science for example have 5 teachers, all of them can use this Science shared area so we would like to assign that folder 5GB.

    With the built in quota system you can only set a per user quota. So any files a Science teacher has in their personal storage and in the Science shared area get totalled up. This means they tend to easily exceed their 1GB allowance.

    Can anyone recommend a good bit of third party software to do this for us?

    We've seen SpaceGuard SRM, but at 600+ it's beyond our budget

    Any advice will be much appreciated

  2. #2
    sjl
    sjl is offline
    sjl's Avatar
    Join Date
    Apr 2009
    Location
    Liverpool
    Posts
    62
    Thank Post
    17
    Thanked 20 Times in 15 Posts
    Rep Power
    14
    That is how the volume quotas work but with FSRM you can set folder quota. Google Microsoft FSRM see if that is what you are looking for.

  3. #3
    MADMAN69UK's Avatar
    Join Date
    Nov 2009
    Posts
    9
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Bah! Looks like the server we wanted to do this on isn't R2.

    We do have the R2 install disks but I guess it wasn't fully installed.

    Is it possible to just install R2 on the server without ruining the current settings?

  4. #4


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    just install centos (free, no licensing required) , and use this script for homedrives -

    Code:
    #!/bin/bash
    if [ "$2" = "08" -o "$2" = "07" -o "$2" = "06" -o "$2" = "05" -o "$2" = "04" -o "$2" = "03" -o "$2" = "02" -o "$2" = "adulted" -o "$2" = "exams"  -o "$2" = "gueststudents" ] ; then     
    	if [ ! -e /home/DOMAIN/$2/$1 ]; then
    		mkdir -p  /home/DOMAIN/$2/$1
    		chown $1:"domain admins" /home/DOMAIN/$2/$1
    		chmod o-rwx /home/DOMAIN/$2/$1
    		chmod g+rwxs /home/DOMAIN/$2/$1
    		setfacl -m user:$1:rwx /home/DOMAIN/$2/$1
    		setfacl -m group:teachers:r-x /home/DOMAIN/$2/$1 
    		setfacl -m group:"domain admins":rwx /home/DOMAIN/$2/$1
    		if [ "$2" = "03" -o "$2" = "02" ]; then
    			setquota -u $1 1048576 1228800 0 0 /home/DOMAIN/
                    elif [ "$2" = "08" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/               
    		elif [ "$2" = "07" ]; then
    		        setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "06" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "05" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "04" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "adulted"  ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/                            		                                                
    		else
    		  	setquota -u $1 614400 716800 0 0 /home/DOMAIN/
    		fi
    	fi
    fi
    exit 0
    It will automatically create the homedrive when someone logs in, set the permissions and sets the quota.
    Quota violations are sent by email.

    you can then set group quotas on a per directory basis.
    There are other advantages such as network recycles bins, and its dead easy to ban files from the filesystem.

    Samba Homedirectory - Wiki

SHARE:
+ Post New Thread

Similar Threads

  1. Reduce WINSX folder size
    By Potato-Peeler in forum Windows 7
    Replies: 0
    Last Post: 5th September 2010, 12:38 PM
  2. Folder size view
    By sippo in forum Windows Server 2000/2003
    Replies: 7
    Last Post: 3rd March 2010, 06:49 PM
  3. Home folder size information
    By gerardsweeney in forum Windows
    Replies: 25
    Last Post: 19th February 2010, 06:52 PM
  4. OWA Folder Size
    By apeo in forum Windows
    Replies: 4
    Last Post: 14th October 2009, 05:48 PM
  5. Replies: 3
    Last Post: 27th April 2007, 08:32 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
  •