MSS Quick Reference

Revision Date: September 25, 2006

Introduction

The NCAR Mass Storage Service (MSS) is a collection of hardware and software dedicated to providing archival storage services adequate for handling vast quantities of data. This page briefly describes the various ways you can use to interact with the MSS, and where you can find detailed documentation.

Links to Documentation

The authoritative documentation for the MSS can be found at these links:

Where is the DCS software installed?

By default, the DCS executables are installed in /usr/local/dcs-4.0/bin. Your system administrator may have also made links in another directory, such as /usr/local/bin. The DCS man pages are installed in /usr/local/dcs-4.0/man. Your system administrator may have also made links in another directory, such as /usr/local/man.

How Do I...?

Copy files to or from the MSS

You can use one of these methods to copy files between your local system and the MSS. NOTE: The msread and mswrite commands have been depreciated and will be removed at some time in the future. Use the DCS 4.0 msrcp command instead.

CommandDescription
msrcpCopy files between your system and the MSS. Also has options to help synchronization of MSS and local directories.
An FTP ClientCopy files between your system and the MSS. For those systems that either do not or can not run the DCS Client software.
msread(Depreciated) Copy an MSS file to a local file.
mswrite(Depreciated) Copy a local file to the MSS.

Rename MSS files and directories

Use the msmv command.

List MSS files and directories

These commands let you retrieve information about MSS files and directories.

CommandDescription
msallinfoDisplay MSS object information (formats the output of msrawinfo).
msduDisplay MSS usage information.
msfindFind MSS files and apply DCS commands to them.
mslsDisplay MSS file and directory information.
msrawinfoReturn raw MSS object information to be parsed by a script.

Change MSS file attributes

MSS files have associated metadata attributes. These commands let you change them.

CommandDescription
mschprojChange an MSS file's charging project number.
mscommentChange an MSS file's comment.
msclassChange an MSS file's class of service.
msfindFind MSS files and apply DCS commands to them.
mspasswdChange an MSS file's read and/or write passwords.

Retain or remove MSS files

MSS files are retained for a limited amount of time (set by each file's retention period), after which they will be scheduled for deletion. See the MSS File Life Cycles section of the DCS 4.0 User Reference for details.

CommandDescription
msfindFind MSS files and apply DCS commands to them.
msrecoverRecover MSS files from the MSS trash.
msretentionSet the retention period for MSS files.
msrmRemove MSS files (places them into the MSS trash).
mstouchUpdate the last reference time for MSS files.

Use the MSS working directory feature

The following DCS commands, in conjunction with your local shell interpreter, provide a way to keep track of an MSS working directory. Unlike the other DCS commands, you must first run some setup commands on your local system. See the mscdsetup documentation for details.

CommandDescription
mscdChange the current MSS working directory.
mscdsetupAuxiliary command to allow use of mscd and mspwd.
mspwdDisplay the current MSS working directory.

Manipulate DCS requests

You can find information about and manage queued and active DCS requests.

CommandDescription
dcsjlogReturn summary information about DCS requests.
dcsqDisplay DCS queue contents.
dcsrmRemove or cancel DCS requests.
dcswaitWait for a DCS request to finish.

Use the DCS commands from inside my program

You can call the POSIX system library routine with a DCS command line if you want, or you can use the DCS 4.0 callable interface library. See the Files section of the appropriate reference documentation for how to use this library.

LanguageDescription
C, C++Use the DCS 4.0 C/C++ Library.
Fortran 90/95Use the DCS 4.0 Fortran Library.