[Storage Exec Command Line Utility]
Command Syntax:
SEAlloc [\server] /LIST
SEAlloc [\server] /SHOW [/O "object"]
SEAlloc [\server] /A /O "object" /T "policy" [[/I|/L]|[/U "domain\user"]] [/X]
SEAlloc [\server] /A /O "object" [[/I|/L]|[/U "domain\user"]]
[/P[:KB|:MB|:GB] "number"] [/R[:KB|:MB|:GB] "number"]
[/[-]W] [/[-]E] [/X]
SEAlloc [\server] /M /O "object" /T "policy" [[/I|/L]|[/U "domain\user"]] [/X]
SEAlloc [\server] /M /O "object" [[/I|/L]|[/U "domain\user"]]
[/P[:KB|:MB|:GB] "number"] [/R[:KB|:MB|:GB] "number"]
[/[-]W] [/[-]E] [/X]
SEAlloc [\server] /DA[Y] [/O "object"]
SEAlloc [\server] /D[Y] /O "object" [[/I|/L]|[/U "domain\user"]]
SEAlloc [\server] /S /O "object"
SEAlloc [\server] /Y [/O "object"]
SEAlloc [\server] /[-]Z [/DEFER] /O "object"
/LIST List all space allocation policies
/SHOW Show all space allocation Managed Resources
/A Add
- Default space limit is 10 MB.
- Default overdraft limit is 0 MB.
/D[A][Y] Delete[All][No confirmation]
/M Modify
/S Scan
/Y Scan volume
/X Delay scan
/O Object name
/I Enable auto detect folders
/L Enable auto detect users
/T Policy name
/P[:KB|:MB|:GB] Space limit in bytes (default), kilobytes, megabytes or
gigabytes
/R[:KB|:MB|:GB] Overdraft limit in bytes (default), kilobytes, megabytes or
gigabytes
/[-]E Active limit (default), -E Passive limit
/[-]W Save open files (default), -W Do not save open files
/[-]Z Enable volume, -Z Disable volume
[/DEFER] Allow deferral of enable/disable until reboot if
files are open
/U User or group, [Domain\User]
Examples:
SEAlloc /a /o c:\test /t "100 MB Limit"
- Adds an space allocation Managed Resource on c:\test
using the "100 MB Limit" Managed Resource policy
SEAlloc /a /x /o c:\test /t "100 MB Limit"
- Adds an space allocation Managed Resource on c:\test
using the "100 MB Limit" Managed Resource policy
and does not perform a scan
SEAlloc /a /o c:\test /p:mb 10 /r:kb 2 /e /u Domain\Joe
-Adds a user allocation object on c:\test with user Domain\Joe
SEAlloc /a /l /o c:\test /t "100 MB Limit"
- Adds an auto detect user object on c:\test
using the "100 MB Limit" Managed Resource policy
SEAlloc /a /i /o c:\test /t "100 MB Limit"
- Adds an auto detect folder object on c:\test
using the "100 MB Limit" Managed Resource policy
SEAlloc /d /o c:\test
- Deletes the space allocation object on c:\test
SEAlloc /d /o c:\test /u Domain\Joe
- Deletes the user allocation object on c:\test with user Domain\Joe
SEAlloc /d /l /o c:\test
- Deletes the auto detect user object on c:\test
SEAlloc /d /i /o c:\test
- Deletes the auto detect folder object on c:\test
SEAlloc /m /o c:\test /p:mb 5 /-e
- Modifies the space allocation object on c:\test
SEAlloc /s /o c:\test
- Scans the Managed Resource c:\test
SEAlloc /y
- Scans all the quota Managed Resources
SEAlloc /y /o C:\
- Scans all the quota Managed Resources on volume C:\
When using this command against a Network Appliance Filer, specify the
Filer name before the first option and specify the path to the qtree
(in the format volume\qtree) using the /O option. For example:
SEAlloc \scnetapp /a /o vol0\test /t "250MB limit with alerts"
This command creates a tree quota on qtree vol0\test on a Network
Appliance Filer named "scnetapp" and creates a space allocation managed
object in Storage Exec. Both the tree quota and the space allocation
Managed Resource use the "250MB limit with alerts" Managed Resource policy.