Hello everybody,

I am totally new to backups, backup hardware and bacula in special, but I am
not a newbie with computers in general.

Following the tutorial
<http://www.bacula.org/dev-manual/Volume_Utility_Tools.html#btape> the program
btape hangs on the following error:

    "btape: btape.c:2576  is an illegal command"

Unexperienced as I am at this I don't have the slightest clue where I should
start tackling this problem.

Here's what I have:

    CentOS (2.6.9-42.0.3.ELsmp)
    bacula-mysql-1.38.11-3
    Sony SDX-400C tape drive

The details are:

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

(scsi1:A:8): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
  Vendor: SONY      Model: SDX-400C          Rev: 0702
  Type:   Sequential-Access                  ANSI SCSI revision: 02
st: Version 20040403, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi1, channel 0, id 8, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575


# rpm -qi bacula-mysql-1.38.11-3
Name        : bacula-mysql                 Relocations: (not relocatable)
Version     : 1.38.11                           Vendor: The Bacula Team
Release     : 3                             Build Date: Fri 07 Jul 2006
09:34:44 AM CEST
Install Date: Thu 03 Aug 2006 06:23:06 PM CEST      Build Host: 
buildcentos4.schwarz.local
Group       : System Environment/Daemons    Source RPM:
bacula-1.38.11-3.src.rpm
Size        : 15432861                         License: GPL v2
Signature   : DSA/SHA1, Thu 13 Jul 2006 11:33:23 PM CEST, Key ID
9e98bf3210a792ad
Packager    : D. Scott Barninger <[EMAIL PROTECTED]>
URL         : http://www.bacula.org/
Summary     : Bacula - The Network Backup Solution
Description :


My log reports the following settings:

# grep st0 /var/log/messages
Dec  3 10:49:20 server kernel: Attached scsi tape st0 at scsi1, channel 0, id 
8, lun 0
Dec  3 10:49:20 server kernel: st0: try direct i/o: yes (alignment 512 B), max 
page reachable by HBA 1048575
Dec  3 11:47:55 server scsi.agent[1132]: disk at 
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:03.0/host0/target0:0:0/0:0:0:0
Dec  3 11:47:55 server scsi.agent[1154]: disk at 
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:03.0/host0/target0:0:1/0:0:1:0
Dec  3 16:35:12 server kernel: st0: Block limits 2 - 16777215 bytes.

I have run "mt -f /dev/nst0 defblksize 0" and from reading the documentation I
am irritated as I would expect "st0: Block limits" above to be "0" instead of
the "2" in the log.

Wild speculation leads me to believe I am stuck with "Incorrect Number of
Blocks or Positioning Errors during btape Testing"
<http://www.bacula.org/dev-manual/Testing_Your_Tape_Drive.html#SECTION000383400000000000000>,
but that is really wild speculation.


Can anyone shed some light on my problem so I can understand and fix it?

Thanks,

Patrick Koetter


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to