Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 16:28:28 -0800
From:      Randy Bush <randy@psg.com>
To:        freebsd-scsi@freebsd.org
Subject:   filemarks?
Message-ID:  <E11wwsG-0001fn-00@rip.psg.com>

next in thread | raw e-mail | index | archive | help
freebsd 3.3-stable of 99.11.5
ncr0: <ncr 53c815 fast10 scsi> rev 0x04 int a irq 10 on pci0.20.0
sa0 at ncr0 bus 0 target 0 lun 0
sa0: <HP HP35480A T503> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11wwsG-0001fn-00>