SmodR - modifies metadata information about a SRB resource.
SmodR -a phyResourceName logicalResourceName
SmodR -l phyResourceName logicalResourceName
SmodR -i user@domain accs resourceName
SmodR -d user@domain resourceName
SmodR -o user@domain resourceName
SmodR -x maxLatencyInMilliSecs resourceName
SmodR -n minLatencyInMilliSecs resourceName
SmodR -b bandwidthInMegaBitsPerSec resourceName
SmodR -c maxConcurrency resourceName
SmodR -s numStripes resourceName
SmodR -h numHierarchies resourceName
SmodR -g capacityInGigaBytes resourceName
SmodR -r oldResourceName newResourceName
SmodR -z description resourceName
SmodR -u timeStamp currDataSize user@domain resourceName
SmodR -q quota currentUsage user@domain resourceName
SmodR -D resourceName
SmodR -E resourceName
SmodR -L newResourceLocation resourceName
SmodR modifies information about SRB resourceName
Note that the command can used only by SRB Administrators.
- add a physical resource to a logical resource. If logical resource is not there then it is created
- remove a physical resource from a logical resource
- insert or modify access to a resouce for a given user
- delete access to a resouce for a given user
- change resource ownership to a given user
- modify maximum latency of resource (given in milliseconds)
- modify minimum latency of resource (given in milliseconds)
- modify bandwidth to/from a resource (given in MegaBitsPerSec)
- modify maximum allowed concurrency of resource (numeric)
- modify striping of resource (numeric)
- modify number of hierarchies in the resource (numeric)
- modify maximum capacity of resource (given in GigaBytes)
- rename a resource (logical or physical)
- modify description of resource
- modify current usage for user to currDataSize (numeric in GigaBytes) at the given timeStamp; if timeStamp is -1 then the times- tamp is internally generated. this information is kept historic and is not over written.
- set current quota and usage for user@domain to quota and currentUsage (both numeric in GigaBytes); if quota is -1 then the quota is not changed this information is unique per user-resource pair and gets overwritten when changed. If max_quota is -1 then the quota is not changed. If the user@domain = ALL then the usage is computed (from internal metadata in MCAT) for all user for that resource. The quota value is used if given else if -1 is given then DEFAULT_RESOURCE_USAGE_QUOTA from the runsrb environment variable is used unless the quota is set already for a user and resource pair. If the user@domain = ALL and the resourceName = ALL then the usage is computed for all users and all resources. The quota value is used if given else if -1 is given then DEFAULT_RESOURCE_USAGE_QUOTA from the runsrb environment variable is used unless the quota is set already for a user and resource pair.
- enforce the quota by reducing access to null for all users in resources where their quota was exceeded. Apply this after executing "SmodR -q -1 -1 ALL ALL".
- disable write access to the physical resource (free_space = -4).
- enable write access to the physical resource (free_space = -1).
- modify the location of a resource