[Ilugc] tar question
- From: knura9@xxxxxxxxx (Arun Khan)
- Date: Tue Feb 23 19:28:00 2010
On Tue, Feb 23, 2010 at 6:58 PM, Raja Subramanian
<rajasuperman@xxxxxxxxx> wrote:
On Tue, Feb 23, 2010 at 3:50 PM, Arun Khan <knura9@xxxxxxxxx> wrote:
I have received a LTO4 tape with supposedly many many files (the
client claims that).
However, when I do:
? ? ? ? ?tar xvpRf /dev/st0
I get one and only one file out of the tape. ?(ditto for /dev/nst0)
Try this:
? ?mt -f /dev/nst0 rewind
? ?tar xf /dev/nst0
? ?mt -f /dev/nst0 fsf 1
? ?tar xf /dev/nst0
? ?...
Unfortunately, the tape has been returned to the client. I did try
with /dev/nst0 as well but got only one file out. See output below
for both cased /dev/st0 and /dev/nst0
Output from tar:
block 1:
episode00/bk_ooh/bk_wo38249410_30292723/rawscans/031309_wo10_999999/tiff_r3/4096x3112/00192.dpx
block 99713: ** Block of NULs **
block 1:
episode00/bk_ooh/bk_wo38249410_30292723/rawscans/031309_wo10_999999/tiff_r3/4096x3112/00192.dpx
block 99713: ** Block of NULs **
I have not come across "Block of NULs" in any tar archive. Looking at
the tar code it looks a HEADER ZERO BLOCK. Not sure what it means.
Besides, why would anyone write hundreds of GBs worth of files in such
a fashion.
Did not try mt -f /dev/nst0 fsf 1 though. Seems like a complicated
process if I have to repeat "mt -f /dev/nst0 fsf 1" for 500+ K files
that are typically found in animation/sfx archives.
See mt(1). ?You can replace tar with dd to copy the tar files to disk before
untaring later on.
dd did occurr to me but only after I had left client site :(
Thanks,
-- Arun Khan
Other related posts: