Hi Iban, I guess that in your Storage Daemon configuration there are two devices types: tape drive LTO-3 and tape drive LTO-5 (from one autochanger device).
First thing which I noticed in this are two the same Device Index directive set to 0. Device Index from one autochanger usually should be incremented +1 for each autochanger device. Second thing is Media Type directive. I understand that you use both LTO-3 and LTO-5 tapes but my question is: Was one tape device busy when you ran restore command? If yes, then please tell me if that was the same device on which you ran restore? (I am thinking about using "Autoselect = no" directive for Device resources) Regards. Marcin Haba (gani) 2013/4/12 Iban Cabrillo <cabri...@ifca.unican.es>: > Hi, > Since a couple of days I have problems when I try to restore a backup I > get this error in the log : > > bacula-dir Fatal error: Could not get storage resource 'TSM3500'. > > > > Error: Bacula bacula-dir 5.2.6 (21Feb12): > > Build OS: x86_64-pc-linux-gnu debian 7.0 > > JobId: 1579 > > Job: RestoreFiles.2013-04-12_13.17.20_22 > > Restore Client: bacula-fd > > Start time: 12-abr-2013 13:17:22 > > End time: 12-abr-2013 13:17:22 > > Files Expected: 62,982 > > Files Restored: 0 > > Bytes Restored: 0 > > Rate: 0.0 KB/s > > FD Errors: 1 > > FD termination status: > > SD termination status: Error > > Termination: *** Restore Error *** > > > > Error: Bacula bacula-dir 5.2.6 (21Feb12): > > Build OS: x86_64-pc-linux-gnu debian 7.0 > > JobId: 1579 > > Job: RestoreFiles.2013-04-12_13.17.20_22 > > Restore Client: bacula-fd > > Start time: 12-abr-2013 13:17:22 > > End time: 12-abr-2013 13:17:22 > > Files Expected: 62,982 > > Files Restored: 0 > > Bytes Restored: 0 > > Rate: 0.0 KB/s > > FD Errors: 2 > > FD termination status: > > SD termination status: Error > > Termination: *** Restore Error *** > > Start Restore Job RestoreFiles.2013-04-12_13.17.20_22 > > bacula-fd Fatal error: job.c:2390 Bad response to Read Data command. Wanted > 3000 OK data > > , got 3000 error > > bacula-sd Fatal error: No Volume names found for restore. > > bacula-dir Warning: Could not get storage resource 'TSM3500'. > > Using Device "ULT3580-TD3" > > > the storages contains: > > Storage { > Name = TSM3500-LTO3 > Address = 10.10.0.22 > SDPort = 9103 > Password = "xxxxxxxxxxxxxxxxxxx" > Device = ULT3580-TD3 > Media Type = LTO-3 > Autochanger = yes > Maximum Concurrent Jobs = 1 > } > > Storage { > Name = TSM3500-LTO5 > Address = 10.10.0.22 > SDPort = 9103 > Password = "xxxxxxxxxxxxxxxxxxxxxx" > Device = ULT3580-TD5 > Media Type = LTO-5 > Autochanger = yes > Maximum Concurrent Jobs = 1 > } > > and in the bacula-sd > > Autochanger { > Name = TSM3500 > Device = ULT3580-TD3 > Device = ULT3580-TD5 > Changer Device = /dev/sg7 > Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" > # %c = changer device > # %o = command (unload|load|loaded|list|slots) > # %S = slot index (1-based) > # %a = archive device (i.e., /dev/sd* name for tape > drive) > # %d = drive index (0-based) > } > > Device { > # The TSM3100's first tape drive > Name = ULT3580-TD3 > Archive Device = /dev/nst0 > Device Type = Tape > Media Type = LTO-3 > Autochanger = Yes > # Changer Device = <inherited from Changer> > Alert Command = "sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n > /TapeAlert/p" > Drive Index = 0 > RemovableMedia = yes > Random Access = no > Maximum Block Size = 262144 > Maximum Network Buffer Size = 262144 > Maximum Spool Size = 80gb > Maximum Job Spool Size = 40gb > Spool Directory = /backup/spool > AutomaticMount = Yes; > } > > Device { > # The TSM3100's second tape drive > Name = ULT3580-TD5 > Archive Device = /dev/nst1 > Device Type = Tape > Media Type = LTO-5 > Autochanger = Yes > # Changer Device = <inherited from Changer> > Alert Command = "sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n > /TapeAlert/p" > Drive Index = 0 > RemovableMedia = yes > Random Access = no > Maximum Block Size = 262144 > Maximum Network Buffer Size = 262144 > Maximum Spool Size = 80gb > Maximum Job Spool Size = 40gb > Spool Directory = /backup/spool > AutomaticMount = Yes; > } > > The backup process works fine an i can nevegate through the backuped > directories. > > Any Idea? > -- > #################################### > Iban Cabrillo Bartolome > Instituto de Fisica de Cantabria (IFCA) > Santander, Spain > Tel: +34942200969 > #################################### > Bertrand Russell: > "El problema con el mundo es que los estúpidos están seguros de todo y los > inteligentes están llenos de dudas" > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users