
146 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
Example 2: Enforcing Archive Requests
When the environment is balanced between the importance of staging a file back to
the user and the importance of getting new files archived to media, the biggest
concern is exceeding the HWM. In this situation, if not enough files have met their
archive requirements to lower the percentage of the file system that is full, meeting
the pending archive requests is the best way to keep the file system from filling up.
In this situation, the preview.cmd file can be as simple as the following:
Example 3: Prioritizing Requests by Media
Suppose you have a project-oriented environment in which specific users are
working on groups of files that use specific VSNs and are segregated from other
users. In this environment, certain projects might have higher priorities at certain
times; hence, greater priority might be required from the available system storage
resources. You can configure the preview.cmd file with the following directive to
give users and their media the appropriate priority for media drives:
Then, for every VSN in the priority user’s group, enter the following information:
Thereafter, every request that requires the specified VSN is placed above other
pending mount requests in the preview queue.
Later, to deprioritize the user’s media, enter the following reverse command for
every VSN:
Note – A request for a select group of VSNs always takes precedence in the preview
request queue if the chmed(1M) command’s p flag is set.
hwm_priority = 500.0
hwm_priority = 5000.0
# chmed +p lt. VSN
# chmed -p lt. media-type
Comentarios a estos manuales