-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Dan, Can you send me your SD Device configuration? It looks like you may be using a very large block size, which could cause you a few problems. Best regards, Kern On 25.05.2015 16:38, Dan Langille wrote: > >> On May 24, 2015, at 2:19 PM, Dan Langille <d...@langille.org> wrote: >> >> >>> On May 20, 2015, at 3:37 AM, Kern Sibbald <k...@sibbald.com> wrote: >>> >>> Hello Dan, >>> >>> We recently discussed a problem with logical end of tape markers on the >>> newest FreeBSD system. That reminded me of the previous time we had >>> problems, and it took us a very long time to find the problem 3-4 months >>> if I remember right. >>> >>> Anyway, here is your email on the subject and the source of the file >>> that we used to diagnose the problem. I would be a bit surprised if the >>> current problem is the same thing, but it is probably worth trying. I >>> haven't tried compiling the program recently so let me know if you have >>> problems. >>> >>> Best regards, >>> Kern >>> >>> PS: It took me a long time to find these attachments because I thought >>> they were in the test environment, but it looks like I committed them to >>> the bacula/platforms/freebsd directory. >> >> Compiling on FreeBSD 9.3: >> >> $ c++ -g -O2 -Wall -c tapetest.c >> tapetest.c: In function 'void rrcmd()': >> tapetest.c:327: warning: deprecated conversion from string constant to 'char*' >> tapetest.c: At global scope: >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c:526: warning: deprecated conversion from string constant to 'char*' >> tapetest.c: In function 'void do_tape_cmds()': >> tapetest.c:535: warning: deprecated conversion from string constant to 'char*' >> >> $ c++ -g -O2 -Wall tapetest.o -o tapetest >> $ >> >> >> $ sudo ./tapetest /dev/sa0 >> *rewind >> Rewound /dev/sa0 >> *rawfill >> Begin writing blocks of 64512 bytes. >> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> weof_dev >> ioctl MTWEOF error on /dev/sa0. ERR=Input/output error. >> Bad status from weof -1. ERR=Input/output error >> Write failed. Last block written=52274. stat=24576 ERR=No such file or directory >> * >> >> From /var/log/messages: >> >> May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 00 00 00 01 00 >> May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status Error >> May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition >> May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR asc:c,0 (Write error) >> May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: 0xca7b >> May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted >> > > Sorry. I thought was was sent yesterday. > > The above was on a tape such as the one which raised the original issue. > > Next, I tried another previously unused tape. With the pthreads option, I got: > > ... > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > weof_dev > Wrote EOF to /dev/sa0 > Write failed. Last block written=1580354. stat=0 ERR=No such file or directory > * > > > I am starting the scan now. > > — > Dan Langille > http://langille.org/ > > > > > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlVkDoQACgkQNgfoSvWqwEiqpQCfTpiCqru0x25eZrZKem2mlH9M yXcAoP3U6X86QCmcrKoCCFroKf3VsA+S =nfbz -----END PGP SIGNATURE----- |
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel