Hello all,
I'm looking to figure out why my autoloader won't autoload with bacula.
I'm running FreeBSD 5.4 with Bacula 1.36.2.
The changer is an HP 1x9 DLT IV loader.
I'm using the mtx-changer script with the appropriate substitution of
'seq' for 'jot', [although I've also used it with a platform
non-specific perl command that I'll post later].
mtx and mtx-changer work fine and load tapes correctly.
Using the btape test for both the drive and the changer work fine.
I've labeled tapes, no prob.
What doesn't work is when I'm running a job, the drive hits the end of
the tape and just requests a new tape. I'm looking to make the "auto"
part of "autoloader" work.
Any tips?
Here's the exact output from the bconsole:
000000000000000000000000000000000000000000
Device status:
[snip]
Device "/dev/nsa0" is mounted with Volume "bacula1"
Total Bytes=41,459,662,243 Blocks=642,667 Bytes/block=64,511
Positioned at File=42 Block=15,342
16-Jun 12:35 dmzbackup-sd: End of Volume "bacula1" at 42:15342 on device
/dev/nsa0
000000000000
Device "/dev/nsa0" open but no Bacula volume is mounted.
Device is BLOCKED waiting for appendable media.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
16-Jun 12:36 dmzbackup-sd: End of medium on Volume "bacula1"
Bytes=41,459,662,24
16-Jun 12:36 dmzbackup-sd: Job beige.2005-06-16_10.00.20 waiting. Cannot
find an [...cut off - I believe this should say cannot find an apendable
archive or something]
000000000000000000000000000000000000000000
Here's the appropriate Storage and Director settings:
+++++++++++++++++++++++++++++++++++++++++
Device {
Name = HP-Library
Description = "9 slot HP Library"
Media Type = DLT
Archive Device = /dev/nsa0
AutomaticMount = yes; # when device opened, read it
LabelMedia = yes; # lets Bacula label unlabeled media
AlwaysOpen = yes
AutoChanger = yes
Changer Command = "/usr/local/sbin/mtx-changer %c %o %S %a %d"
Changer Device = /dev/pass0
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
}
+++++++++++
JobDefs {
Name = "UNIXTapeJob-full"
Type = Backup
Level = Full
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = HPLoader
Messages = Standard
Pool = Default
Priority = 10
}
+++++++++++
Job {
Name = "beige"
# JobDefs = "JailJob-incr"
# JobDefs = "UNIXJob-incr"
JobDefs = "UNIXTapeJob-full"
Client = beige-fd
Write Bootstrap = "/var/db/bacula/beige.bsr"
}
+++++++++++
Storage {
Name = HPLoader
# Do not use "localhost" here
Address = dmzbackup # N.B. Use a fully qualified name here
SDPort = 9103
Password = "rVep0Pkg/+cmVMp1ve3G+QD8NY0uCtPXf1jS7BzWOv7k"
# Password = "i7HrvPzNvmdgdqLUh3gUb/7+c1vsB3Nae4ss3nLT4RQL" #
password for FileDaemon
Device = HP-Library
Media Type = DLT
}
+++++++++++++++++++++++++++++++++++++++++++
Help.
Thanks.
-E-
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users