From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 03:45:29 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 7E3E437B401 for ; Wed, 4 Jun 2003 03:45:29 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5370543F3F for ; Wed, 4 Jun 2003 03:45:28 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 757 invoked from network); 4 Jun 2003 10:45:26 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 4 Jun 2003 10:45:26 -0000 Message-ID: <3EDDCDC8.2010309@liwing.de> Date: Wed, 04 Jun 2003 12:45:28 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (Compact - Build 2) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Pearce References: <46954.196.37.44.152.1054722796.squirrel@mail.inf.co.za> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: Tape backup using a OnStream SC-30 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, 04 Jun 2003 10:45:29 -0000 On 6/4/2003 12:33 PM, Mark Pearce wrote: > Hi Hi Mark, > I am having trouble trying to backup data using an OnStream ADR drive. > I have read the dump, sa, sr, tar man pages and have googled as well, > but am still having no joy. > > I have the following results: > > dmesg: > sa0 at ahc0 bus 0 target 4 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 7) > > > camcontrol devlist -v: > scbus0 on ahc0 bus 0: > at scbus0 target 4 lun 0 (pass0,sa0) > < > at scbus0 target -1 lun -1 () > scbus-1 on xpt0 bus 0: > < > at scbus-1 target -1 lun -1 (xpt0) > > > > [09:38 AM root@server dev]# /sbin/dump -0uan -f - /data1 | gzip -2 |dd > of=/dev/sa0 > DUMP: Date of this level 0 dump: Wed Jun 4 09:44:07 > 2003 > DUMP: Date of last level 0 dump: the epoch > > DUMP: Dumping /dev/ad0s1h (/data1) to standard output > DUMP: mapping (Pass I) [regular files] > dd: /dev/sa0: Invalid argument > > [09:56 AM root@server dev]# tar c /data1 > tar: /dev/sa0: Cannot open: Invalid argument > tar: Error is not recoverable: exiting now > > > I am at my wits end, I seriously need to get this backup working. I > have found some reports that the SCSI adaptor, using the aha78xx driver > coupled with this OnStream drive might be incompatable. > > Either that or I am doing something wrong, please help. No, you don't do sth. wrong. Onstream did but didn't tell it it's customers before the buy. The produced streamers with an SCSI interface but didn't respect the SCSI streaming access commands, but implement an own command set. You can do some things to get it work: 1) Port the linux driver to FreeBSD 2) Use vmware to run either linux or windows which may grant access 3) Use another streamer 4) Use another backup medium. just like cdr Jens