Content-type: text/html Man page of LFC-ENTERCLASS

LFC-ENTERCLASS

Section: LFC Administrator Commands (1)
Updated: $Date: 2008/01/29 11:14:55 $
Index Return to Main Contents
 

NAME

lfc-enterclass - define a new file class  

SYNOPSIS

lfc-enterclass --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 ] [ --retenp_on_disk n ] [ --tppools pool1:pool2... ] [ --uid class_uid ] [ --user class_user ]  

DESCRIPTION

lfc-enterclass defines a new file 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 must be strictly positive.
--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 class name must be at most CA_MAXCLASNAMELEN characters long.
--nbcopies n
Specifies the number of copies for a file. Each copy is written to a different tape pool.
--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.
 

EXAMPLES

lfc-enterclass --id 2 --name user --maxd 2 --migr 60 --nbco 1 --tppools default
 

EXIT STATUS

This program returns 0 if the operation was successful or >0 if the operation failed.  

SEE ALSO

Castor_limits(4), lfc_enterclass(3), Cupvlist(1)  

AUTHOR

LCG Grid Deployment Team


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
EXIT STATUS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 11:46:10 GMT, June 26, 2009