From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 07:32:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 321DA37B401 for ; Wed, 18 Jun 2003 07:32:57 -0700 (PDT) Received: from donnex.net (as2-3-4.mke.g.bonet.se [194.236.113.210]) by mx1.FreeBSD.org (Postfix) with SMTP id D127243F75 for ; Wed, 18 Jun 2003 07:32:55 -0700 (PDT) (envelope-from donnex@donnex.net) Received: (qmail 29098 invoked by uid 1001); 18 Jun 2003 14:27:58 -0000 Date: Wed, 18 Jun 2003 16:27:58 +0200 From: Daniel Johansson To: freebsd-questions@freebsd.org Message-ID: <20030618142758.GA28969@donnex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: write a tar-archive to a ide tapedrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 14:32:57 -0000 Hi, I've got a IDE-tapedrive and it is recognised by FreeBSD 4.8. I haven't tried to use it before but I started to play with it today, but it doesn't work very well, I think. I have read the handbook but I can't say that it helped me very much. Some info about the box and tapedriver: FreeBSD donnex.net 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Fri Apr 18 13:12:41 CEST 2003 root@donnex.net:/usr/src/sys/compile/donnex i386 ast0: TAPE at ata1-master PIO4 When I insert a tape it starts to rewind the tape, I think, atleast I get a lot of noice from the tapedriver. When I try to run mt rewind I don't get any output and I can't hear that the tape gets rewinded. Is this normal or bad? [root@donnex.net: /dev] mt -f /dev/ast0 rewind [root@donnex.net: /dev] I can get some info about the tapedriver so I think it works: [root@donnex.net: /dev] mt -f /dev/ast0 status Mode Density Blocksize bpi Compression Current: 0x01:X3.22-1983 512 bytes 800 none ---------available modes--------- 0: default variable 0 none 1: default variable 0 none 2: default variable 0 none 3: default variable 0 none --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 [root@donnex.net: /dev] Anyway when I try to write a tar archive to the tapedrive I get erros. Does anyone know why or how I can fix it? [root@donnex.net: /dev] tar cf /dev/ast0 /home/ tar: Removing leading `/' from member names tar: /dev/ast0: Wrote only 0 of 10240 bytes tar: Error is not recoverable: exiting now [root@donnex.net: /dev] -- Daniel Johansson -