Re: Formatting a tape?

2009-03-20 Thread Michael L. Squires
This looks like a hardware problem to me. However, I don't have any experience with this type of SCSI hardware. If it were my system I'd be double-checking the tape drive setup, cabling and termination, and then substituting other cables and SCSI controllers. One thing that confuses me is

Formatting a tape?

2009-03-19 Thread Jaime
I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried mt fsf 1 from this page:

Re: Formatting a tape?

2009-03-19 Thread Andrew Hamilton-Wright
On Thu, 19 Mar 2009, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried mt fsf 1 from this page: I assume that

Re: Formatting a tape?

2009-03-19 Thread Jaime
I assume that this is a fresh tape? Do other tapes from the same batch work? Thanks for the reply. Yes, 10 new tapes. All Sony brand DLTape VS1 on the box. (Only one t. Damn marketers.) They all have this symptom. What happens if you use dd to try and write to the tape? I'll give it a

Re: Formatting a tape?

2009-03-19 Thread Chuck Swiger
On Mar 19, 2009, at 9:15 AM, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried mt fsf 1 from this page: What's

Re: Formatting a tape?

2009-03-19 Thread Jaime
On Thu, Mar 19, 2009 at 1:39 PM, Andrew Hamilton-Wright and...@qemg.org wrote: What happens if you use dd to try and write to the tape? The command dd if=/dev/zero of=/dev/sa0 count=8 should print out: 8+0 records in 8+0 records out I tried this and the output was: 8+0

Re: Formatting a tape?

2009-03-19 Thread Jerry McAllister
On Thu, Mar 19, 2009 at 12:15:48PM -0400, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried mt fsf 1 from

Re: Formatting a tape?

2009-03-19 Thread Jaime
On Thu, Mar 19, 2009 at 2:18 PM, Michael L. Squires mi...@siralan.org wrote: Have you looked at /var/log/messages? I've found error messages written there when trying to write to a tape which showed that I needed to change the block size. Good idea, but sadly there is nothing useful there.

Re: Formatting a tape?

2009-03-19 Thread Wojciech Puchar
mt rewind should suffice. AFAIK DLT tapes doesn't need to be formatted On Thu, 19 Mar 2009, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting

Re: Formatting a tape?

2009-03-19 Thread Julien Cigar
Try this : mt -f /dev/nsa0 rewind mt -f /dev/nsa0 weof 1 mt -f /dev/nsa0 rewind On Thu, 2009-03-19 at 12:15 -0400, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there

Re: Formatting a tape?

2009-03-19 Thread Warren Block
On Thu, 19 Mar 2009, Jaime wrote: On Thu, Mar 19, 2009 at 1:39 PM, Andrew Hamilton-Wright and...@qemg.org wrote: What happens if you use dd to try and write to the tape? The command dd if=/dev/zero of=/dev/sa0 count=8 should print out: 8+0 records in 8+0 records out I

Re: Formatting a tape?

2009-03-19 Thread Jaime
On Thu, Mar 19, 2009 at 7:37 PM, Warren Block wbl...@wonkity.com wrote: And the device acts flaky.  That screams SCSI termination problem to me.  That would also be consistent with most/all of the tapes failing, because it's not the tapes. I've checked the termination more times than I can

Re: Formatting a tape?

2009-03-19 Thread Warren Block
On Thu, 19 Mar 2009, Jaime wrote: On Thu, Mar 19, 2009 at 7:37 PM, Warren Block wbl...@wonkity.com wrote: And the device acts flaky.  That screams SCSI termination problem to me.  That would also be consistent with most/all of the tapes failing, because it's not the tapes. I've checked the