Destination:
EST Home Page Products Download a Demo! Press Releases Where to Buy Support Online Manuals Tech Tips Papers and Notes Mailing Lists Register Contact Info Employment Opportunities at EST EST's Affiliations Linux Related Links


Setting up BRU to work with an Autoloader:
Method 2

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.

Instructions:

There are two fundamental steps required for this method of configuring autoloaders:

  1. Get the modified autoloader script and modify to suit the current configuration.
  2. Change /etc/brutab (once above step is done!)
  1. Download script and modify:
    • Download script am2.script.bru (You may have to hold the Shift key then Left-Mouse click to save)
    • Install script by doing: mv am2.scrpt.bru /bin cd /bin bru -xv -ua -f am2.script.bru
    • Modify mountcmd.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 changes to the unmountcmd.sh file.
    • Test your file: Ensure you have at least two tapes in your autoloader, one loaded and one in the next slot, then give the command:

      ./bin/mountcmd.sh /dev/nst0 2 c

    The current tape should eject and the next should load. If the tape does not eject, you have a problem with your script. Be sure to check all commands in your mountcmd.sh since the commands may not work on your OS. Check your man pages. If the tape does eject but the next tape 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 proper settings.

  2. To change /etc/brutab:
    • Edit (vi or other) /etc/brutab
    • Add two Global Parameters near the beginning just below the existing ones. These lines ALL begin with "pound-plus" (#+). Failure to do Step 1 first could result in the failure of the BRU extraction of script files as BRU will be looking for mountcmd.sh and aborting.

    • #+MOUNTCMD=/bin/mountcmd.sh #+UNMOUNTCMD=/bin/unmountcmd.sh
Return to

BRU Manual

Service Marks, Trademarks, and / or registered trademarks used on this site are the sole properties of their respective owners.
Copyright 1999, Enhanced Software Technologies, Inc. All rights reserved.

Read our privacy statement.

Last modified: Wednesday, 12-Apr-2000 09:01:54 MST