Sysadmin:Changing a tape

From Earlham CS Department
Jump to navigation Jump to search

Using software

With AMANDA

Login as operator, and then run this command:

amtape <config-name> slot n

Where config-name is the name of the tape configuration you want to check (on CS this is generally CSDaily), and n is the slot number you want to change to. With our current autoloader, n will be between 1 and 6.

With chio

If you are not working with AMANDA tapes, you will want to use chio instead. The syntax is this:

Make sure that no tape is loaded: mt -f /dev/sa0 offline

chio move slot n drive 0

Where n is now between 0 and 5, corresponding to the slots 1 to 6 above.

Manually

The autoloader also has a mechanism for manually changing tapes from the front-panel. On the front-panel press the arrow button (middle button) to select the proper tape, and then press "Enter" (the bottom button) to change.