Old 8mm tape extraction issues - Unix

This is a discussion on Old 8mm tape extraction issues - Unix ; Hello, I'm having a problem extracting an old 8mm tape. The tape was written with tar, but the creator created a tar on the first block, then started another tar at the next block, and so on. A wrench is ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Old 8mm tape extraction issues

  1. Old 8mm tape extraction issues

    Hello,

    I'm having a problem extracting an old 8mm tape. The tape was written
    with tar, but the creator created a tar on the first block, then
    started another tar at the next block, and so on. A wrench is added
    to the mix, since they somehow wrote some of the tars to be spanned
    from one block to another (WOW!!!!!). So, I have the following
    questions ------>

    1. Is there an easy way (ie. without perl) to just pull every occupied
    block on the tape as individual files, then just untar the extracted
    files on disk? The problem is: I don't know how many tar files were
    started on new blocks, so I just want to pull the whole darn thing,
    and deal with the individual files from there, rather than guessing at
    which blocks will have data, and which will not.


    2. When some of the blocks are untarred, a prompt comes up at the end
    requesting, "Place next tape in drive, and press enter:" - indicating
    that the particular tar file was somehow spanned onto another
    block(?). How can I force tar to point to the appropriate tar file,
    for the rest of the spanned tar? The problem is: When I extract
    these particular lovelies, I get partial files, where the rest of the
    file was placed on the next tar. I need to put these files back
    together, somehow.

    Any info would be great!

    Thanks -

    Peter


  2. Re: Old 8mm tape extraction issues

    gibbonsp wrote:
    > Hello,
    >
    > I'm having a problem extracting an old 8mm tape. The tape was written
    > with tar, but the creator created a tar on the first block, then
    > started another tar at the next block, and so on. A wrench is added
    > to the mix, since they somehow wrote some of the tars to be spanned
    > from one block to another (WOW!!!!!). So, I have the following
    > questions ------>
    >
    > 1. Is there an easy way (ie. without perl) to just pull every occupied
    > block on the tape as individual files, then just untar the extracted
    > files on disk? The problem is: I don't know how many tar files were
    > started on new blocks, so I just want to pull the whole darn thing,
    > and deal with the individual files from there, rather than guessing at
    > which blocks will have data, and which will not.
    >
    >
    > 2. When some of the blocks are untarred, a prompt comes up at the end
    > requesting, "Place next tape in drive, and press enter:" - indicating
    > that the particular tar file was somehow spanned onto another
    > block(?). How can I force tar to point to the appropriate tar file,
    > for the rest of the spanned tar? The problem is: When I extract
    > these particular lovelies, I get partial files, where the rest of the
    > file was placed on the next tar. I need to put these files back
    > together, somehow.
    >
    > Any info would be great!
    >
    > Thanks -
    >
    > Peter
    >


    You could use dd to suck all the data on the tape down to your disk,
    then combine the pieces.

    man dd on your version of *ix - look for info on the various seek
    options, or the files= option might work for you by setting the number
    of 'files' read to some large number and in effect putting the blocks
    together.

    Not sure if that would include block header/trailer info that would need
    to be stripped out of the final concatenated file.

    --
    ----------------------------------------------------
    Pat Welch, UBB Computer Services, a WCS Affiliate
    SCO Authorized Partner
    Unix/Linux/Windows/Hardware Sales/Support
    (209) 745-1401 Cell: (209) 251-9120
    E-mail: patubb@inreach.com
    ----------------------------------------------------

+ Reply to Thread