Content-type: text/html
Man page of LFC-MODIFYCLASS
LFC-MODIFYCLASS
Section: LFC Administrator Commands (1)
Updated: $Date: 2008/01/29 11:14:55 $
Index
Return to Main Contents
NAME
lfc-modifyclass - modify an existing file class
SYNOPSIS
lfc-modifyclass
--id classid
--name class_name
[
-h name_server
] [
--flags flags
] [
--gid class_gid
] [
--group class_group
] [
--maxdrives n
] [
--maxfilesize n
] [
--maxsegsize n
] [
--migr_interval n
] [
--minfilesize n
] [
--mintime n
] [
--nbcopies n
] [
--newname class_name
] [
--retenp_on_disk n
] [
--tppools pool1:pool2...
] [
--uid class_uid
] [
--user class_user
]
DESCRIPTION
lfc-modifyclass
modifies an existing file class.
The fileclass can be identified by
classid
or by
class_name.
If both are specified, they must point at the same class.
This command requires ADMIN privilege in the Cupv database.
OPTIONS
- -h name_server
-
- --flags flags
-
- --gid class_gid
-
The class is restricted to this group gid.
- --id classid
-
The class number of the class to be modified.
- --maxdrives n
-
Specifies the number of drives which can be used in parallel for a migration.
- --maxfilesize n
-
Specifies the maximum file size. There is no limit by default.
- --maxsegsize n
-
Specifies the maximum segment size. There is no limit by default.
- --migr_interval n
-
A new migration will be started if at least
n
seconds have elapsed since the last migration.
- --minfilesize n
-
Specifies the minimum file size. The default value is 0.
- --mintime n
-
A file will not be migrated unless at least
n
seconds have elapsed since the last update.
- --name class_name
-
The name of the class to be modified.
- --nbcopies n
-
Specifies the number of copies for a file. Each copy is written to a different
tape pool.
- --newname class_name
-
The class name must be at most CA_MAXCLASNAMELEN characters long.
- --retenp_on_disk n
-
Specifies the maximum retention period (in seconds) for a file on disk.
The retention period can also be set to AS_LONG_AS_POSSIBLE or INFINITE_LIFETIME.
If zero, the file is purged immediately after migration.
Default is AS_LONG_AS_POSSIBLE, i.e. purged when disk space is needed.
- --tppools pool1:pool2...
-
Specifies the tape pools to be used for migration. The number of tape pools
must be at least as big as the number of copies.
Pool names must be at most CA_MAXPOOLNAMELEN characters long.
- --uid class_uid
-
The class is restricted to this user uid.
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation
failed.
SEE ALSO
Castor_limits(4),
lfc_modifyclass(3),
Cupvlist(1)
AUTHOR
LCG Grid Deployment Team
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXIT STATUS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 11:46:10 GMT, June 26, 2009