From owner-freebsd-scsi Sat Dec 11 16:28:32 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 07CF914BCA for ; Sat, 11 Dec 1999 16:28:30 -0800 (PST) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.12 #1) id 11wwsG-0001fn-00 for freebsd-scsi@freebsd.org; Sat, 11 Dec 1999 16:28:28 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-scsi@freebsd.org Subject: filemarks? Message-Id: Date: Sat, 11 Dec 1999 16:28:28 -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org freebsd 3.3-stable of 99.11.5 ncr0: rev 0x04 int a irq 10 on pci0.20.0 sa0 at ncr0 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 8) if a dump is taken with /usr/bin/mt -f /dev/rsa0 rewind /sbin/dump 0uaf /dev/nrsa0 /dev/wd0s2a /sbin/dump 0uaf /dev/nrsa0 /dev/wd0s2e /sbin/dump 0uaf /dev/nrsa0 /dev/wd0s2f /sbin/dump 0uaf /dev/nrsa0 /dev/wd0s1 /usr/bin/mt -f /dev/rsa0 rewind i expect five files to be written to the tape. but, if i issue /usr/bin/mt -f /dev/rsa0 fsf 2 the tape fast forwards all the way to the end, pauses, then fast rewinds to the beginning and barfs # /usr/bin/mt -f /dev/rsa0 fsf 2 mt: /dev/rsa0: fsf: Input/output error i know that it is a full rewind because if i then issue /sbin/restore -if /dev/rsa0 i see the first file system as opposed to the third. i get the same result with /usr/bin/mt -f /dev/rsa0 rewind /sbin/restore -if /dev/rsa0 -s 2 i can actually get the five 'files' by for i in 1 2 3 4 5; do /bin/dd if=/dev/nrsa0 bs=64k of=tape%i done and then see each of the files properly with restore. what am i misunderstanding here? randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message