== OSM mssadm Commands == <> please notice [[OSM_mssadm_ToDo]] === Store === ||lsstore [-l] |||| |||||| ||createstore -S |||| |||||| ||deletestore -S [-F]|| || |||||| ||storeattr [] [-l] || || |||||| ||setstore [-S ] [-c ] || display or set the status to DEFAULT,LOCKED,READONLY,WRITEONLY || === Library === ||addlib -S -P || || |||||| ||lslib [-l] -S [ ...]|| || |||||| ||setlib -S [-N ] [-P ] || || |||||| ||rmlib [ ] -S [ ...] || || === Storage Server === ||addsts -S -R -L || || |||||| ||lssts [-l] [-S ] [ ...]|| || |||||| ||setsts -S [-N ] [-R ] [-L ] || || |||||| ||rmsts -S || || === Group === ||addgroup -S [-P ]|| || |||||| ||lsgroup [-l] -S [ ... ] || || |||||| ||setgroup -S [-N ] [-P ] || || |||||| ||rmgroup -S || || === Level === ||addlevel -S -G -L -m [-n ] [-P ] |||| |||||| ||lslevel [-l] -S [-G ] [ ...] || || |||||| ||setlevel -S [-L ] [-N newslname] [-m ] [-n ] [-P ] || dieses Level wird automatisch primary Level, wenn die Metrik höher ist als die der anderen, nachträgliches Ändern der Policymetrik ändert nichts; -n Option: Zahl der Laufwerke || |||||| ||rmlevel -S || || === Volume === ||addvol -S [-n | -V ]|| || |||||| ||lsvol -S [-l] [-G ] [-L ] [ ...] || || |||||| ||setvol [ -N ] [ -s ] || zulässig für status ist: OK,BAD,RDONLY,OFFLINE|| |||||| ||rmvol [ ] -S [ ... ] || || === Bitfiles and Locations === ||lsbf -S [-acfklnops ] [-L ] [-V ] [ ...| -P ] || || ||lslocation -S [-acfklnops ] [-L ] [-V ] [ ...| -P ] || || || -a || lists all the attributes of the bitfile. || || -c || lists the creation time of the bitfile. || || -f || lists the client file system identifier.|| || -k || lists the size of the file in 1KB blocks. || || -l || gives a long format listing. It will list the size, blocks, retention time, and access date. || || -n || lists the names of the objects associated with the bitfile - storage group, storage level, volume, migration path, and location on the volume.|| || -o || lists the opaque client data of the bitfile.|| || -p || lists the path name of the bitfile.|| || -s || lists the status of the bitfile - archiving(A), deleted(D) or ok(OK).|| ||rmbf [ ] -S [ ... ] || || |||||| ||rmlocation [ ] -S [-V ] [-L ] [ ... ] || || |||||| ||setbf -S -s || zulässig für status: BAD,OK=CLEAR || |||||| ||setlocation -S -V [-s ] [-p] || zulässig für status: BAD,OK=CLEAR || |||||| ||verified [] -S -V [ ... ] || || === Policy Handling === * zur Zeit verwenden wir nur die DEFAULT Policy, das ganze Policy-Konzept wurde nicht realisiert ||addpolicy -S [-m ] [-D ] || add a policy || |||||| ||lspolicy [] -S || list policies || |||||| ||rmpolicy -S || remove a policy || |||||| ||setpolicy -S [-N ] [-m ] [-D ] || set a policy characteristic, Hochsetzen der Metrik ändert nicht die Primarylevel || === Rücksetzen von Stati nach Abstürzen === ||tidyact -S || tidy up activity table from crashed migration processes || |||||| ||restorestat -S -G ||restore the status of the source tape[s] of crashed migration processes ||