From owner-freebsd-isp Fri Sep 17 8:35: 3 1999 Delivered-To: freebsd-isp@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id D63B1153FE for ; Fri, 17 Sep 1999 08:34:53 -0700 (PDT) (envelope-from abc@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.252]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id KAA84142; Fri, 17 Sep 1999 10:34:03 -0500 (CDT) (envelope-from abc@megared.net.mx) Message-ID: <008701bf0122$1bf1a3c0$fca3f9cf@megared.net.mx> Reply-To: "Alejandro Ramirez" From: "Alejandro Ramirez" To: , References: <37E1F80B.A91138C8@skynetweb.com> Subject: RE: Tape Drive Insanity!! Date: Fri, 17 Sep 1999 10:34:19 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Try something like this (put it in a script): /usr/bin/mt -f /dev/rsa0 rewind /usr/bin/mt -f /dev/rsa0 comp on /sbin/dump -0auf /dev/nrsa0 / /sbin/dump -0auf /dev/nrsa0 /usr /sbin/dump -0auf /dev/nrsa0 /var /usr/bin/mt -f /dev/rsa0 rewind This works for me... BTW what the Handbook says about "mt fsf 1" applies only for QIC Tapes, not for DDS ones. Ales ----- Original Message ----- From: Phillip Ryker To: Sent: Friday, September 17, 1999 3:12 AM Subject: Tape Drive Insanity!! > I am confused as how to use a tape system under FreeBSD. I have a > system running FreeBSD v3.3 -STABLE. I have completed a recent make > world and have built a custom kernel to support the tape system. > > The Tape system I am using is a Seagate Travan SCSI 4 - 8 gig system. > The tape is seen as device sa0. When I type the following command: > > mt status > > I get: > > Mode Density Blocksize bpi Compression > Current: 0x45 variable 0 enable > ---------available modes--------- > 0: 0x45 variable 0 enable > 1: 0x45 variable 0 enable > 2: 0x45 variable 0 enable > 3: 0x45 variable 0 enable > --------------------------------- > Current Driver State: at rest. > --------------------------------- > File Number: 0 Record Number: 0 > > I read through the handbook and I did exactly what it asks. I did a: > > mt fsf 1 > > And I got the following error: > > mt: /dev/nrsa0: fsf: Input/output error > > And the /var/log/messages reports: > > Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): SPACE. CDB: 11 1 > 0 > 0 1 0 > Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): BLANK CHECK req sz: 1 > (decimal) asc:0,5 > Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): End-of-data detected > > ALso, when I try to run a dump as follows: > > dump -0u /etc > > I get the following: > > bash-2.03# dump -0u /etc > DUMP: Date of this level 0 dump: Fri Sep 17 14:40:02 1999 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping /etc to /dev/rsa0 > DUMP: bad sblock magic number > DUMP: The ENTIRE dump is aborted. > > Any insight on what I am doing wrong here or any help would be greatly > appreciated!! > > Thank you > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message