You need to use the tape device /dev/nstX
not the generic scsi device /dev/sgX for tape software like tar, Bacula, btape,
etc. If /dev/nst0 isn’t the right device
then try /dev/nst1, etc. Anyways this is an OS problem not a Bacula
problem. From: Alan To
[mailto:[EMAIL PROTECTED]
This was the problem... ...tar, bacula and btape
all don't like /dev/sg2! Anyway, while the Sony
TapeTool happily checks/tests and read/write tapes, using tar/bacula/bconsole
etc. still give me the error (this is via bconsole's label command): -------- Connecting to Storage daemon
SonyAIT at localhost:9103 ... Sending label command for
Volume "Tue-A" Slot 0 ... block.c:782 Read error at file:blk
0:0 on device /dev/nst0. ERR=Invalid argument. block.c:552 Write error at
0:0 on device /dev/nst0. ERR=Invalid argument. askdir.c:219 NULL Volume
name. This shouldn't happen!!! 3912 Failed to label Volume:
ERR=block.c:782 Read error at file:blk
0:0 on device /dev/nst0. ERR=Invalid argument. Label command failed for
Volume Tue-A. Do not forget to mount the
drive!!! -------- Does this suggest a
hardware fault, a linux kernal fault (somewhere) and/or a Bacula fault?
Remember I have also been using other brand new (unopened) AIT-2 Tapes as well
as the cleaning tape quite a few times too. -- Many
Thanks Alan To BCo From: Robert
Nelson [mailto:[EMAIL PROTECTED] What is the problem? From: Alan To
[mailto:[EMAIL PROTECTED]
That's good to know. In that
case, is there anything wrong with my following Bacula configurations?
(Only listed relevant bits from configs.) -
bacula-sd.conf Director { Name =
"Server-dir" Password =
"********" } Device { Name = "SonyAIT" MediaType = "DDS" ArchiveDevice =
"/dev/nst0" LabelMedia = "yes" RandomAccess =
"no" AutomaticMount =
"yes" RemovableMedia =
"yes" AlwaysOpen = "yes" MaximumVolumeSize = 130GB } -
bacula-dir.conf Storage { Name = "SonyAIT" Address = "localhost" SDport = 9103 Password = "********" Device = "SonyAIT" MediaType = "DDS" } Job { Name = "2006_BCo_Scheduled_Backup" Type = "Backup" Level = "Full" Client = "Server-fd" FileSet = "BCo_All_Files" Storage = "USB2" Messages = "Standard" Pool = "Default" Priority = "10" Schedule = "2006BCoCycle" RunBeforeJob = /usr/bacula/backup_script-Catalog.sh RunAfterJob = rm -f /var/bacula/BCo_Scheduled_Backup.sql } Schedule { Name = "2006BCoCycle" Run = Level=Full Storage="USB2"
FullPool="FullPool" mon at 21:30 Run = Level=Differential Storage="SonyAIT"
DifferentialPool="DiffPool" tue-fri at 21:30 } --
Regards Alan To BCo From: Robert
Nelson [mailto:[EMAIL PROTECTED] Yes
Bacula works great with all the AIT drives. I have tested it with AIT1,
AIT2, and AIT3 based changers. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan To Hi All Just a quickie concerning my Bacula
mishaps: Is Bacula compatible with my Sony
SDX-520C AIT2 Tape Drive? I'm running Bacula 1.36 that comes
with ClarkConnect Office Edition 3.2r1, Kernal Version 2.6.9-28.ccsmp (SMP). (Server-dir Version: 1.36.2 (28
February 2005) i686-redhat-linux-gnu redhat.) I'm relunctant to upgrade Bacula to
the latest (Beta) version, as my current version of Bacula was installed with
the ClarkConnect kernal/front-end; and I don't know how to install/upgrade
properly anyway. Many Thanks Alan
To
|
------------------------------------------------------------------------- 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 Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users