JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Storage Archive Manager 5.3 Configuration and Administration Guide     Sun QFS and Sun Storage Archive Manager 5.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  About SAM-QFS

2.  Configuring Storage Devices for Archiving

3.  Performing Additional SAM-QFS Configuration

4.  Creating Parameters Files for Network-Attached Automated Libraries

5.  Checking the Drive Order in Libraries

6.  Populating the Catalog

7.  Managing Automated Libraries and Manually Loaded Drives

8.  Managing Vendor-Specific Libraries

9.  About Archiving

10.  Configuring the Archiver

11.  Archive Directives (archiver.cmd)

12.  Archive Set Directives (archiver.cmd)

About Archive Set Directives

Archive Set Assignment Directive

File Age search-criterion Arguments: -access and -nftv

File Age search-criterion Arguments: -after

File Size search-criterion Arguments: -minsize and -maxsize

Owner and Group search-criterion Arguments: -user and -group

File Name search-criterion Arguments Using Pattern Matching: -name regex

Release and Stage file-attributes Argument: -release and -stage

Membership Conflicts in Archive Sets

Archive Set Copy Parameters

Controlling the Size of Archive Files: -archmax Parameter

Setting the Archiver Buffer Size: -bufsize Parameter

Specifying the Number of Drives for an Archive Request: -drivemax, -drivemin, and -drives

Maximizing Space on a Volume: -fillvsns Parameter

Specifying Archive Buffer Locks: -lock Parameter

Making Archive Copies of Offline Files: -offline_copy Parameter

Specifying Recycling

Sorting Archive Files: -sort and -rsort Parameters

Controlling Unarchiving

Controlling How Archive Files Are Written: -tapenonstop Parameter

Reserving Volumes: -reserve Parameter

Setting Archive Priorities: -priority Parameter

Scheduling Archiving: -startage, -startcount, and -startsize Parameters

VSN Association Directives

VSN Pools Directives

13.  Data Integrity Validation in SAM-QFS

14.  About Releasing

15.  Configuring the Stager

16.  Configuring the Recycler

17.  Advanced SAM-QFS Topics

18.  Using the Sun SAM-Remote Software

VSN Association Directives

The VSN associations section of the archiver.cmd file assigns volumes to archive sets. This section starts with a vsns directive and ends with an endvsns directive.

VSN associations can also be configured with the SAM-QFS Manager software. See the SAM-QFS Manager online help for more information.

Collections of volumes are assigned to archive sets by directives of the following form:

archive-set-name.copy-num media-type vsn-expr ... [-pool  /
vsn-pool-name ...]

An association requires at least three fields: archive-set-name and copy-num, media-type, and at least one volume. The archive-set-name and copy-num values are connected by a period (.).

Argument
Definition
archive-set-name
A site-defined name for the archive set.
copy-num
A digit followed by one or more arguments that specify archive characteristics for that copy. Archive copy directives begin with a digit. This digit (1, 2, 3, or 4) is the copy number.
media-type
The media type. For a list of valid media types, see mcf(4) in Sun QFS and Sun Storage Archive Manager Reference Manual.
vsn-expr
A regular expression. See the regexp(5) man page.
-pool vsn-pool-name
A named collection of VSNs.

Note - If your SAM-QFS environment is configured to recycle by archive set, do not assign a VSN to more than one archive set.


Example 12-17 VSN Specifications on Multiple Lines

The following example shows two lines of VSN specifications.

vsns
set.1 lt VSN001 VSN002 VSN003 VSN004 VSN005
set.1 lt VSN006 VSN007 VSN008 VSN009 VSN010
endvsns

Example 12-18 VSN Specifications With a Continued Line

The following example shows a VSN specification that uses a backslash character "\" to continue a line onto a subsequent line.

vsns
set.1 lt VSN001 VSN002 VSN003 VSN004 VSN005 \
VSN006 VSN007 VSN008 VSN009 VSN010
endvsns

Example 12-19 VSN Specifications With Shorthand Notation

The following example specifies VSNs using a regular expression in a shorthand notation.

vsns
set.1 lt VSN0[1-9] VSN10
endvsns

When the archiver needs volumes for the archive set, it examines each volume of the selected media type in all automated libraries and manually mounted drives to determine whether the volume satisfies any VSN expression. It selects the first volume that matches an expression that contains enough space for the archive copy operation. For example: