Hello,
On 1/24/2006 10:09 PM, Andreas Freyvogel wrote:
Greetings everyone,
We have recently been having a problem where Bacula is no longer
automatically changing tapes and it is requiring manual intervention. Below
is what I see in the logs:
24-Jan 12:08 storage: End of Volume "CUZ277" at 64:8114 on device
"DLT8000-2" (/dev/sa1). Write of 64512 bytes got 0.
24-Jan 12:08 storage: End of medium on Volume "CUZ277" Bytes=58,715,185,981
Blocks=910,158 at 24-Jan-2006 12:08.
24-Jan 12:09 director: Pruned 1 Job on Volume "BZF282" from catalog.
...
24-Jan 12:11 storage: Please mount Volume "CUZ306" on Storage Device
"DLT8000-2" (/dev/sa1) for Job webhosting1.2006-01-24_05.00.13
<<<
We are running bacula 1.38.2 (recently upgraded from 1.36.3 where this used
to work) on FreeBSD 5.4 and the tape drives (Quantum DLT8000) are within an
ATL (96 slot) Autochanger.
Ok, that's the hint... you recently upgraded.
First, verify that you've got the necessary and newly introduced
Autochanger section in SD configuration. If you've not got that, you
have to kill your running jobs :-| because the SD needs a restart after
that modification. (And remember to do the full btape test routine after
modifying the SD configuration...)
Apart from that, I guess the catalog is not yet in the right state, i.e.
the relationship between the Media information Slot and InChanger and
the newly created StorageId is not correct.
Try to clear all changer-related information from the catalog, for
example using a sql query like 'update Media set Slot=0,InChanger=0;'
and do an 'update slots' afterwards. Should work, then.
Arno
From what I can see everything is set up correctly. Also, I am able to run
the load, unload, loaded commands from the command prompt (using
chio-bacula) successfully.
Our configuration files include:
--------------
Director.conf:
--------------
Storage {
Name = DLT8000-1
Address = xxx.xxx.xxx.xxx
SDPort = 9103
Password = "quiGfr+aOr7e/v7a8ghWsIsmV7zTocCadJKR3puuHj1c"
Device = DLT8000-1
Media Type = DLT8000
Maximum Concurrent Jobs = 8
}
Storage {
Name = DLT8000-1-local
Address = xxx.xxx.xxx.xxx
SDPort = 9103
Password = "quiGfr+aOr7e/v7a8ghWsIsmV7zTocCadJKR3puuHj1c"
Device = DLT8000-1
Media Type = DLT8000
Maximum Concurrent Jobs = 8
}
Storage {
Name = DLT8000-2
Address = xxx.xxx.xxx.xxx
SDPort = 9103
Password = "quiGfr+aOr7e/v7a8ghWsIsmV7zTocCadJKR3puuHj1c"
Device = DLT8000-2
Media Type = DLT8000
Maximum Concurrent Jobs = 8
}
Storage {
Name = DLT8000-2-local
Address = xxx.xxx.xxx.xxx
SDPort = 9103
Password = "quiGfr+aOr7e/v7a8ghWsIsmV7zTocCadJKR3puuHj1c"
Device = DLT8000-2
Media Type = DLT8000
Maximum Concurrent Jobs = 8
}
<<<
-------------
Storage.conf:
-------------
#
# The DLT 8000 Drives
#
Device {
Name = DLT8000-1
Description = "DLT8000-1"
Media Type = DLT8000
Changer Command = "/usr/local/bacula/scripts/chio-bacula %c %o %s %d"
Changer Device = /dev/ch0
AutoChanger = yes
Archive Device = /dev/sa0
AutomaticMount = yes;
AlwaysOpen = yes
Offline On Unmount = no
Volume Poll Interval = 3600
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Drive Index = 0
Spool Directory = /spool
Maximum Job Spool Size = 8G
Maximum Spool Size = 120G
Maximum Changer Wait = 600
}
Device {
Name = DLT8000-2
Description = "DLT8000-2"
Media Type = DLT8000
Changer Command = "/usr/local/bacula/scripts/chio-bacula %c %o %s %d"
Changer Device = /dev/ch0
AutoChanger = yes
Archive Device = /dev/sa1
AutomaticMount = yes;
AlwaysOpen = yes
Offline On Unmount = no
Volume Poll Interval = 3600
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Drive Index = 1
Spool Directory = /spool
Maximum Job Spool Size = 8G
Maximum Spool Size = 120G
Maximum Changer Wait = 600
}
<<<
Any advice, ideas or assistance would be greatly appreciated. Thank you in
advance.
-Andreas
----------------------------------------------------------------
Andreas Freyvogel |
System Administrator | "To do is to be." -- Plato
|
Uniserve Communications Corp. | "To be is to do." -- Kant
direct: 604.647.0602 |
cell: 604.308.2497 | "Do be do be do." -- Sinatra
Fax: 604-687-8130 |
-----------------------------------------------------------------
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users