tape drive problem

Bill Campbell linux-sxs at celestial.com
Sat May 31 14:47:45 PDT 2008

On Sat, May 31, 2008, Vu Pham wrote:
>Vu Pham wrote:
>>My tape drive suddenly reports the following error when I write to it.
>>tar: /dev/st0: Cannot open: Read-only file system
>>What can cause this ? I used a tape cleaner tape to clean it but it does 
>>not fix. And the "dirty" LED is not on.
>>It is a DLT1 tape drive.
>More :
>[root at pepper3 log]# mt -f /dev/st0 status
>SCSI 2 tape drive:
>File number=0, block number=0, partition=0.
>Tape block size 0 bytes. Density code 0x1a (DLT 20GB).
>Soft error count since last status=0
>General status bits on (45010000):
>It says "WR_PROT". That's why tar cannot write to it. But why ? Hardware 
>problem ?

My guess is that you have engaged the tape's write-protect.

Most mag tapes have some method to write-protect them, the method
depending on the type of tape.  It's been a while since I looked
a tapes, but as I remember the DDR DAT style tapes have a little
slide at the back of the cartridge.  The 1/4in tapes such as the
DC600s have a rotating mechanism on the front side (towards the
heads), etc.

INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

The difference between science and the fuzzy subjects is that science
requires reasoning while those other subjects merely require scholarship.
    -- Robert Heinlein

More information about the Linux-users mailing list