Скачати 215.09 Kb.
If you prefer to work from the command line, you can use the following tools:
Dirquota.exe. Use to create and manage quotas, auto apply quotas, and quota templates.
Filescrn.exe. Use to create and manage file screens, file screen exceptions, file screen templates, and file groups.
Storrept.exe. Use to configure report parameters and generate storage reports on demand. You can also create report tasks and then use Schtasks.exe to schedule the tasks.
The tools are added to the system path when you install File Server Resource Manager, and they must be run from an Administrator Command Prompt window.
For more information about these command-line tools, see the following references:
Each tool has several options for performing actions similar to those that are available in the File Server Resource Manager MMC snap-in, and each can perform actions on either a local computer or a remote computer. To have a command perform an action on a remote computer instead of the local computer, use the /remote:ComputerName parameter. (Additional requirements for managing remote storage resources are listed in Managing Storage Resources on a Remote Computer earlier in this guide.)
By using File Server Resource Manager to create a quota for a volume or folder, you can limit the disk space that is allocated for it. The quota limit applies to the entire folder subtree.
You can create either a hard quota or a soft quota:
A hard quota prevents users from saving files after the space limit is reached and generates notifications when the volume of data reaches each configured threshold.
A soft quota does not enforce the quota limit but generates all configured notifications.
To determine what happens when the quota limit approaches, you can configure notification thresholds. For each threshold that you define, you can send e-mail notifications, log an event, run a command or script, or generate storage reports. For example, you might want to notify the administrator as well as the user who saved the file, when a folder reaches 85 percent of its quota limit, and then send another notification when the quota limit is reached. In some cases, you might want to run a script that raises the quota limit automatically when a threshold is reached.
When you create a quota on a volume or a folder, you can base the quota on a quota template or use custom properties. We recommend that, whenever possible, you base a quota on a quota template. A quota template can be reused for creating additional quotas and simplifies ongoing quota maintenance.
File Server Resource Manager can also generate quotas automatically. When you configure an auto apply quota, you apply a quota template to a parent volume or folder. A quota based on the template is then created for each of the existing subfolders, and a quota is automatically generated for each new subfolder that is created.
File Server Resource Manager Quotas vs. NTFS Disk Quotas
About Quota Templates
Creating a Quota
Creating a Quota Template
Updating Quotas by Editing a Quota Template
Creating an Auto Apply Quota
Editing an Auto Apply Quota
Monitoring Quota Use
The following table outlines the advantages of using the quota management tools in File Server Resource Manager over NTFS disk quotas.
Advantages of Using File Server Resource Manager
|Step-by-Step Guide for Configuring a Two-Node File Server Failover Cluster in Windows Server 2008||Step-by-Step Guide for Storage Manager for sans in Windows Server 2008|
|Step-by-Step Guide for Configuring a Two-Node Print Server Failover Cluster in Windows Server 2008||Server Core Installation Option of Windows Server 2008 Step-By-Step Guide|
|Services for nfs step-by-Step Guide for Windows Server 2008||Windows Server 2008 Active Directory Certificate Services Step-By-Step Guide|
|Windows Server 2008 ts licensing Step-By-Step Guide||Step-by-Step Guide for Configuring Network Load Balancing with Terminal Services: Windows Server 2008|
|Step-by-Step Guide for Windows Deployment Services in Windows Server 2008||Server Manager Scenarios Step-by-Step Guide|