Content-type: text/html
Man page of LCG-SD
LCG-SD
Section: User Commands (1)
Updated: $Date: 2009/06/26 12:01:06 $
Index
Return to Main Contents
NAME
lcg-sd - set file status to "Done" for a given SURL in a specified request
SYNOPSIS
lcg-sd
[
-h,--help
] [
-v,--verbose
] [
-b,--nobdii
] [
--connect-timeout timeout
] [
--sendreceive-timeout timeout
] [
--bdii-timeout timeout
] [
--srm-timeout timeout
] [
--version
]
surl
(
reqid fileid
|
reqtoken
)
oflag
DESCRIPTION
lcg-sd
sets file status to "Done" for a given SURL in a specified request.
This is only meaningful if the space is managed by an SRM.
- --connect-timeout
-
Sets the connect timeout, used when connecting to a remote host. The connection will be aborted
if the remote host doesn't reply after
value
seconds.
- --sendreceive-timeout
-
Sets the send/receive data timeout, used when transferring data to/from a remote host. The connection will be aborted
if no data is transfered after
value
seconds.
- --bdii-timeout
-
Sets the BDII timeout, used when searching information into BDII. The connection will be aborted
if the search is longer than
value
seconds.
- --srm-timeout
-
Sets the SRM timeout, used when doing an asynchronous SRM request. The request will be aborted
if it is still queued after
value
seconds.
- surl
-
specifies the Site URL. An SURL starts with
srm:.
- reqid
-
is the request identifier returned by
lcg_gt
with SRMv1.
- fileid
-
is the file ordinal returned by
lcg_gt
with SRMv1.
- reqtoken
-
is the token returned by
lcg_gt
with SRMv2.
- oflag
-
Ignored. Kept for syntax backward compatibility. Put '0' for example.
- -b,--nobdii
-
If this flag is present, it means that you don't want to make BDII calls to get SE type. So, you must provide full endpoint in SURLs.
The SE type is deduced from argument list. If you specify
reqid
and
fileid
it is a SRMv1 endpoint. If you specify
reqtoken
it is a SRMv2 endpoint.
- -v,--verbose
-
Verbose mode. You can specify it twice for extra verbose mode.
NOTE
The environment variable LCG_GFAL_INFOSYS must point to the BDII, unless
--nobdii
option is used.
EXAMPLES
lcg-sd srm://lxshare0303.cern.ch:8443/castor/cern.ch/home/dteam/test \
939325759 0 0
lcg-sd srm://lxshare0303.cern.ch:8443/castor/cern.ch/home/dteam/test \
9393-45453af 0
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation
failed.
SEE ALSO
lcg-aa(1),
lcg-cp(1),
lcg-cr(1),
lcg-del(1),
lcg-getturls(1),
lcg-gt(1),
lcg-la(1),
lcg-lg(1),
lcg-lr(1),
lcg-ls(1),
lcg-ra(1),
lcg-rep(1),
lcg-rf(1),
lcg-sd(1),
lcg-stmd(1),
lcg-uf(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- NOTE
-
- EXAMPLES
-
- EXIT STATUS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 14:16:53 GMT, July 14, 2009