From owner-freebsd-questions@FreeBSD.ORG Sun May 23 07:50:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F8616A4CE for ; Sun, 23 May 2004 07:50:30 -0700 (PDT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6BE743D1F for ; Sun, 23 May 2004 07:50:30 -0700 (PDT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.12.11/8.12.11) with ESMTP id i4NEoK6S021183 for ; Sun, 23 May 2004 07:50:20 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: freebsd-questions@freebsd.org Date: Sun, 23 May 2004 06:50:20 -0800 Message-Id: <20040523145020.M19078@enabled.com> X-Mailer: Open WebMail 2.30 20040103 X-OriginatingIP: 64.121.33.4 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: afbackup --- switching tapes immediately ejected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 14:50:30 -0000 afbackup-3.3.5_3-sevrer afbackup-3.3.5_3-client Hi there, I am having some difficulties with the server when I am required to change tapes. sometimes it takes a Little while to change the tape - over 3 days but by the time the tape new tape requested is inserted in the dirve - it is immediately ejected and the next tape in sequence is requested. any clues why thisn is going on? I dont know what to do to correct it. I have a series of 3 tapes used with an onstream ADR50 external SCSI drive. cheers, Noah --- adding cofniguration file ---- # # SERVER SPECIFICATION # # The identifier for the server #ServerIdentifier: # # DEVICE SPECIFICATION # # The device name (No-Rewind-Version !) Backup-Device: /dev/sa0 # # The blocksize of the device Tape-Blocksize: 10240 # # Flag, whether the device is a robot / cartridge handling system (0 or 1) Cartridge-Handler: 0 # # Insert your number of cartridges, whether you have a robot or not Number Of Cartridges: 3 # # The specifiers of different cartridge sets, if requested. # Default is 1 set with cartridges ranging from 1 up to the # previous parameter. Specifiers of cartridge sets must be # separated by whitespace and may contain digits, commas and # dashes. Examples: 1-3 4,8-10 6,7 #Cartridge-Sets: 1,2,3 # # The maximum number of bytes per file on tape Max Bytes Per File: 50000000000 # # The maximum number of bytes per tape #Max Bytes Per Tape: # # Append also to explicitly deselected cartridges Full Append Mode: Yes # # Write to any supplied cartridge, that has space Variable Append Mode: No # # Refuse to write to tapes, that do not have a valid label Reject Unlabeled Tapes: 0 # # Prefer writable cartridges available in a changer Prefer Cartridge in Changer: Yes # # Time to wait from the moment, a new cartridge has been inserted # until a new action is attempted on the tape device Cart-Insert-Gracetime: 70 # # Time to wait while the device is unavailable until a mail is # sent to the user in charge Device Unavail Send mail after min: 6 # # Time to wait while the device is unavailable until abort Device Unavail give up after min: 45 # # The interval in seconds for probing, if device is ready, when # inserting another cartridge is requested. 0 for no probing. Device-Probe Interval: 5 # # Configuration file for a media changer Changer-Configuration-File: %L/changer.conf # # # SHELL-COMMANDS FOR TAPE HANDLING # # In these commands %d is replaced by the device name, # %n by the number, if within the command the count starts with 1, # %m by the number, if the count starts with 0. # # Command to set the file # on tape SetFile-Command: sh -c "mt -f %d rewind && %E/__mt -f %d fsf %m" # # Command to skip to the next %n-th file on tape SkipFiles-Command: %E/__mt -f %d fsf %n # # If there is a command to set the cartridge directly, supply it here #Set-Cart-Command: # # If the cartridges can only by changed successively, insert the # command to change them here. This is also the command, that unloads # the tape, if you have no cartridge handler. Change-Cart-Command: mt -f %d rewoffl # # If the media must be prepared for access in some way, # the appropriate command can be supplied here. #Init-Media-Command: # # The command to erase the tape. This is necessary on some systems. #Erase-Tape-Command: # # Command, that is called, when a tape is full. #Tape-Full-Command: # # # CONFIGURATION FOR NON-EXISTING CARTRIDGE HANDLING SYSTEM # # The user to inform, if a cartridge should be changed manually User To Inform: root # # The mail-program to use. # # Insert %u for the position, where the username has to appear, # %U for the remote user, %H for the remote client host. Mail-Program: mail -s "[Afbackup]: Backup Service Information" %u # # # FILES TO SAVE THE STATE AND LOGGINGS # # Directory for changing and persistent files VarDirectory: /var/spool/afbackup # # Filename to save the current tape position Tape-Pos-File: %V/tapepos # # Filename for error loggings etc. Logging-file: @ /var/spool/afbackup/server.backup.log # # Filename to write the current server status to Status-file: %V/status # # Locking file to prevent several server starts #Lock-file: # # Lockfile for accessing a media changer #Changer-Lockfile: # # The file with the authentication encryption key Encryption-Key-File: /usr/local/etc/afbackup/cryptkey # # # CONFIGURATION FOR REMOTE_EXECUTION # # Directory, where remotely started programs must reside Program-Directory: /usr/local/libexec/afbackup # # # SERVER-STARTUP AND SHUTDOWN ACTIONS # # shell-command to perform, when the server starts #Init-Command: # # shell-command to perform, when the server exits #Exit-Command: --- snip done ---