Hello,

On 16.09.2005 03:27, Josh Endries wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ugh, this is so frustrating.

No, you're using beta software...

Now Bacula won't load any tapes from my
autochanger to write to...and I still can't get btape to run. If I
load a tape manually, then run a job in bconsole, it works.

Have you tried the new autochanger setup method?

Arno

If I
start a job without any tape loaded, it never tries to load a tape;
it just checks for loaded tapes and then dies. Here is what I get
(the three my-changer lines are from a background tail of an outfile
my script sends to):

OK to run? (yes/mod/no): yes
Job started. JobId=34
*
*
15-Sep 20:59 backup-dir: sql_find.c:126 No Job record found: ERR=
CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND
Level='F' AND Name='www.client.com Daily Backup' AND ClientId=2 AND
FileSetId=2 ORDER BY StartTime DESC LIMIT 1
15-Sep 20:59 backup-dir: No prior or suitable Full backup found.
Doing FULL backup.
15-Sep 20:59 backup-dir: Start Backup JobId 34,
Job=www.client.com_Daily_Backup.2005-09-15_20.59.57
*
*Thu Sep 15 21:00:03 EDT 2005: /usr/local/share/bacula/my-changer
/dev/pass0 loaded 7 /dev/nsa0 0
Thu Sep 15 21:00:05 EDT 2005: /usr/local/share/bacula/my-changer
/dev/pass0 loaded 7 /dev/nsa0 0
Thu Sep 15 21:00:06 EDT 2005: /usr/local/share/bacula/my-changer
/dev/pass0 loaded 0 /dev/nsa0 0

15-Sep 21:00 backup.server.com: 3301 Issuing autochanger "loaded
drive 0" command.
15-Sep 21:00 backup.server.com: 3302 Autochanger "loaded drive 0",
result: nothing loaded.
15-Sep 21:00 backup.server.com: 3301 Issuing autochanger "loaded
drive 0" command.
15-Sep 21:00 backup.server.com: 3302 Autochanger "loaded drive 0",
result: nothing loaded.
15-Sep 21:00 backup.server.com: 3301 Issuing autochanger "loaded
drive 0" command.
15-Sep 21:00 backup.server.com: 3302 Autochanger "loaded drive 0",
result: nothing loaded.
15-Sep 21:00 backup.server.com:
www.client.com_Daily_Backup.2005-09-15_20.59.57 Fatal error:
device.c:303 Unable to open device "EXABYTE VXA AutoPak 1x10 E33a"
(/dev/nsa0): ERR=dev.c:377 Unable to open device "EXABYTE VXA AutoPak
1x10 E33a" (/dev/nsa0): ERR=Device not configured

15-Sep 20:13 www.client.com:
www.client.com_Daily_Backup.2005-09-15_20.59.57 Fatal error:
job.c:1665 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

15-Sep 21:00 backup-dir:
www.client.com_Daily_Backup.2005-09-15_20.59.57 Error: Bacula 1.37.38
(04Sep05): 15-Sep-2005 21:00:07
  JobId:                  34
  Job:                    www.client.com_Daily_Backup.2005-09-15_20.59.57
  Backup Level:           Full (upgraded from Differential)
  Client:                 "www.client.com"
i386-portbld-freebsd5.0,freebsd,5.0-RELEASE
  FileSet:                "www.client.com" 2005-09-14 01:00:01
  Pool:                   "Weekly"
  Storage:                "EXABYTE VXA AutoPak 1x10 E33a"
  Scheduled time:         15-Sep-2005 20:59:56
  Start time:             15-Sep-2005 20:59:59
  End time:               15-Sep-2005 21:00:07
  Priority:               1
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0
  SD Bytes Written:       0
  Rate:                   0.0 KB/s
  Software Compression:   None
  Volume name(s):
  Volume Session Id:      1
  Volume Session Time:    1126832338
  Last Volume Bytes:      487,961,577
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***

No idea why it doesn't attempt to load a tape...

Device {
        Name = "EXABYTE VXA AutoPak 1x10 E33a"
        Archive Device = /dev/nsa0
        Media Type = "ECRIX VXA-1 2B7B"
        Autochanger = Yes
        Changer Device = /dev/pass0
        Changer Command = "/usr/local/share/bacula/my-changer %c %o
%S %a %d"
        Automatic Mount = yes
        Always Open = yes
        Removable media = Yes
        Random Access = no
        Spool Directory = "/usr/bacula"
        Maximum Spool Size = 10gb
        Label Media = no
        Hardware end of file = no
        Hardware end of medium = no
        Offline on unmount = yes
        BSF at EOM = yes
        TWO EOF = yes
        Backward Space Record = no
        Backward Space File = no
        Fast Forward Space File = no;
}

Josh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDKh+YV/+PyAj2L+IRAnuUAJ9nLP+bpxE/WA7Gnd9eYDyj4FL3DACeKhkP
Jpo9zGBo7Q+y5MaTbGcS9mk=
=sZIw
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to