[Bacula-users] Connection Reset after Spooling Data again
Hi all, we have some trouble with Spooling Data between a Ubuntu 12.04 (bacula-fd) and Debian 7.4 (bacula-sd) Server. The Ubuntu 12.04 Client make a Connection reset after Despooling the first Data to Tape. Max Spool Size is 50GB Ubuntu: bacula-fd 5.2.5-0ubuntu6.2 Debian: bacula-sd 5.2.6+dfsg-9 13- Feb 11 :57 alfresco-xxx-fd JobId 5236: Could not stat "/opt/alfresco-4.2.c/alf_data/solr/workspace/SpacesStore/index/segments_fv5": ERR=No such file or directory 13- Feb 13 :28 de496200s00012-sd JobId 5236: User specified spool size reached. 13- Feb 13 :28 de496200s00012-sd JobId 5236: Writing spooled data to Volume. Despooling 53,688,295,218 bytes ... 13- Feb 13 :40 de496200s00012-sd JobId 5236: Despooling elapsed time = 00:11:19, Transfer rate = 79.06 M Bytes/second 13- Feb 13 :40 de496200s00012-sd JobId 5236: Spooling data again ... 13- Feb 13 :54 alfresco-xxx-fd JobId 5236: Error: bsock.c:389 Write error sending 41335 bytes to Storage daemon e496200s00012.de496200.vw-group.com:9103: ERR=Connection reset by peer 13- Feb 13 :54 alfresco-xxx-fd JobId 5236: Fatal error: backup.c:1190 Network send error to SD. ERR=Connection reset by peer 13- Feb 13 :55 de496200s00012-dir JobId 5236: Error: Bacula de496200s00012-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 5236 Job: alfresco-xxx.2014-02-13_11.44.56_05 Backup Level: Full Client: "alfresco-xxx-fd" 5.2.5 (26Jan12) x86_64-pc-linux-gnu,ubuntu,12.04 FileSet: "AlfrescoFileSet" 2011-09-21 02 :00:01 Pool: "MittwochPool" (From User input) Catalog: "MyCatalog" (From Client resource) Storage: "IBMLTO4-dir" (From Job resource) Scheduled time: 13-Feb-2014 11:44:41 Start time: 13-Feb-2014 11:44:59 End time: 13-Feb-2014 13:55:03 Elapsed time: 2 hours 10 mins 4 secs Priority: 10 FD Files Written: 1,038,895 SD Files Written: 0 FD Bytes Written: 58,977,726,885 (58.97 GB) SD Bytes Written: 0 (0 B) Rate: 7557.4 KB/s Software Compression: 42.4 % VSS: no Encryption: no Accurate: no Volume name(s): MITT01 Volume Session Id: 1 Volume Session Time: 1392288105 Last Volume Bytes: 629,133,685,433 (629.1 GB) Non-fatal FD errors: 2 SD Errors: 0 FD termination status: Error SD termination status: Error Termination: *** Backup Error *** Any Idea? regards Tobias -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cant run full backups
I solved it. They where about 5-6 jobs with running state on a few bacula filer daemons. After restarting the fd and the bacula-director the problem was gone. The Jobs are not displayed on the bacula-director. Am 23.08.2012 13:42, schrieb Luis H. Forchesatto: Can you pout the contents of /var/log/bacula/log here after the backup starts? Also do # bconsole > status > storage and post the status of the used storage here. 2012/8/23 Tobias Dinse <mailto:tobias.di...@stegbauer.info>> Hi all, since a few days I have a strange Problem with running Full Backups on Debian 6 with Bacula 5.0.2-2.2. All differential Backups are running fine. If I run an Full Job Bacula says "using storage..." (same storage for diff backups) and hangs up there. It puts no Media from Full / Scratchpool and do nothing till the max rune time is exceeded. The Configuration works fine for about a year without any changes in this time. We are using external Hard Disks as an autochanger Device. regards Tobias -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users -- Att.* * -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] cant run full backups
Hi all, since a few days I have a strange Problem with running Full Backups on Debian 6 with Bacula 5.0.2-2.2. All differential Backups are running fine. If I run an Full Job Bacula says "using storage..." (same storage for diff backups) and hangs up there. It puts no Media from Full / Scratchpool and do nothing till the max rune time is exceeded. The Configuration works fine for about a year without any changes in this time. We are using external Hard Disks as an autochanger Device. regards Tobias -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-sd: Bacula interrupted by signal 11: Segmentation violation
Ok, here are the parts of our Configuration Files. Tobias Am 26.07.2012 20:24, schrieb Martin Simmons: Yes, that's better. I think this can be caused by a mismatch between the Director or SD configs. Can you post the Storage, Device and Autochanger sections from the bacula-dir.conf and bacula-sd.conf? __Martin On Wed, 25 Jul 2012 15:52:19 +0200, Tobias Dinse said: Ok, I compiled our 5.0.2 Version of Bacula and attached the new report. I hope this time its better bu I can still see an . I also tried to use 5.2.10 with 2 test machines. Both give the same error as 5.0.2 :( regards Tobias Am 24.07.2012 19:45, schrieb Martin Simmons: That's good, but unfortunately the backtrace doesn't show the function names. Can you recompile bacula with debugging options (just set CFLAGS="-g" in the environment before running configure). Also, have you considered upgrading both Director and SD to 5.2.10? __Martin On Mon, 23 Jul 2012 09:38:44 +0200, Tobias Dinse said: Hi, the Debug Informations are on the Attachment. It create it manually like it was shown on the Bacula Homepage. regards Tobias Am 20.07.2012 20:11, schrieb Martin Simmons: On Fri, 20 Jul 2012 09:41:26 +0200, Tobias Dinse said: Syslog on sd: Jul 20 09:35:30 lx03-baculasd-ourcustomer bacula-sd: Bacula interrupted by signal 11: Segmentation violation after getting this error Msg the sd-service crashing down The next step is to attach gdb to the bacula-sd process before it crashes and then get backtraces with "thread apply all bt". You may need to recompile it with debugging options (CFLAGS="-g"). __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach Director {# define myself Name = lx02-ourcustomer-dir DIRport = 9101# where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 1 Password = "our-dir-pw" # Console password Messages = Daemon #DirAddress = 127.0.0.1 } Storage { Name = IBM-LTO3-dir #Do not use "localhost" here Address = 192.168.2.10# N.B. Use a fully qualified name here SDPort = 9103 Password = "our-sd-pw" # password for Storage daemon Device = IBM-LTO3-sd Media Type = LTO3 # must be same as MediaType in Storage daemon Autochanger = no # enable for autochanger device } Storage { # definition of myself Name = lx03-baculasd-ourcustomer-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/var/run/bacula" Maximum Concurrent Jobs = 20 SDAddress = 0.0.0.0 } Director { Name = lx02-ourcustomer-dir Password = "our-sd-pw" } Messages { Name = Standard director = lx02-ourcustomer-dir = all } Device { Name = IBM-LTO
Re: [Bacula-users] bacula-sd: Bacula interrupted by signal 11: Segmentation violation
Ok, I compiled our 5.0.2 Version of Bacula and attached the new report. I hope this time its better bu I can still see an . I also tried to use 5.2.10 with 2 test machines. Both give the same error as 5.0.2 :( regards Tobias Am 24.07.2012 19:45, schrieb Martin Simmons: That's good, but unfortunately the backtrace doesn't show the function names. Can you recompile bacula with debugging options (just set CFLAGS="-g" in the environment before running configure). Also, have you considered upgrading both Director and SD to 5.2.10? __Martin On Mon, 23 Jul 2012 09:38:44 +0200, Tobias Dinse said: Hi, the Debug Informations are on the Attachment. It create it manually like it was shown on the Bacula Homepage. regards Tobias Am 20.07.2012 20:11, schrieb Martin Simmons: On Fri, 20 Jul 2012 09:41:26 +0200, Tobias Dinse said: Syslog on sd: Jul 20 09:35:30 lx03-baculasd-ourcustomer bacula-sd: Bacula interrupted by signal 11: Segmentation violation after getting this error Msg the sd-service crashing down The next step is to attach gdb to the bacula-sd process before it crashes and then get backtraces with "thread apply all bt". You may need to recompile it with debugging options (CFLAGS="-g"). __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach root@lx03-baculasd-ourcustomer:/sbin# gdb ./bacula-sd GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /sbin/bacula-sd...done. (gdb) run -s -f -c /usr/src/own/bacula-sd.conf Starting program: /sbin/bacula-sd -s -f -c /usr/src/own/bacula-sd.conf [Thread debugging using libthread_db enabled] [New Thread 0x76645700 (LWP 28687)] [New Thread 0x75e44700 (LWP 28688)] [Thread 0x76645700 (LWP 28687) exited] [New Thread 0x76645700 (LWP 28689)] [Thread 0x76645700 (LWP 28689) exited] [New Thread 0x76645700 (LWP 28690)] [Thread 0x76645700 (LWP 28690) exited] [New Thread 0x76645700 (LWP 28705)] [Thread 0x76645700 (LWP 28705) exited] [New Thread 0x76645700 (LWP 28706)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x76645700 (LWP 28706)] 0x00432693 in is_vol_in_autochanger (jcr=, rctx=...) at reserve.c:389 389if (strcmp(rctx.device_name, changer->hdr.name) == 0) { Current language: auto The current source language is "auto; currently c++". (gdb) thread apply all bt Thread 7 (Thread 0x76645700 (LWP 28706)): #0 0x00432693 in is_vol_in_autochanger (jcr=, rctx=...) at reserve.c:389 #1 find_suitable_device_for_job (jcr=, rctx=...) at reserve.c:456 #2 0x00433182 in use_storage_cmd (jcr=0x656568) at reserve.c:317 #3 use_cmd (jcr=0x656568) at reserve.c:71 #4 0x0041f28f in handle_connection_request (arg=) at dircmd.c:233 #5 0x775aa829 in workq_server (arg=) at workq.c:346 #6 0x7735e8ca in start_thread () from /lib/libpthread.so.0 #7 0x7671592d in clone () from /lib/libc.so.6 #8 0x in ?? () Thread 3 (Thread 0x75e44700 (LWP 28688)): #0 0x77363569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x775aa398 in watchdog_thread (arg=) at watchdog.c:308 #2 0x7735e8
Re: [Bacula-users] bacula-sd: Bacula interrupted by signal 11: Segmentation violation
Hi, the Debug Informations are on the Attachment. It create it manually like it was shown on the Bacula Homepage. regards Tobias Am 20.07.2012 20:11, schrieb Martin Simmons: On Fri, 20 Jul 2012 09:41:26 +0200, Tobias Dinse said: Syslog on sd: Jul 20 09:35:30 lx03-baculasd-ourcustomer bacula-sd: Bacula interrupted by signal 11: Segmentation violation after getting this error Msg the sd-service crashing down The next step is to attach gdb to the bacula-sd process before it crashes and then get backtraces with "thread apply all bt". You may need to recompile it with debugging options (CFLAGS="-g"). __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach root@lx03-baculasd-ourcustomer:/usr/sbin# gdb ./bacula-sd GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/sbin/bacula-sd...(no debugging symbols found)...done. (gdb) run -s -f -c /etc/bacula/bacula-sd.conf Starting program: /usr/sbin/bacula-sd -s -f -c /etc/bacula/bacula-sd.conf [Thread debugging using libthread_db enabled] [New Thread 0x74f5b700 (LWP 10666)] [New Thread 0x7475a700 (LWP 10667)] [New Thread 0x73f59700 (LWP 10668)] [Thread 0x74f5b700 (LWP 10666) exited] [Thread 0x73f59700 (LWP 10668) exited] [New Thread 0x73f59700 (LWP 10669)] [Thread 0x73f59700 (LWP 10669) exited] [New Thread 0x73f59700 (LWP 10671)] [Thread 0x73f59700 (LWP 10671) exited] [New Thread 0x73f59700 (LWP 10672)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x73f59700 (LWP 10672)] 0x00433f2c in ?? () (gdb) thread apply all bt Thread 7 (Thread 0x73f59700 (LWP 10672)): #0 0x00433f2c in ?? () #1 0x00434f82 in ?? () #2 0x0042172f in ?? () #3 0x7719a869 in workq_server () from /usr/lib/bacula/libbac-5.0.1.so #4 0x7668b8ca in start_thread () from /lib/libpthread.so.0 #5 0x7524392d in clone () from /lib/libc.so.6 #6 0x in ?? () Thread 3 (Thread 0x7475a700 (LWP 10667)): #0 0x76690569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x7719a3d8 in watchdog_thread () from /usr/lib/bacula/libbac-5.0.1.so #2 0x7668b8ca in start_thread () from /lib/libpthread.so.0 #3 0x7524392d in clone () from /lib/libc.so.6 #4 0x in ?? () Thread 1 (Thread 0x77feb720 (LWP 10662)): #0 0x7523d1a3 in select () from /lib/libc.so.6 #1 0x771739f1 in bnet_thread_server(dlist*, int, workq_tag*, void* (*)(void*)) () from /usr/lib/bacula/libbac-5.0.1.so #2 0x00408b82 in ?? () #3 0x75192c8d in __libc_start_main () from /lib/libc.so.6 #4 0x00407879 in ?? () #5 0x7fffe728 in ?? () #6 0x001c in ?? () #7 0x0005 in ?? () #8 0x7fffe95d in ?? () #9 0x7fffe971 in ?? () #10 0x7fffe974 in ?? () #11 0x7fffe977 in ?? () #12 0x7fffe97a in ?? () #13 0x in ?? () -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-sd: Bacula interrupted by signal 11: Segmentation violation
on the director: ii bacula-director-common 5.0.2-2.2+b1network backup, recovery and verification - Director common files ii bacula-director-mysql 5.0.2-2.2+b1network backup, recovery and verification - MySQL storage for Director on sd: ii bacula-common 5.2.6+dfsg-1~bpo60+1 network backup, recovery and verification - common support files ii bacula-common-mysql 5.2.6+dfsg-1~bpo60+1 network backup, recovery and verification - MySQL common files ii bacula-sd 5.2.6+dfsg-1~bpo60+1 network backup, recovery and verification - storage daemon ii bacula-sd-mysql 5.2.6+dfsg-1~bpo60+1 network backup, recovery and verification - MySQL SD tools It was my own fail. I tried to use an newer Version of bacula-sd to avoid the segmentation error. The true Error Msg of bacula-dir with the same versions on both side: 20-Jul 09:35 lx02-oracle-ourcustomer-dir JobId 4147: Start Backup JobId 4147, Job=lx01-gw01-ourcustomer.2012-07-20_09.35.31_18 20-Jul 09:35 lx02-oracle-ourcustomer-dir JobId 4147: Fatal error: Storage daemon didn't accept Device "IBM-LTO3-sd" command. 20-Jul 09:35 lx02-oracle-ourcustomer-dir JobId 4147: Error: Bacula lx02-oracle-ourcustomer-dir 5.0.2 (28Apr10): 20-Jul-2012 09:35:33 Build OS: i486-pc-linux-gnu debian squeeze/sid JobId: 4147 Job:lx01-gw01-ourcustomer.2012-07-20_09.35.31_18 Backup Level: Full Client: "lx01-gw01-ourcustomer-fd" 5.0.2 (28Apr10) i486-pc-linux-gnu,debian,squeeze/sid FileSet:"Full Set" 2007-05-22 17:14:12 Pool: "DonnerstagPool" (From User input) Catalog:"MyCatalog" (From Client resource) Storage:"IBM-LTO3-dir" (From Job resource) Scheduled time: 20-Jul-2012 09:35:27 Start time: 20-Jul-2012 09:35:33 End time: 20-Jul-2012 09:35:33 Elapsed time: 0 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): Volume Session Id: 1 Volume Session Time:1342769650 Last Volume Bytes: 64,512 (64.51 KB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: SD termination status: Termination:*** Backup Error *** Syslog on sd: Jul 20 09:35:30 lx03-baculasd-ourcustomer bacula-sd: Bacula interrupted by signal 11: Segmentation violation after getting this error Msg the sd-service crashing down ps xa|grep bacula-sd 3897 pts/1S+ 0:00 grep bacula-sd regards Tobias Am 19.07.2012 21:35, schrieb Dan Langille: > On 2012-07-19 13:11, Martin Simmons wrote: >>>>>>> On Thu, 19 Jul 2012 11:35:16 +0200, Tobias Dinse said: >>> yesterday we have moved our old physical Servers to an esxi 5 >>> Environment. I created an new VM with Debian 6 x64 - Hardware >>> passtrough >>> for the Controller (h200 / IBM LTO3 Streamer) and bacula-sd-mysql >>> Version 5.2.6 >>> >>> I can label / mount all Volumes fine. But if I start an Backup Job >>> the >>> bacula-sd services crasehs with the follow messages: >>> ... >>> lx03-baculasd-ourcustomer-sd: job.c:95-0>dird: 3915 Bad Job >>> command. stat=-1 CMD: JobId=4143 >>> job=lx01-gw01-ourcustomer.2012-07-19_11.24.06_08 >>> job_name=lx01-gw01-ourcustomer client_name=lx01-gw01-ourcustomer-fd >>> type=66 level=70 FileSet=FullSet NoAttr=0 SpoolAttr=0 >>> FileSetMD5=uRUmnm122BMpY7QWJj/eCC SpoolData=1 WritePartAfterJob=1 >>> PreferMountedVols=1 SpoolSize=0 Resched=2616184 >> Looks like you need to upgrade the version of Bacula that is running >> the >> bacula-dir to 5.2.6 as well (or both to 5.2.10). > The issue: both bacula-dir and bacula-sd *MUST ALWAYS* be the same > version. > > The clue is the 'Bad Job command', which means the SD was asking to do > something it did not understand. > > Have you put both the SD and the DIR to the same version? > > Did that fix the problem? > -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has ch
[Bacula-users] bacula-sd: Bacula interrupted by signal 11: Segmentation violation
Hi all, yesterday we have moved our old physical Servers to an esxi 5 Environment. I created an new VM with Debian 6 x64 - Hardware passtrough for the Controller (h200 / IBM LTO3 Streamer) and bacula-sd-mysql Version 5.2.6 I can label / mount all Volumes fine. But if I start an Backup Job the bacula-sd services crasehs with the follow messages: *bacula-dir error messages:* 19-Jul 11:24 lx02-oracle-ourcustomer-dir JobId 4143: Start Backup JobId 4143, Job=lx01-gw01-ourcustomer.2012-07-19_11.24.06_08 19-Jul 11:24 lx02-oracle-ourcustomer-dir JobId 4143: Fatal error: Storage daemon rejected Job command: 3915 Bad Job command. stat=-1 CMD: JobId=4143 job=lx01-gw01-ourcustomer.2012-07-19_11.24.06_08 job_name=lx01-gw01-ourcustomer client_name=lx01-gw01-marktl-fd type=66 level=70 FileSet=FullSet NoAttr=0 SpoolAttr=0 FileSetMD5=uRUmnm122BMpY7QWJj/eCC SpoolData=1 WritePartAfterJob=1 PreferMountedVols=1 SpoolSize=0 Resched=2616184 *syslog:* bacula-sd: Bacula interrupted by signal 11: Segmentation violation *bacula-sd Debug output:* lx03-baculasd-ourcustomer-sd: bnet.c:708-0 who=client host=192.168.2.1 port=36643 lx03-baculasd-ourcustomer-sd: dircmd.c:175-0 Conn: Hello Director lx02-oracle-ourcustomer-dir calling lx03-baculasd-ourcustomer-sd: dircmd.c:191-0 Got a DIR connection at 19-Jul-2012 11:23:48 lx03-baculasd-ourcustomer-sd: cram-md5.c:72-0 send: auth cram-md5 <547954107.1342689828@lx03-baculasd-ourcustomer-sd> ssl=0 lx03-baculasd-ourcustomer-sd: cram-md5.c:131-0 cram-get received: auth cram-md5 <1116653603.1342689828@lx02-oracle-ourcustomer-dir> ssl=0 lx03-baculasd-ourcustomer-sd: cram-md5.c:150-0 sending resp to challenge: q/+s4+/CM4RLC3+FT++4tC lx03-baculasd-ourcustomer-sd: dircmd.c:213-0 Message channel init completed. lx03-baculasd-ourcustomer-sd: dircmd.c:220-0 drive=-1 lx03-baculasd-ourcustomer-sd: dircmd.c:234-0 Do command: mount lx03-baculasd-ourcustomer-sd: dircmd.c:668-0 ok=1 drive=-1 slot=0 lx03-baculasd-ourcustomer-sd: dircmd.c:602-0 Found device IBM-LTO3-sd lx03-baculasd-ourcustomer-sd: dircmd.c:642-0 Found device IBM-LTO3-sd lx03-baculasd-ourcustomer-sd: dircmd.c:675-0 mount cmd blocked=1 must_unload=0 lx03-baculasd-ourcustomer-sd: dircmd.c:692-0 Unmounted changer=4096 slot=0 lx03-baculasd-ourcustomer-sd: dev.c:376-0 open dev: type=2 dev_name="IBM-LTO3-sd" (/dev/nst0) vol= mode=OPEN_READ_ONLY lx03-baculasd-ourcustomer-sd: dev.c:1896-0 Enter mount lx03-baculasd-ourcustomer-sd: dev.c:426-0 Open dev: device is tape lx03-baculasd-ourcustomer-sd: dev.c:441-0 Try open "IBM-LTO3-sd" (/dev/nst0) mode=OPEN_READ_ONLY lx03-baculasd-ourcustomer-sd: dev.c:463-0 Rewind after open lx03-baculasd-ourcustomer-sd: dev.c:2392-0 In set_os_device_parameters lx03-baculasd-ourcustomer-sd: dev.c:2398-0 Set block size to zero lx03-baculasd-ourcustomer-sd: dev.c:2414-0 MTSETDRVBUFFER lx03-baculasd-ourcustomer-sd: dev.c:515-0 open dev: tape 5 opened lx03-baculasd-ourcustomer-sd: dev.c:389-0 preserve=0x0 fd=5 lx03-baculasd-ourcustomer-sd: label.c:79-0 Enter read_volume_label res=0 device="IBM-LTO3-sd" (/dev/nst0) vol= dev_Vol=*NULL* lx03-baculasd-ourcustomer-sd: label.c:128-0 Big if statement in read_volume_label lx03-baculasd-ourcustomer-sd: label.c:822-0 unser_vol_label Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : MITT01L3 PrevVolName : VolFile : 0 LabelType : VOL_LABEL LabelSize : 190 PoolName : MittwochPool MediaType : LTO-3 PoolType : Backup HostName : lx03-baculasd-ourcustomer Date label written: 18-Jul-2012 16:25 lx03-baculasd-ourcustomer-sd: label.c:200-0 Compare Vol names: VolName= hdr=MITT01L3 Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : MITT01L3 PrevVolName : VolFile : 0 LabelType : VOL_LABEL LabelSize : 190 PoolName : MittwochPool MediaType : LTO-3 PoolType : Backup HostName : lx03-baculasd-ourcustomer Date label written: 18-Jul-2012 16:25 lx03-baculasd-ourcustomer-sd: label.c:221-0 Leave read_volume_label() VOL_OK lx03-baculasd-ourcustomer-sd: label.c:234-0 Call reserve_volume=MITT01L3 lx03-baculasd-ourcustomer-sd: vol_mgr.c:349-0 enter reserve_volume=MITT01L3 drive="IBM-LTO3-sd" (/dev/nst0) lx03-baculasd-ourcustomer-sd: vol_mgr.c:265-0 new Vol=MITT01L3 at 1600368 dev="IBM-LTO3-sd" (/dev/nst0) lx03-baculasd-ourcustomer-sd: vol_mgr.c:467-0 === set in_use. vol=MITT01L3 dev="IBM-LTO3-sd" (/dev/nst0) lx03-baculasd-ourcustomer-sd: vol_mgr.c:208-0 List end new volume: MITT01L3 in_use=1 on device "IBM-LTO3-sd" (/dev/nst0) lx03-baculasd-ourcustomer-sd: dircmd.c:710-0 Unmounted. Unblocking device lx03-baculasd-ourcustomer-sd: label.c:79-0 Enter read_volume_label res=0 device="IBM-LTO3-sd" (/dev/nst0) vol= dev_Vol=MITT01L3 lx03-baculasd-ourcustomer-sd: label.c:128-0 Big if statement in read_volume_label lx03-baculasd-ourcustomer-sd: label.c:8
Re: [Bacula-users] st0: Failed to read 2621440 byte block with 1999999 byte transfer.
Sry I forget the Bacula Error msg: 04-Jul 09:48 xxx-sd JobId 1723: Error: block.c:1016 Read error on fd=4 at file:blk 0:0 on device "IBMLTO4-sd" (/dev/nst0). ERR=Cannot allocate memory. On 04.07.2011 09:36, Tobias Dinse wrote: Hi, after upgrading to Debian 6.0.2 I get the Follow Error Message spams in Syslog and the Backup Fails: Jul 2 21:36:52 kernel: [473641.424960] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:41:52 kernel: [473941.486639] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:46:52 kernel: [474241.548092] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:51:52 kernel: [474541.609466] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:56:52 kernel: [474841.671004] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 22:01:52 kernel: [475141.732920] st0: Failed to read 2621440 byte block with 199 byte transfer. 199 is our configured Blocksize in the bacula Config. I cant Backup atm :( Maybe its another Error Message for the Buffer Overflow Error that I sometimes have before the Dist Upgrade: (second Error) xx kernel: [452173.632081] st: from_buffer offset overflow. xx kernel: [452173.632085] st: from_buffer offset overflow. xx kernel: [452173.632087] st: from_buffer offset overflow. It looks like the second Error is gone and the First comes. I hope someone can help me :) Thanks and Regards Tobias -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] st0: Failed to read 2621440 byte block with 1999999 byte transfer.
Hi, after upgrading to Debian 6.0.2 I get the Follow Error Message spams in Syslog and the Backup Fails: Jul 2 21:36:52 kernel: [473641.424960] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:41:52 kernel: [473941.486639] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:46:52 kernel: [474241.548092] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:51:52 kernel: [474541.609466] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 21:56:52 kernel: [474841.671004] st0: Failed to read 2621440 byte block with 199 byte transfer. Jul 2 22:01:52 kernel: [475141.732920] st0: Failed to read 2621440 byte block with 199 byte transfer. 199 is our configured Blocksize in the bacula Config. I cant Backup atm :( Maybe its another Error Message for the Buffer Overflow Error that I sometimes have before the Dist Upgrade: (second Error) xx kernel: [452173.632081] st: from_buffer offset overflow. xx kernel: [452173.632085] st: from_buffer offset overflow. xx kernel: [452173.632087] st: from_buffer offset overflow. It looks like the second Error is gone and the First comes. I hope someone can help me :) Thanks and Regards Tobias -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error
Same Problem now on other Servers kern.log: xx kernel: [451873.506638] st0: Can't allocate 199 bytetape buffer xx kernel: [452173.632081] st: from_buffer offset overflow. xx kernel: [452173.632085] st: from_buffer offset overflow. xx kernel: [452173.632087] st: from_buffer offset overflow. only a reboot helps :( bacula-sd.conf Minimum block size = 199 Maximum block size = 199 This is the only Value that we have changed. With lower Values our Backup was verry slow. We have LTO4 Tapes. Whats your Values? here is our stinit.def (only 1 line without comment header): {buffer-writes read-ahead async-writes} We made no changes to this File. tapeinfo -f /dev/st0 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULT3580-HH4 ' Revision: '97F1' Attached Changer API: No SerialNumber: '1K10044361' MinBlock: 1 MaxBlock: 16777215 SCSI ID: 0 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x48 Density Code: 0x46 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 BOP: yes Block Position: 0 Partition 0 Remaining Kbytes: -1 Partition 0 Size in Kbytes: -1 ActivePartition: 0 EarlyWarningSize: 0 regards Kernel Log: On 15.06.2011 23:08, Wolfgang Denk wrote: > Dear Tobias Dinse, > > In message<4df88a7d.1020...@stegbauer.info> you wrote: >> still the same Kernel and I/O Error: >> >> >> Jun 14 14:26:10 xx kernel: [451873.506638] st0: Can't allocate >> 199 byte tape buffer. > Why are you trying to allocate a 2 MB buffer for your tape driver? > > Bacula will write in 63 KiB blocks, so you should never need that > much. > > What does your /etc/stinit.def look like? [Or where else do you > configure your tape driver to use such buffers?] > > Best regards, > > Wolfgang Denk > -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error
tapeinfo -f /dev/st0 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULT3580-HH4 ' Revision: '97F1' Attached Changer API: No SerialNumber: '1K10044361' MinBlock: 1 MaxBlock: 16777215 SCSI ID: 0 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x48 Density Code: 0x46 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 BOP: yes Block Position: 0 Partition 0 Remaining Kbytes: -1 Partition 0 Size in Kbytes: -1 ActivePartition: 0 EarlyWarningSize: 0 up too 16MB variable Blocksize On 16.06.2011 11:51, Tobias Dinse wrote: > Hi Wolfgang, > > first thanks for your reply! > > bacula-sd.conf > > Minimum block size = 199 > Maximum block size = 199 > > This is the only Value that we have changed. With lower Values our > Backup was verry slow. We have LTO4 Tapes. Whats your Values? > > here is our stinit.def (only 1 line without comment header): > > {buffer-writes read-ahead async-writes} > > We made no changes to this File. > > regards > > Tobias > > On 15.06.2011 23:08, Wolfgang Denk wrote: >> Dear Tobias Dinse, >> >> In message<4df88a7d.1020...@stegbauer.info> you wrote: >>> still the same Kernel and I/O Error: >>> >>> >>> Jun 14 14:26:10 xx kernel: [451873.506638] st0: Can't allocate >>> 199 byte tape buffer. >> Why are you trying to allocate a 2 MB buffer for your tape driver? >> >> Bacula will write in 63 KiB blocks, so you should never need that >> much. >> >> What does your /etc/stinit.def look like? [Or where else do you >> configure your tape driver to use such buffers?] >> >> Best regards, >> >> Wolfgang Denk >> > -- > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error
Hi Wolfgang, first thanks for your reply! bacula-sd.conf Minimum block size = 199 Maximum block size = 199 This is the only Value that we have changed. With lower Values our Backup was verry slow. We have LTO4 Tapes. Whats your Values? here is our stinit.def (only 1 line without comment header): {buffer-writes read-ahead async-writes} We made no changes to this File. regards Tobias On 15.06.2011 23:08, Wolfgang Denk wrote: > Dear Tobias Dinse, > > In message<4df88a7d.1020...@stegbauer.info> you wrote: >> still the same Kernel and I/O Error: >> >> >> Jun 14 14:26:10 xx kernel: [451873.506638] st0: Can't allocate >> 199 byte tape buffer. > Why are you trying to allocate a 2 MB buffer for your tape driver? > > Bacula will write in 63 KiB blocks, so you should never need that > much. > > What does your /etc/stinit.def look like? [Or where else do you > configure your tape driver to use such buffers?] > > Best regards, > > Wolfgang Denk > -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error
Hi, still the same Kernel and I/O Error: Jun 14 14:26:10 xx kernel: [451873.506638] st0: Can't allocate 199 byte tape buffer. Jun 14 14:31:10 xx kernel: [452173.632081] st: from_buffer offset overflow. Jun 14 14:31:10 xx kernel: [452173.632085] st: from_buffer offset overflow. Jun 14 14:31:10 xx kernel: [452173.632087] st: from_buffer offset overflow. Backup only works after reboot. Any Idea? regards Tobias On 09.06.2011 09:21, Tobias Dinse wrote: > Hi, > > one again we have a problem with this Kernel error: > > st: from_buffer offset overflow. > > in dmesg. This Error has the effect that Bacula cant access to the Tape > drive - reboot helps. Atm this Error comes all 2-3 days. > > I´ve googled a lot but cant find nothing to fix that. It seems to be a > problem with the memory fragmentation or the scsi driver. > > We use Debian Squeezy and the latest bacula release. > > Any Idea? > > Thanks& regards > > Tobias > > > -- > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] st: from_buffer offset overflow. - I/O Error
Hi, one again we have a problem with this Kernel error: st: from_buffer offset overflow. in dmesg. This Error has the effect that Bacula cant access to the Tape drive - reboot helps. Atm this Error comes all 2-3 days. I´ve googled a lot but cant find nothing to fix that. It seems to be a problem with the memory fragmentation or the scsi driver. We use Debian Squeezy and the latest bacula release. Any Idea? Thanks & regards Tobias -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bscan JobId 0: Error: block.c:265 Volume data error at 26:7909! Wanted ID: "BB02", got ".c:2". Buffer discarded.
Any Idea? :( regards On 01.06.2011 14:01, Tobias Dinse wrote: Hi, I tried to import an old LTO2 Tape to the new Database with File Backup. I executed the follow command: bscan -n bacula -u bacula -P password -h 192.168.X.X -t 5432 -c bacula-sd.conf /dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst -V *DIHP01* -m -s the Database is on another Server. Connection works fine. list media after import: +-++---+-+--+--+--+-+--+---+---+-+ | mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-++---+-+--+--+--+-+--+---+---+-+ | 201 | *DIHP01* | Archive | 1 |0 |0 | 31,536,000 | 0 |0 | 0 | LTO-2 | | +-++---+-+--+--+--+-+--+---+---+-+ 0 volbytes and 0 volfiles. I havent save the Messages from bscan yesterday :( so delete volume DIHP01 and bscan again: bscan: butil.c:281 Using device: "/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst" for reading. 01-Jun 13:42 bscan JobId 0: Invalid slot=0 defined in catalog for Volume "DIHP01" on "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). Manual load may be required. 01-Jun 13:42 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 01-Jun 13:42 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 2. 01-Jun 13:43 bscan JobId 0: Ready to read from volume "DIHP01" on device "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). bscan: bscan.c:502 VOL_LABEL: OK for Volume: DIHP01 01-Jun 13:58 bscan JobId 0: Error: block.c:265 Volume data error at 26:7909! Wanted ID: "BB02", got ".c:2". Buffer discarded. Bacula status: file=26 block=7909 Device status: ONLINE IM_REP_EN file=26 block=7910 Records added or updated in the catalog: 1 Media 1 Pool 1 Job 55 File same error like yesterday and still 0 volbytes and volfiles :(. Any idea? Why Job ID is 0? regards Tobi -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bscan JobId 0: Error: block.c:265 Volume data error at 26:7909! Wanted ID: "BB02", got ".c:2". Buffer discarded.
Hi, I tried to import an old LTO2 Tape to the new Database with File Backup. I executed the follow command: bscan -n bacula -u bacula -P password -h 192.168.X.X -t 5432 -c bacula-sd.conf /dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst -V *DIHP01* -m -s the Database is on another Server. Connection works fine. list media after import: +-++---+-+--+--+--+-+--+---+---+-+ | mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-++---+-+--+--+--+-+--+---+---+-+ | 201 | *DIHP01* | Archive | 1 |0 |0 | 31,536,000 | 0 |0 | 0 | LTO-2 | | +-++---+-+--+--+--+-+--+---+---+-+ 0 volbytes and 0 volfiles. I havent save the Messages from bscan yesterday :( so delete volume DIHP01 and bscan again: bscan: butil.c:281 Using device: "/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst" for reading. 01-Jun 13:42 bscan JobId 0: Invalid slot=0 defined in catalog for Volume "DIHP01" on "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). Manual load may be required. 01-Jun 13:42 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 01-Jun 13:42 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 2. 01-Jun 13:43 bscan JobId 0: Ready to read from volume "DIHP01" on device "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). bscan: bscan.c:502 VOL_LABEL: OK for Volume: DIHP01 01-Jun 13:58 bscan JobId 0: Error: block.c:265 Volume data error at 26:7909! Wanted ID: "BB02", got ".c:2". Buffer discarded. Bacula status: file=26 block=7909 Device status: ONLINE IM_REP_EN file=26 block=7910 Records added or updated in the catalog: 1 Media 1 Pool 1 Job 55 File same error like yesterday and still 0 volbytes and volfiles :(. Any idea? Why Job ID is 0? regards Tobi -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] remote Tape import
i have to add -m -s. Now list media shows the old Tape :) thanks On 27.05.2011 15:36, John Drescher wrote: > On Fri, May 27, 2011 at 9:27 AM, Tobias Dinse > wrote: >> I want to Import an old tape to our new Backup Server. >> >> Now I executed the follow line on the old Server(target database is from the >> new server): >> >> bscan -n bacula -u bacula -P x -h 192.168.xxx.xxx -c bacula-sd.conf >> /dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst -V DIHP01 >> >> bscan: butil.c:281 Using device: >> "/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst" for reading. >> 27-May 15:19 bscan JobId 0: Invalid slot=0 defined in catalog for Volume >> "DIHP01" on "IBM-LTO2" >> (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). Manual load may >> be required. >> 27-May 15:19 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" >> command. >> 27-May 15:19 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is >> Slot 2. >> 27-May 15:19 bscan JobId 0: Ready to read from volume "DIHP01" on device >> "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). >> bscan: bscan.c:482 VOL_LABEL: Media record not found for Volume: DIHP01 >> bscan: bscan.c:502 VOL_LABEL: OK for Volume: DIHP01 >> bscan: bscan.c:526 SOS_LABEL: Job record not found for JobId: 0 >> bscan: bscan.c:1006 Could not get Client record. ERR=Client record not found >> in Catalog. >> > I have not seen that error when I have used bscan however it looks > like you need to add the old client to your bacula-dir.conf and reload > the bacula-dir configuration before the bscan. > > john > > John -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] remote Tape import
I want to Import an old tape to our new Backup Server. Now I executed the follow line on the old Server(target database is from the new server): bscan -n bacula -u bacula -P x -h 192.168.xxx.xxx -c bacula-sd.conf /dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst -V DIHP01 bscan: butil.c:281 Using device: "/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst" for reading. 27-May 15:19 bscan JobId 0: Invalid slot=0 defined in catalog for Volume "DIHP01" on "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). Manual load may be required. 27-May 15:19 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 27-May 15:19 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 2. 27-May 15:19 bscan JobId 0: Ready to read from volume "DIHP01" on device "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). bscan: bscan.c:482 VOL_LABEL: Media record not found for Volume: DIHP01 bscan: bscan.c:502 VOL_LABEL: OK for Volume: DIHP01 bscan: bscan.c:526 SOS_LABEL: Job record not found for JobId: 0 *bscan: bscan.c:1006 Could not get Client record. ERR=Client record not found in Catalog. * On 27.05.2011 13:53, John Drescher wrote: On Fri, May 27, 2011 at 6:08 AM, Tobias Dinse wrote: Hi, I want to import some Tapes from our old Autoloader (on a remote System) into our new Backup Server Database. The Database of the new Backup Server isnt empty. I have added the remote Autoloader to bacula-sd.conf and status storage works fine. How can I import the Tape Data? I took a look @bscan but i dont know how I can use it to import from a Remote Storage. Example: ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0 /dev/nst0 doesnt work because its a remote Storage. If the tape exists on the remote device can't you add the remote bacula-sd to the new director. Or am I missing something? John -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] remote Tape import
Hi, I want to import some Tapes from our old Autoloader (on a remote System) into our new Backup Server Database. The Database of the new Backup Server isnt empty. I have added the remote Autoloader to bacula-sd.conf and status storage works fine. How can I import the Tape Data? I took a look @bscan but i dont know how I can use it to import from a Remote Storage. Example: ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0 /dev/nst0 doesnt work because its a remote Storage. thanks and regards Tobias -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Remote Tape Import
Hi, I want to import some Tapes from our old Autoloader (on a remote System) into our new Backup Server Database. The Database of the new Backup Server isnt empty. I have added the remote Autoloader to bacula-sd.conf and status storage works fine. How can I import the Tape Data? I took a look @bscan but i dont know how I can use it to import from a Remote Storage. Example: ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0 /dev/nst0 doesnt work because its a remote Storage. thanks and regards Tobias -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] make_catalog_backup authentication error
Hi @all, make_catalog_backup works fine if i start it manually as bacula User. But with a Backup Schedule I always get the follow Error Msg: FATAL: password authentication failed for user "bacula" */etc/postgresql/8.4/main/pg_hba.conf*: local bacula bacula 127.0.0.1/32 trust */var/lib/bacula/.pgpass:* 127.0.0.1:5432:bacula:bacula:PASSWORD localhost:5432:bacula:bacula:PASSWORD *make_catalog_backup:* BINDIR=/usr/bin cd /var/lib/bacula rm -f $1.sql if test xsqlite = xpostgresql ; then echo ".dump" | ${BINDIR}/sqlite $1.db >$1.sql else if test xmysql = xpostgresql ; then if test $# -gt 2; then MYSQLPASSWORD=" --password=$3" else MYSQLPASSWORD="" fi if test $# -gt 3; then MYSQLHOST=" --host=$4" else MYSQLHOST="" fi ${BINDIR}/mysqldump -u ${2}${MYSQLPASSWORD}${MYSQLHOST} -f --opt $1 >$1.sql else if test xpostgresql = xpostgresql ; then if test $# -gt 2; then PGPASSWORD=$1 export PGPASSWORD fi if test $# -gt 3; then PGHOST=" --host=$4" else PGHOST="" fi # you could also add --compress for compression. See man pg_dump #exec ${BINDIR}/pg_dump -c $PGHOST -U $2 $1 >$1.sql exec ${BINDIR}/pg_dump -h localhost bacula |bzip2 -9 -f -c > bacula.sql.bz2 else echo ".dump" | ${BINDIR}/sqlite3 $1.db >$1.sql fi fi fi Thanks and regards Tobias -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Label failed after upgrade
Ok my own fail. Sry :) setblk 0 # Stegbauer Datawork # Tobias Dinse # Oberjulbachring 9, 84387 Julbach On 16.05.2011 17:14, Tobias Dinse wrote: > Hi, > > after upgrading my System to Debian Squeeze (up from Lenny) and Bacula 5 > i cant label my Volumes. > > > Connecting to Storage daemon IBMLTO4-dir at > de496200s00012.de496200.vw-group.com:9103 ... > Sending label command for Volume "MONT01" Slot 0 ... > block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer > discarded. > block.c:577 Write error at 0:0 on device "IBMLTO4-sd" (/dev/nst0). > ERR=Invalid argument. > Backspace record at EOT failed. ERR=Input/output error > 3912 Failed to label Volume: ERR=dev.c:1589 ioctl MTBSR error on > "IBMLTO4-sd" (/dev/nst0). ERR=Input/output error. > > Label command failed for Volume MONT01. > Do not forget to mount the drive!!! > > > Anyone has an Idea? > > thanks and regards > > Tobias > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Label failed after upgrade
Hi, after upgrading my System to Debian Squeeze (up from Lenny) and Bacula 5 i cant label my Volumes. Connecting to Storage daemon IBMLTO4-dir at de496200s00012.de496200.vw-group.com:9103 ... Sending label command for Volume "MONT01" Slot 0 ... block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. block.c:577 Write error at 0:0 on device "IBMLTO4-sd" (/dev/nst0). ERR=Invalid argument. Backspace record at EOT failed. ERR=Input/output error 3912 Failed to label Volume: ERR=dev.c:1589 ioctl MTBSR error on "IBMLTO4-sd" (/dev/nst0). ERR=Input/output error. Label command failed for Volume MONT01. Do not forget to mount the drive!!! Anyone has an Idea? thanks and regards Tobias -- # Stegbauer Datawork # Tobias Dinse # Oberjulbachring 9, 84387 Julbach -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Slow Backup since Upgrade
Ok error@blocksize :D Sorry regards Tobias # Stegbauer Datawork # Tobias Dinse # Oberjulbachring 9, 84387 Julbach On 12.05.2011 11:29, Tobias Dinse wrote: > Hi, > > since i have upgraded our Backup Server to Debian Squeeze and Bacula > 5.0.2 the Jobs are only write with ~ 5 MB/s. > > status storage: > > Device "IBMLTO4-sd" (/dev/nst0) is mounted with: > Volume: MITT01 > Pool:MittwochPool > Media type: LTO4 > Total Bytes=157,171,864,755 Blocks=78,625,244 Bytes/block=1,999 > Positioned at File=162 Block=20,096 > > > Maybe it could be the blocksize with 1999? I have no Errors in my logfiles. > > regards > > Tobias > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Slow Backup since Upgrade
Hi, since i have upgraded our Backup Server to Debian Squeeze and Bacula 5.0.2 the Jobs are only write with ~ 5 MB/s. status storage: Device "IBMLTO4-sd" (/dev/nst0) is mounted with: Volume: MITT01 Pool:MittwochPool Media type: LTO4 Total Bytes=157,171,864,755 Blocks=78,625,244 Bytes/block=1,999 Positioned at File=162 Block=20,096 Maybe it could be the blocksize with 1999? I have no Errors in my logfiles. regards Tobias -- # Stegbauer Datawork # Tobias Dinse # Oberjulbachring 9, 84387 Julbach -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Win2008 RC2 64 Bit Backup fails
Hi, I tried to Backup my Windows 2008 RC2 Server with the newest Bacula-FD 64 Bit Client. I´ve enabled VSS but I still get the follow Error Messages: Could not open directory "c:/Documents and Settings/Administrator/AppData/Local/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten": ERR=Der Dateiname konnte durch das System nicht zugeordnet werden. . . . my dir-filetset.conf: FileSet { Name = "FileSetWin" Enable VSS = yes Include { Options { signature = MD5 onefs = no aclsupport=yes compression=GZIP } File = "c:/" File = "d:/" } Exclude { } } regards Tobias -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users