msclass — Change the class of service for MSS files
The msclass command is used to change or set the class of service information (COS) for MSS files. The class of service information provides user specified hints or other instructions to the MSS on how to manage the file.
msclass specific options:
proj
Supply proj as the project number for
charging. Currently, no charging is done for metadata operations, so
this option is a placeholder for when charging might be imposed.
Recursively set class of service information. For each operand that
names a directory, msclass shall set the specified
cos on all MSS files in the hierarchy.
cos
Supply cos as the new class of service for
the MSS files. See Class of Service
below for details on the format and contents for
cos.
The common password related options are:
password
Supply the read password for the following MSS files. If another
read password was specified prior to this point in this command line,
and the following MSS files do no have a read password, a null
password must be given: -rpwd ''. If the MSS
files do not have a read password, this option must not be used.
password
Supply the write password for the following MSS files. If
another write password was specified prior to this point in this command
line, and the following MSS files do no have a write password, a
null password must be given: -wpwd ''. If the MSS
files do not have a write password, this option must not be used.
path
A pathname of an MSS file whose class of service
information is to be modified.
If the recursive option (-R) is set,
then all MSS files contained within the directory hierarchy named by
path will have their class of service modified.
The consistent method to provide class of service information (for all commands that
allow you to set it) is with the class option. It takes a single
string argument of the form:
category1=value1[,category2=value2][,...]
where categoryn specifies
the class of service category and the corresponding value is provided by
valuen. You may supply
values for some or all of the categories in the argument. For the categories
for which you do not supply values, either the default value will be
used (for newly created MSS files) or the previous value will remain (for existing
MSS files). The following table describes the categories and accepted values.
Table 6. Class of Service Descriptions
| Category | Description | |||||
|---|---|---|---|---|---|---|
| reliability | Specifies the desired storage retrieval reliability (that is how much effort to which the MSS will go to make sure the file can be retrieved). | |||||
|
||||||
NoteTwo MSS files differing only by name are not guaranteed to be placed on different media.WarningFiles stored with more than one copy are still subject to removal or purge. That is, if an MSS file has a class of service that causes multiple copies to be stored is then removed, all copies will be removed. See msrecover(1NCAR) for details on recovering removed or purged files. |
||||||
| usage | Provides a hint as to the expected use of the file. Note that the usage values may imply default values for other categories. These defaults may be overridden by explicitly providing values for the other categories. | |||||
|
See Environment Variables section of the Command Behavior and Envrionment chapter for details.
See Exit Status Codes section of the Command Behavior and Environment chapter for details.