Commit 69f3ab27 authored by Michael Davis's avatar Michael Davis
Browse files

Adds read/writemaxdrives parameters to cta-catalogue-initialise.sh

parent 1ec04f8d
......@@ -34,7 +34,9 @@ XrootCl::XrootCl(const XrdCl::XRootDStatus& status, const std::string & what) {
w << status.ToStr() << " code:" << status.code
<< " errNo:" << status.errNo
<< " status:" << status.status;
getMessage().str(w.str());
std::string x(w.str());
x.resize(x.find_first_of('\0'));
getMessage().str(x);
}
void XrootCl::throwOnError(const XrdCl::XRootDStatus& status, std::string context)
......
......@@ -3,19 +3,19 @@
# Initialise CTA Catalogue on first use
# LHC experiments
cta-admin virtualorganization add --vo "ALICE" --comment "ALICE"
cta-admin virtualorganization add --vo "ATLAS" --comment "ATLAS"
cta-admin virtualorganization add --vo "CMS" --comment "CMS"
cta-admin virtualorganization add --vo "LHCb" --comment "LHCb"
cta-admin virtualorganization add --vo "ALICE" --comment "ALICE" --writemaxdrives 100 --readmaxdrives 100
cta-admin virtualorganization add --vo "ATLAS" --comment "ATLAS" --writemaxdrives 100 --readmaxdrives 100
cta-admin virtualorganization add --vo "CMS" --comment "CMS" --writemaxdrives 100 --readmaxdrives 100
cta-admin virtualorganization add --vo "LHCb" --comment "LHCb" --writemaxdrives 100 --readmaxdrives 100
# SME experiments on Namespace dashboard
cta-admin virtualorganization add --vo "COMPASS" --comment "COMPASS"
cta-admin virtualorganization add --vo "NA64" --comment "NA64"
cta-admin virtualorganization add --vo "AMS" --comment "AMS"
cta-admin virtualorganization add --vo "nTOF" --comment "nTOF"
cta-admin virtualorganization add --vo "COMPASS" --comment "COMPASS" --writemaxdrives 100 --readmaxdrives 100
cta-admin virtualorganization add --vo "NA64" --comment "NA64" --writemaxdrives 100 --readmaxdrives 100
cta-admin virtualorganization add --vo "AMS" --comment "AMS" --writemaxdrives 100 --readmaxdrives 100
cta-admin virtualorganization add --vo "nTOF" --comment "nTOF" --writemaxdrives 100 --readmaxdrives 100
# Other SME experiments
cta-admin virtualorganization add --vo "NA62" --comment "NA62"
cta-admin virtualorganization add --vo "NA62" --comment "NA62" --writemaxdrives 100 --readmaxdrives 100
# Media types as discovered from CASTOR (17/06/2020)
# SQL> select unique density from vmgr_tape_info;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment