KB Logo

TOLIS Group Knowledge Base

Browse KB by category:
Go to KB #:
Email   Bookmark

Setting up an Autoloader to work with BRU - Method 2

Views: 16388
Votes: 0
Posted: 26 Jun, 2008

Setting Up BRU to Work With an Autoloader: Method 2

This is Method 1 from the "Using Autoloaders and BRU" Knowledge Base article, which should be read first if you have not already done so.

This method allows BRU to place multiple archives on the same tape.  Instead of ejecting the tape following each command (Method 1), BRU will eject the tape only when the end of the tape has been reached.


These are the two fundamental steps required to properly configure the autoloader:

  1. Get the modified autoloader script and modify to suit the current configuration.
    • Download the script: am2.script.bru.
      (You may need to right-click and choose 'Save As...' or hold the left shift key the left-click the mouse to save)
    • Install the script by running:
    • mv am2.script.bru /bin
      cd /bin
      bru -xv -ua -f am2.script.bru
    • Modify 'unmountcmd.sh' by searching for 'poss_chng'.  All locations that may need changing are tagged with the 'poss_chng' line.
    • You won't need to make any chnages to the 'mountcmd.sh' file.
    • Test your file! Ensure that you have at least two tapes in your autoloader that you can test with.  One needs to be loaded in the drive and the other needs to be in the next slot.  Once you've done this, run the command:
      ./bin/unmountcmd.sh /dev/st0 1 c
      The current tape should be ejected, put back into its slot, and the next tape loaded.  If the tape does not eject, there is a problem with the modifications that were made to the script. Be sure to check all commands in your 'unmountcmd.sh' since the commands may not work on your OS.  Check your 'man' pages.  If the tape does eject but the next tape does not load or fails to load properly, then your script is fine.  The problem in this case is that your autoloader is NOT configured properly for sequential mode.  See your autoloader manual for instructions on the proper setting.

  2. Change the "/etc/brutab", once the above step is done, to reflect the new configuration.
    WARNING: Failure to do 'Step 1' above first could result in the BRU extraction of script files to fail as BRU will be looking for 'mountcmd.sh' and aborting.
    1. Edit (vi, pico, or other text editor) /etc/brutab.
    2. Add two Global Parameters near the beginning just below the existing ones.  These lines ALL begin with "pound-plus" (#+).
Others in this Category
document Important changes made to the 'bruxpat' file declaration in version and higher.
document Disable/Enable Hardware Compression When Using BRU
document How do I utilize Quick File Access (QFA) with BRU 17.0?
document How do you configure the scheduler with XBRU?
document Sample BRUTAB Settings
» More Articles

Powered by KnowledgebasePublisher
Page Load Time: 0.029851 seconds / 29.851 milliseconds.
Page File Size: 23275 bytes.