Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2000 15:44:58 -0500
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-questions@freebsd.org
Subject:   Trouble Reading Tape, Drive or Software?
Message-ID:  <20000210154332.A18555@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000210154332.A18555>