Splitting tar output

Jim Kuzdrall gnhlug at intrel.com
Mon Aug 29 22:15:01 EDT 2005


Yikes!  Did I attach this to your thread or is that just the way it 
shows up on my Kmail?  I didn't mean to do that.

On Monday 29 August 2005 09:34 pm, Michael ODonnell wrote:
> >Does anyone know how to create a tar tape archive and disk file
> >archive at the same time?
> >
> >    The present system does something like:
> >cd /
> >tar -cf $bkdir/monthly.tar ./ $bkoptions
>
> After that point I'd then instead consider just saying:
>
>    dd if=$bkdir/monthly.tar of=/dev/st0 ibs=X obs=Y

    I tried that, but when I ask tar to access the tape to get a file or 
list the archive contents, it reports "Cannot read... Error is not 
recoverable.  Exiting now."

    Apparently tar uses a different format on tape and disk.  Also, I 
pay the time penalty of writing the disk file then the tape file in 
tandem.  This isn't such a big problem as to force rescheduling of my 
family time, but I thought there might be some more time-efficient 
method I was overlooking.

    I assumed this was a simple matter of linking some Linux utilities 
together - that was 2 days ago.

Jim Kuzdrall



More information about the gnhlug-discuss mailing list