From owner-freebsd-questions Thu Feb 10 12:40:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by builder.freebsd.org (Postfix) with ESMTP id 41ED54534 for ; Thu, 10 Feb 2000 12:40:12 -0800 (PST) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id PAA18590 for freebsd-questions@freebsd.org; Thu, 10 Feb 2000 15:44:58 -0500 (EST) (envelope-from cjc) Date: Thu, 10 Feb 2000 15:44:58 -0500 From: "Crist J. Clark" To: freebsd-questions@freebsd.org Subject: Trouble Reading Tape, Drive or Software? Message-ID: <20000210154332.A18555@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Last night, I did a backup of a machine and piped the dump output over ssh to another machine which then put the data on tape. The command on the remote host was basically something like, dump -ua0f - / | ssh tape-server dd of=/dev/nrsa0 However, I cannot now read the tape. I first just tried stuff like, # restore -tvf /dev/nrsa0 But it would report it was not a dump tape. It seemed like it might be a blocksize issue, so I tried to reverse the process, # dd if=/dev/nrsa0 | restore -tvf - But no good. dd(1) gives me the following (this is cut and paste of an attempt to just read the tape to a file), dd if=/dev/nrsa0 of=var.dmp dd: Feb 10 11:12:58 backmail /kernel: (sa0:aha0:0:6:0): 10240-byte tape record bigger than suplied buffer /dev/nrsa0: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 11.644325 secs (0 bytes/sec) Feb 10 11:12:58 backmail /kernel: (sa0:aha0:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. When I rewind the tape (mt -f /dev/rsa0 rewind) and try again, I get the same message. Is this a problem with my dd(1) options, dump(8) options, kernel configuration, or is it a sign that the tape hardware is a problem? This is the first time I've used a tape on FreeBSD. Some additional info, the OS version is 3.4-STABLE and the drive is a "EXABYTE EXB-850085QANXRC 06X0" in the dmesg. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message