Re: Rescueing a DLT tarball on a Mac

From: Thor Lancelot Simon (tls_at_panix.com)
Date: 11/02/05


Date: Wed, 2 Nov 2005 18:17:03 +0000 (UTC)

In article <1130885663.167298.157190@z14g2000cwz.googlegroups.com>,
Maury Markowitz <maury_markowitz@hotmail.com> wrote:
>Excellent info, thanks. Just for clarification, Rhapsody is not a
>program, but Apple's code name for what became OS X.
>
>If I understand your comments correctly, the real problem here is the
>block size issue. Reading your post now did trigger a memory, and I do
>believe I used tar csf.

You "used tar csf" to do *what*? To create the archive file on disk? Or
to write the archive directly to tape?

I'd be astonished if you used the "-s" switch to tar. Do you mean "cSf",
or perhaps "czf", or something else?

If you used tar to write the archive to tape you have 10k blocks on the
tape and it will probably work fine -- you can read it right back off
with tar x (in this case, probably tar xvf /dev/nrst0 though you may
want to do a tar tvf /dev/nrst0 first to see what you'are about to extract).

If you created the file on disk with tar and then wrote it to tape with
dd and dd's default blocksize of 512, all bets are off. While you might
be able to read it back on the _same_ system you wrote it on, there's no
real convention for _how_ to reblock such small writes, so the odds of
being able to read it back on any _other_ system are quite poor.

-- 
 Thor Lancelot Simon	                                      tls@rek.tjls.com
"The inconsistency is startling, though admittedly, if consistency is to be
 abandoned or transcended, there is no problem."		- Noam Chomsky


Relevant Pages

  • RE: redhat-list Digest, Vol 27, Issue 26
    ... The reason I was tarring a tar file to the tape I didn't want to backup a whole file system just to test the tape drive. ... I take that same tape and try to read it on the tape drive that is connected to the linux machine and it doesn't work. ... echo command as in windows ...
    (RedHat)
  • Re: problem with restore
    ... can tar be used to backup files on a machine with remote tape drive..?? ... the '-' on the tar command makes the 'f' go to stdout. ... Have you tried taking backup using tar utility instead of rdump. ... If you take backup and try restore using tar, ...
    (RedHat)
  • Re: Copying tar archives/tarballs to tape
    ... You may want to play about with the block size arguments in tar to find ... Some tape drives, when written to in ... Some apply error correction only on a per-block basis, ... for bzip2) flag when writing to tape, but bear in mind that compression uses CPU ...
    (uk.comp.os.linux)
  • RE: problem with restore
    ... Have you tried taking backup using tar utility instead of rdump. ... If you take backup and try restore using tar, ... Also you can verify the content of tape after backup using ...
    (RedHat)
  • Re: Tape backup using tar
    ... On Thursday 04 August 2005 11:06, Stuart Bailey wrote: ... >I'm haviong trouble using tar to backup to tape. ...
    (Fedora)