This page describes the known about environment variables and users used to drive the Lustre tests.
The list is not complete and so if you find additional variables please add them to this list with a description of what they do. There are also variables on the list that do an unknown function so if you know what they do please describe them.
Cluster Configuration
Variable |
Purpose |
Typical Value |
|
---|---|---|---|
mds_HOST |
|
|
|
ost_HOST |
|
|
|
CLIENTS |
|
|
|
RCLIENTS |
|
|
|
OSTCOUNT |
|
|
|
NETTYPE |
|
|
|
mdsfailover_HOST |
|
|
|
mds1_HOST |
|
|
|
mds1failover_HOST |
|
|
|
mgs_HOST |
|
|
|
ostfailover_HOST |
|
|
|
ost1_HOST |
|
|
|
ost1failover_HOST |
|
|
|
DAEMONSIZE |
|
500 |
|
|
|
|
|
MDSDEV |
|
"/dev/sdb" |
|
MDSDEV1 |
|
"/dev/sdb" |
|
MDSCOUNT |
|
1 |
|
|
|
|
|
MDSSIZE |
|
10000000 |
|
|
|
|
|
MDSOPT |
|
-mountfsoptions=errors=remount-ro,iopen_nopriv,user_xattr,acl |
|
|
|
|
|
MGSDEV |
|
|
|
|
|
|
|
MGSSIZE |
|
|
|
|
|
|
|
SGPDD_YES |
|
true |
|
REFORMAT |
|
true |
|
|
|
|
|
LNET_ACCEPT_PORT |
|
7988 |
|
ACCEPTOR_PORT |
|
7988 |
|
|
|
|
|
OSTSIZE |
|
10000000 |
|
|
|
|
|
OSTOPT |
|
"" |
|
|
|
|
|
|
|
|
|
OSTDEV1-n |
|
|
|
|
|
|
|
|
|
|
|
NETTYPE=o2ib |
|
|
|
|
|
|
|
MGSNID |
|
h2$ |
|
NETTYPE |
|
|
|
mgs_HOST |
|
|
|
|
|
|
|
FSTYPE |
|
ldiskfs |
|
|
|
|
|
STRIPE_BYTES |
|
1048576 |
|
|
|
|
|
STRIPES_PER_OBJ |
|
0 |
|
|
|
|
|
SINGLEMDS |
|
mds1 |
|
|
|
|
|
TIMEOUT |
|
20 |
|
|
|
|
|
PTLDEBUG |
|
0x33f0404 |
|
|
|
|
|
DEBUG_SIZE |
|
32 |
|
|
|
|
|
SUBSYSTEM |
|
0xffb7e3ff |
|
|
|
|
|
MKFSOPT |
|
"" |
|
MOUNTOPT |
|
"" |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c82be268-a1f1-4d77-a5c0-a5be0308fcdc"><ac:plain-text-body><![CDATA[ |
[ "x$MDSJOURNALSIZE" != "x" ] && |
]]></ac:plain-text-body></ac:structured-macro> |
|
MKFSOPT |
|
MKFSOPT" -J size=$MDSJOURNALSIZE" |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0731f105-8d0d-4aa6-8ef7-dc89c030556f"><ac:plain-text-body><![CDATA[ |
[ "x$MDSISIZE" != "x" ] && |
|
]]></ac:plain-text-body></ac:structured-macro> |
MKFSOPT |
|
MKFSOPT" -i $MDSISIZE" |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7117e1c9-01cd-48aa-9e3a-0da93abff242"><ac:plain-text-body><![CDATA[ |
[ "x$MKFSOPT" != "x" ] && |
]]></ac:plain-text-body></ac:structured-macro> |
|
MKFSOPT |
|
"--mkfsoptions=\\\"$MKFSOPT\\\"" |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7429ea40-2bab-4833-a918-541193d1e752"><ac:plain-text-body><![CDATA[ |
[ "x$MDSCAPA" != "x" ] && |
|
]]></ac:plain-text-body></ac:structured-macro> |
MKFSOPT |
|
"--param mdt.capa=$MDSCAPA" |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57b5dcd1-d27f-4a01-819a-58a8f07d5d16"><ac:plain-text-body><![CDATA[ |
[ "x$mdsfailover_HOST" != "x" ] && |
|
]]></ac:plain-text-body></ac:structured-macro> |
MOUNTOPT |
|
MOUNTOPT" --failnode=`h2$NETTYPE $mdsfailover_HOST`" |
|
|
|
|
|
OST_MKFS_OPTS |
|
"--ost --fsname=$FSNAME --device-size=$OSTSIZE --mgsnode=$MGSNID --param sys.timeout=$TIMEOUT $MKFSOPT $MOUNTOPT $OSTOPT" |
|
|
|
|
|
MDS_MOUNT_OPTS |
|
-o user_xattr,acl" |
|
|
|
|
|
OST_MOUNT_OPTS |
|
"" |
|
|
|
|
|
RUNAS_ID |
|
840000017 |
|
client |
|
|
|
MOUNT |
|
/mnt/FSNAME |
|
MOUNT1 |
|
MOUNT |
|
|
|
|
|
MOUNT2 |
|
MOUNT |
|
|
|
|
|
MOUNTOPT |
|
-o user_xattr,acl |
|
|
|
|
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e16a622b-1bfb-4051-89d0-2395b38bd322"><ac:plain-text-body><![CDATA[ |
[ "x$RMTCLIENT" != "x" ] && |
]]></ac:plain-text-body></ac:structured-macro> |
|
MOUNTOPT |
|
remote_client" |
|
DIR |
|
MOUNT |
|
|
|
|
|
DIR1 |
|
MOUNT1 |
|
|
|
|
|
DIR2 |
|
MOUNT2 |
|
|
|
|
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="dc47e7c5-565f-4591-a769-d8c04437a30e"><ac:plain-text-body><![CDATA[ |
if [ $UID -ne 0 ]; then |
]]></ac:plain-text-body></ac:structured-macro> |
|
log "running as non-root uid $UID" |
|||
RUNAS_ID |
|
"$UID" |
|
RUNAS_GID |
|
`id -g $USER` |
|
RUNAS |
|
"" |
|
|
|
|
|
PDSH |
|
"pdsh -S -Rrsh -w" |
|
RSYNC_RSH |
|
rsh |
|
FAILURE_MODE |
|
SOFT |
|
|
|
|
|
# or HARD |
|||
POWER_DOWN |
|
powerman --off |
|
|
|
|
|
POWER_UP |
|
powerman --on |
|
|
|
|
|
SLOW |
|
no |
|
|
|
|
|
FAIL_ON_ERROR |
|
true |
|
|
|
|
|
MPIRUN |
|
$(which mpirun 2>/dev/null) || true |
|
MPIRUN_OPTIONS |
|
"-mca boot ssh -mca btl tcp,self" |
|
MPI_USER |
|
mpiuser |
|
|
|
|
|
SINGLECLIENT |
|
$(hostname) |
|
|
|
||
FAILURE_MODE |
|
HARD |
|
POWER_DOWN |
|
"pdsh -l xxx -S -w brent pm --off" |
|
POWER_UP |
|
"pdsh -l xxx -S -w brent pm --on" |