Reading tar tape created on Sun: Linux sez bad block size

Reading tar tape created on Sun: Linux sez bad block size

Post by Zenon Fortu » Tue, 05 Apr 1994 21:55:02




>I created a tar tape (4mm dat uncompressed) on a Sun running Solaris
>2.3.  I can't read it on Linux.  Same version of Gnu tar (1.11.2) on
>both systems.  Same tape drive on both systems (from home to work).  I
>didn't specify the block size when I created it.  Linux complains
>about the block size.  How do I find out what block size was used?  I
>tried -B; it's supposed to figure out the block size.  Any suggestions?

I presume you can read the Sun created DAT cassette at all ?
If this is the case, than you can find the block size in the following way:

        # mt rewind
        # dd if=/dev/tape of=/tmp/firstBlock bs=32k count=1

Then look with "ls -l" at /tmp/firstBlock - its size is the size of blocks
on tape, obviously.


 
 
 

Reading tar tape created on Sun: Linux sez bad block size

Post by Tom Busk » Tue, 05 Apr 1994 22:27:07


I created a tar tape (4mm dat uncompressed) on a Sun running Solaris
2.3.  I can't read it on Linux.  Same version of Gnu tar (1.11.2) on
both systems.  Same tape drive on both systems (from home to work).  I
didn't specify the block size when I created it.  Linux complains
about the block size.  How do I find out what block size was used?  I
tried -B; it's supposed to figure out the block size.  Any suggestions?

If I can read it on Linux, I'll just untar it back to the sun & then
create a cpio tape.  Thanks in advance.

Details:
Drive:  Wangtek 3100 4mm DAT (no compression), GNU tar 1.11.2
Home:   Linux .99p13, Adaptec 1542B
Work:   Solaris 2.3

--

Fluent Inc. 10 Cavendish Court Lebanon, NH 03766

 
 
 

1. Tar can't read tapes created on Sun with blocksize 126

Dear Linux world,

we are experiencing troubles while trying to read (Exabyte) tapes that are
created on a SPARC running SunOS 4.0.1 with `tar cvfb /dev/rmt0 126' - a
blocksize 126 tape. Apparently the Linux kernel does not allow buffers that
large, but a smaller blocksize such as 63, doesn't help: we still can't read
the tapes.

Anyone else who has experienced this problem ? Any solutions, workarounds ?

Please respond by e-mail, if possible.

Thanks in advance.
--
Ronald van Loon       \   S-Mail: St. Janskerkhof 18 | Motif++ Mailinglist:

- Columnist C++ Report  \         The Netherlands   /

2. backing up and deleting files?

3. Reading a Sun created DDS2 dat tape on linux.

4. tape backup

5. TAR problem from SCSI Tape: Wrong Block Size?

6. SATAN on Linux ?

7. need help with tar and default tape block size

8. How to kill a zombie process ?

9. SCO tar error on block size (not block factor)

10. reading a Jumbo 700 tape created with tar

11. How do I read a bad tape (tar)?

12. Sun 4mm Tape Drive-- Block Size

13. Reading SGI or SUN 4mm TAR Tapes (which mt?)