SmodR
From SRB
Contents |
NAME
SmodR - modifies metadata information about a SRB resource.
SYNOPSIS
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 -Q
SmodR -D resourceName
SmodR -E resourceName
SmodR -L newResourceLocation resourceName
DESCRIPTION
SmodR modifies information about SRB resourceName
Note that the command can used only by SRB Administrators.
OPTIONS
- -a
- add a physical resource to a logical resource. If logical resource is not there then it is created
- -l
- remove a physical resource from a logical resource
- -i
- insert or modify access to a resouce for a given user
- -d
- delete access to a resouce for a given user
- -o
- change resource ownership to a given user
- -x
- modify maximum latency of resource (given in milliseconds)
- -n
- modify minimum latency of resource (given in milliseconds)
- -b
- modify bandwidth to/from a resource (given in MegaBitsPerSec)
- -c
- modify maximum allowed concurrency of resource (numeric)
- -s
- modify striping of resource (numeric)
- -h
- modify number of hierarchies in the resource (numeric)
- -g
- modify maximum capacity of resource (given in GigaBytes)
- -r
- rename a resource (logical or physical)
- -z
- modify description of resource
- -u
- 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.
- -q
- 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.
- -Q
- 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".
- -D
- disable write access to the physical resource (free_space = -4).
- -E
- enable write access to the physical resource (free_space = -1).
- -L
- modify the location of a resource


