READ error during tape restore via OpenSSL on AIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf
> Of Viktor Dukhovni
> Sent: Friday, January 02, 2015 15:54
> To: openssl-users at openssl.org
> Subject: Re: [openssl-users] READ error during tape restore via OpenSSL on
> AIX
> 
> On Fri, Jan 02, 2015 at 12:44:43PM -0500, Salz, Rich wrote:
> 
> > They are I/O errors (openssl errstr is your friend here) and probably related
> > to the tape I/O device not being ready, timing out, or something like that.
> 
> Tape devices generally require I/O operations to be in multiples of a tape
> block.  The output of "openssl enc" is not going to satisfy that property.  A
> final filter is required that "pads" the encrypted output to a multiple of the
> tape block size, and strips the padding on input.

One traditional way to do this "reblocking" is with the dd command, using "conv=sync". Since this is AIX, the OP might also look at the tctl command, which also has a mode ("tctl write') that reads from standard input and writes complete blocks to a tape device.

I'm sure there are plenty of examples online.

-- 
Michael Wojcik
Technology Specialist, Micro Focus



This message has been scanned for malware by Websense. www.websense.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux