Date: Fri, 17 Sep 1999 10:34:19 -0500 From: "Alejandro Ramirez" <abc@megared.net.mx> To: <pryker@skynetweb.com>, <freebsd-isp@FreeBSD.ORG> Subject: RE: Tape Drive Insanity!! Message-ID: <008701bf0122$1bf1a3c0$fca3f9cf@megared.net.mx> References: <37E1F80B.A91138C8@skynetweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pryker@skynetweb.com> To: <freebsd-isp@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008701bf0122$1bf1a3c0$fca3f9cf>