Bacula-users

Re: [Bacula-users] verify error with LTO hardware encryption

2015-10-20 13:03:54
Subject: Re: [Bacula-users] verify error with LTO hardware encryption
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 20 Oct 2015 18:01:46 +0100
>>>>> On Mon, 19 Oct 2015 15:47:01 -0700, Mark D Strohm said:
> 
> Hello-
> 
> Is there a trick to using Bacula with LTO hardware encryption enabled?
> 
> With drive encryption turned on, verify jobs are hitting an I/O error reading 
> the first record of a tape file.
> 
> On a test job that went to files 78, 79 and 80, the error looks like this:
> 
> 19-Oct 14:03 ccnback-sd JobId 988: Ready to read from volume "CCNB12" on tape 
> device "Magnum-224-LTO4" 
> (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD4_1310025811-nst).
> 19-Oct 14:03 ccnback-sd JobId 988: Forward spacing Volume "CCNB12" to 
> file:block 78:0.
> 19-Oct 14:19 ccnback-sd JobId 988: Error: block.c:429 Read error on fd=5 at 
> file:blk 79:0 on device "Magnum-224-LTO4" 
> (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD4_1310025811-nst). ERR=Input/output 
> error.
> 19-Oct 14:19 ccnback-sd JobId 988: End of Volume at file 79 on device 
> "Magnum-224-LTO4" (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD4_1310025811-nst), 
> Volume “CCNB12"
> 
> dd can read the data from both files.  The boundary is on the phrase "varius 
> sed feugiat”.  The end of file 78, and the start of 79 are:
> 
>     "varius sed "
>     
> "~\274\301\214^@^@\374^@^@^A.\300BB02^@^@^@^AV%X\226^@^@^@3\377\377\377\376^@^@\313\233feugiat”
> 
> I’m using Bacula 7.0.5 with an LTO-4 drive and stenc 1.0.7 to control 
> encryption.
> 
> Any advice would be appreciated.

Have you checked the syslog in case it recorded something more precise about
the I/O error?

Also, which tape device driver are you using?  In the past, people have had
problems with lin_tape (use st instead).

__Martin

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users