
104 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
CODE EXAMPLE 3-50 shows the content of the archiver.cmd file.
CODE EXAMPLE 3-51 shows the media and drives to be used.
CODE EXAMPLE 3-50 archiver(1M) -lv Output Showing the archiver.cmd File
# archiver –lv -c example2.cmd
Reading archiver command file "example2.cmd"
1: # Example 2 archiver command file
2: # Simple selections based on size
3:
4: logfile = /var/opt/SUNWsamfs/archiver/log
5: interval = 5m
6:
7: # File selections.
8: big . -minsize 500k
9: all .
10: 1 30s
11:
12: vsns
13: samfs.1 mo .*0[0-2] # Metadata to optic00 - optic02
14: all.1 mo .*0[3-9] .*[1-2][0-9] # All others for files
15: big.1 lt .*
16: endvsns
CODE EXAMPLE 3-51 archiver(1M) -lv Output Showing Media and Drives
Notify file: /etc/opt/SUNWsamfs/scripts/archiver.sh
Archive media:
media:lt archmax: 512.0M Volume overflow not selected
media:mo archmax: 4.8M Volume overflow not selected
Archive libraries:
Device:hp30 drives_available:0 archive_drives:0
Catalog:
mo.optic00 capacity: 1.2G space: 939.7M -il-o-------
mo.optic01 capacity: 1.2G space: 934.2M -il-o-------
mo.optic02 capacity: 1.2G space: 781.7M -il-o-------
mo.optic03 capacity: 1.2G space: 1.1G -il-o-------
mo.optic04 capacity: 1.2G space: 983.2M -il-o-------
mo.optic10 capacity: 1.2G space: 85.5M -il-o-------
mo.optic11 capacity: 1.2G space: 0 -il-o-------
mo.optic12 capacity: 1.2G space: 618.9k -il-o-------
mo.optic13 capacity: 1.2G space: 981.3M -il-o-------
mo.optic20 capacity: 1.2G space: 1.1G -il-o-------
mo.optic21 capacity: 1.2G space: 1.1G -il-o-------
Comentários a estes Manuais