Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 14:39:06 -0300 (ADT)
From:      Andrew Hamilton-Wright <andrew@qemg.org>
To:        Jaime <jaime@snowmoon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Formatting a tape?
Message-ID:  <alpine.BSF.2.00.0903191435080.1390@qemg.org>
In-Reply-To: <ae4324ed0903190915u5a9ac68fw170f38354323e72e@mail.gmail.com>
References:  <ae4324ed0903190915u5a9ac68fw170f38354323e72e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 this is a fresh tape?  Do other tapes from the same batch work?

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

If you are getting something else, I might suspect a physical media problem.
I have certainly gotten the odd dud tape before.

A.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903191435080.1390>