From owner-freebsd-questions@FreeBSD.ORG Thu Mar 19 17:36:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05AD01065670 for ; Thu, 19 Mar 2009 17:36:46 +0000 (UTC) (envelope-from andrew@qemg.org) Received: from mailserv.mta.ca (mailserv.mta.ca [138.73.1.1]) by mx1.freebsd.org (Postfix) with ESMTP id BE6898FC0A for ; Thu, 19 Mar 2009 17:36:45 +0000 (UTC) (envelope-from andrew@qemg.org) Received: from [138.73.29.51] (helo=qemg.org) by mailserv.mta.ca with esmtp (Exim 4.61) (envelope-from ) id 1LkMAc-00013s-Ig; Thu, 19 Mar 2009 14:36:43 -0300 Date: Thu, 19 Mar 2009 14:39:06 -0300 (ADT) From: Andrew Hamilton-Wright To: Jaime In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Formatting a tape? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 17:36:46 -0000 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.