Defines a new read-only site (partition on a file server machine, specified by the server and partition
arguments) in the Volume Location Database (VLDB) entry of the read/write volume specified by the name
argument.
Defines a new read-only site (partition on a file server machine, specified by the server and partition
arguments) in the Volume Location Database (VLDB) entry of the read/write volume specified by the name
argument.
This function is idempotent.
hostname of the file server where the read-only volume is to reside
partition where the read-only is to reside
name or id of the read/write volume
Unit when successful
Adds a user to a group
Adds a user to a group
name of the user to be added
name of the group
Unit if successful
Creates a backup volume for a read/write volume
Creates a backup volume for a read/write volume
read/write volume
Unit when the volume was created successfully
Forces the Cache Manager to update volume information
Forces the Cache Manager to update volume information
Unit when successful
Create group for the given name and owner
Create group for the given name and owner
name of the new group
username of the user creating the group
Unit if successful
Create a user for the given name and id
Create a user for the given name and id
username of the new user
id of the new user
Unit if successful
Create an AFS volume on a given "server" , in given a "partition" in the given server, with a given "name" and a maximum quota defined by "maxQuota"
Create an AFS volume on a given "server" , in given a "partition" in the given server, with a given "name" and a maximum quota defined by "maxQuota"
hostname of the afs server
name of the partition on the afs server in which the volume is being created
name of the volume being created
defines the maximum allowed quota, the minimum value is 1 kibibyte
Unit when successful
Deletes a user or group with the given name
Deletes a user or group with the given name
user or group name
Unit if successful
Checks if server exist and is On-line
Checks if server exist and is On-line
volume name
Unit when successful
Flushes all data from the AFS caches
Flushes all data from the AFS caches
Unit on successfull
Get the user's id for the given username
Get the user's id for the given username
username
Id of the given username
Get the user name for the given user's ids
Get the user name for the given user's ids
user id
username of the given user id
Returns the access control list (ACL) associated with the specified file, directory, or symbolic link.
Returns the access control list (ACL) associated with the specified file, directory, or symbolic link.
directory to be inspected
In case of success, a tuple two maps of permissions, that is a map from user
to permissions
.
The first map contains the positive permissions and the second map contains the negative permissions
Return the set of groups and their properties, in the form (name, id, owner, creator)
Return the set of groups and their properties, in the form (name, id, owner, creator)
the set of groups if successful
Returns the volume name for which the directory is the mount point.
Returns the volume name for which the directory is the mount point.
The string containing of the volume name is of the form:
- A #
precedes the volume name for a regular mount point
- A %
precedes the volume name for a read/write mount point
- A cell name and :
follow the #
or %
and precede the volume name
For example:
#stateu.edu:root.cell
directory to be inspected
volume name
Lists quota information for the volume associated with the given directory.
Lists quota information for the volume associated with the given directory. Quota is in kibibytes.
directory to be inspected
an Expect that returns the quota value for the given directory
Creates a mount point for a volume in a given directory.
Creates a mount point for a volume in a given directory. This operation is idempotent. If the mount point already exists, and it is mount point of a different volume it will first try removing the current mount and then creating the mount point for the given arguments.
directory where volume is mounted
volume to be mounted
Unit if successful
Returns the membership for a user or group
Returns the membership for a user or group
name of a group or user
set of groups to which the group or user belongs to.
Updates read-only volumes to match the read/write source volume
Updates read-only volumes to match the read/write source volume
This function is idempotent.
volume name
Unit when successful
Removes the mount point at a given directory and then flushes all caches.
Removes the mount point at a given directory and then flushes all caches.
the directory is supposed to be the mount point
Unit when successful
Remove a user from a group
Remove a user from a group
name of the user to be added
name of the group
Unit if successful
Remove an AFS volume on a given "server" , in given a "partition" in the given server, with a given "name"
Remove an AFS volume on a given "server" , in given a "partition" in the given server, with a given "name"
This function is idempotent
name where the AFS's partition is setup
where the AFS volume was created
of an existing AFS volume name
return unit when volume is removed or when it does not exist
Adds and overrides the access control list (ACL) associated with the specified file, directory or symbolic link.
Adds and overrides the access control list (ACL) associated with the specified file, directory or symbolic link. If negative flag is true then the negatives rights are add instead of the normal rights.
File representing the specified target
maps of permissions, from user to permissions
Unit if successful
Sets the quota for the volume containing the given directory
Sets the quota for the volume containing the given directory
directory whose volume quota will be changed
the new quota. The quota is required to be in the interval ]0 Kib, 2 Tib] ∪ +∞
Check if a volume exists
Check if a volume exists
volume name
hostname of the file server machine
Unit when volume exists