Tape backups and setblk

Tape backups and setblk

Post by MICHAEL W GILBE » Wed, 10 Aug 1994 11:32:59



Hello;

I recently purchased a Tandberg 525 Meg SCSI tape drive for my
system. I set it up, and it seems to work fine under Linux (and
MSDOS). I have a question though. What is the optimal way to set
the block size (using mt -f /dev/st0 setblk xxx)? How do I determine
the proper or most efficient xxx? I bought the drive raw and it does
not seem to have any documentation.

Any help or suggestion would be appreciated. Thanks.

-MG

+----------------------------------------------------+
|                                                    |

| Manager PC Hardware Support - PCML/PCSS            |
| University of Massachusetts at Amherst PCML/PCSS   |
| Vox: 413-545-2036     Fax: 413-545-2418            |
| 201 Goodell Building UMASS Amherst, MA 01003 USA   |
|                                                    |
+----------------------------------------------------+

 
 
 

Tape backups and setblk

Post by Matthew Dill » Thu, 11 Aug 1994 00:34:31



::Hello;
::
::I recently purchased a Tandberg 525 Meg SCSI tape drive for my
::system. I set it up, and it seems to work fine under Linux (and
::MSDOS). I have a question though. What is the optimal way to set
::the block size (using mt -f /dev/st0 setblk xxx)? How do I determine
::the proper or most efficient xxx? I bought the drive raw and it does
::not seem to have any documentation.
::
::Any help or suggestion would be appreciated. Thanks.
::
:-MG
::
::+----------------------------------------------------+
::|                                                    |

::| Manager PC Hardware Support - PCML/PCSS            |
::| University of Massachusetts at Amherst PCML/PCSS   |
::| Vox: 413-545-2036     Fax: 413-545-2418            |
::| 201 Goodell Building UMASS Amherst, MA 01003 USA   |
::|                                                    |
::+----------------------------------------------------+

    I generally use a block size of 16384 bytes.  Anything greater
    is usually overkill.

    mt -f $device rewind
    mt -f $device status
    mt -f $device setblk 16384

    ...

    dd if=$device bs=16384 | tar -b 32 -tvf -

    ...

    tar -b 32 -cvf - $dir | dd of=$device bs=16384

    ...

    mt -f $device rewoffl

--


    1005 Apollo Way             ham: KC6LVW (no mail drop)
    Incline Village, NV. 89451  Obvious Implementations Corporation
    USA                         Sandel-Avery Engineering
    [always include a portion of the original email in any response!]

 
 
 

1. What does tape setblk -a 0 do?

I am having problems with a sony sdt5000 internal DAT drive.

When I run a long backup, the machine will hang (looks like SCSI bus
is crashed, although light on controller is not on)

If I execute a tape setblk -a 0 command before running backups everything
works perfectly.

What exactly does setblk -a 0 do. What SCSI command does it send to the
drive.

Has anyone else experienced machine crashes with DAT drives.

(I have installed the scsi tape driver updates under 3.2.4.2)

2. Q: What echoes faster than /bin/echo?

3. Which backup tool to backup huge filesystems to tape?

4. on the use of 'connect' for unknown server..

5. Solstice Backup 5.1 / DMO 2.1/Oracle 8.1.5: Tape backup failed : Need of 5.5 Upgrade ?

6. Segmentation fault (core dumped)

7. How to designate full backup to specific tape using Solstice Backup?

8. Ever heard of TCSI's OSP or NMF?

9. how backup multiple filesystems onto 1 tape using backup by i-node ?

10. WangDAT 2Gb backup, after 250Mb to tape message "END off TAPE" ??

11. Star tape size for multi tape backups question

12. Tape backups.. Erase tape first?

13. tape backups, scsi tape drive?