Link to home
Start Free TrialLog in
Avatar of ben1211
ben1211Flag for Malaysia

asked on

Setting Directory Quotas in Windows 2003 Server R2

I have a File Server running on Windows 2003 Server R2. These directories are created for all users to place their files. How can I set quotas on these directories that the users can only place a certain number of files.

Can different directories have different quotas?

Please tell me how this is done, please?
Avatar of viralypatel
viralypatel
Flag of India image

C:\>dirquota quota add /path:c:\test1 /limit:5KB

Open in new window


more details here :
http://blogs.msdn.com/b/adioltean/archive/2005/07/01/434790.aspx
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ben1211

ASKER

Krzysztof....I'm looking for different quotas for different directories. I would like to set a different quota for certain directores, and other directories would have a higher quota. Can this be done?
Avatar of ben1211

ASKER

Krzysztof can you tell me how do I set different quotas for different directories please?

Can you walk me through the entire process please?
If they are subfolders of parent folder, where you enabled qouta, then unfortunately no :( Quota is cumulative for all users downside.

As confirmation for my words look at this post at
http://social.technet.microsoft.com/Forums/ar/winserverfiles/thread/03475210-7969-45d9-880e-8484d3868bc1

Krzysztof
Yes, I will try to explain it to you. Just a sec :)

Krzysztof
Avatar of ben1211

ASKER

Ok...assuming they are not subfolders from a parent folder, but rather several folders listed from the C Drive.

How would you set quotas for that scenario please?
Avatar of ben1211

ASKER

How do I find File Server Resource Manager Microsoft Management Console (MMC) snap-in?

My Server is not an AD server yet. I went to RUN and typed MMC and tried to find File Server Resource Manager, but could not find this. Why?
u can go doing it for each directory using the steps in the link i sent.
FSRM can be added in Server Management Console. Under File Server role you will see install FSRM feture.
Then open FSRM snap-in from Administrative Tools and go to "Quota Templates". Define required quota templates and link them to Root folders i.e.

quota1 C:\Folder1
quota2 C:\Folder2

quota1 will be inherited by default by each subfolder in C:\Folder1
i.e. C:\Folder1\Subfolder1

When you apply quota template you need to decide which option to choose soft or hard.

Soft -> User will be warned that space limit is saturated but OS still allows data writing
Hard -> User will be informed that space limit is saturated and no more data can be written.

If you need I can prepare some doc for you?

Krzysztof
Avatar of ben1211

ASKER

Krzysztof ....i would be very grateful if you could prepare a doc for me. I would be extremely grateful :) Could you please?
Yes of course. Let me a short time to prepare and I will post it here :)

Krzysztof
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is this doc OK for you? Or you need other help? Thanks in advance for the answer.

Krzysztof
Avatar of ben1211

ASKER

hi Krzysztof,

i'm sorry for the delay. I'm going to look at the document now and will get back to you shortly.
Thank you for your help. I will certainly get back to you soon.
That's OK. No problem. I would only know if I should prepare something more or not :)

So, I'm waiting for news

Krzysztof
Avatar of ben1211

ASKER

hi Krzysztof,

If my Server is not a file server yet, can I still install FSRM? Or must I first make my server a File Server? Please advise.

From Server roles, you can actually choose to make your server a File Server right? Does this need to be done first?
Yes, server must be advertised as File Server, first. But the most simple way for that without any role installation is to ...

... share any folder on that server :) Role will be activated automatically :)

Krzysztof
Avatar of ben1211

ASKER

thanks...will do that.
Avatar of ben1211

ASKER


hi Krzysztof,
I don't understand what you mean in option a and Option b.

Assuming you have Department Data shared and sub folders Accounts, and HR as sub folders of the Departement Data folder. Could you explain what you mean in Options a & Options b?

3) Choose one of two available options
a) Create quota on path – this option applies quota limit at parent folder level. So, it’s
doesn’t matter if user will exceed size in parent folder or any subfolder, quota is
cumulative for them all (mostly used to limit space for departments)
b) Auto apply template and create quotas on existing and new subfolders – this option
sets up quota limit only on subfolders within a parent folder and on every new created
folder(mostly used to limit users home drive).
Avatar of ben1211

ASKER

hi Krzysztof, what do you mean here by Parent Folder? Is Department Data the Parent Folder or is HR the Parent folder.
Meaning, if you look at your document, after the template has been created, then you select Option A to apply the template....you apply it to C:\Departement Data\HR. So do you mean that HR becomes the Parent Folder here?

I assumed when you said Parent Folder - it means C:\Department Data

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial