Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 1999 07:10:48 -0800
From:      Randy Bush <randy@psg.com>
To:        Martin Welk <mw@theatre.sax.de>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: filemarks?
Message-ID:  <E11xAe8-0002q1-00@rip.psg.com>
References:  <E11wwsG-0001fn-00@rip.psg.com> <19991212082403.A34441@theatre.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>> the tape fast forwards all the way to the end, pauses, then fast rewinds
>> to the beginning and barfs
> No wonder, you're always and always again using /dev/rsa0

apologies for the typo.  note that the `restore -s` did not work.

here the problem report is with the problems in the problem report
fixed. :-)

btw, i suspect hardware.  it's a bad scsi month for me.

randy

----

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/nrsa0 fsf 2

the tape fast forwards all the way to the end, pauses, then fast rewinds
to the beginning and barfs

    # this is now an actual cut and paste
    # /usr/bin/mt -f /dev/nrsa0 fsf 2
    mt: /dev/nrsa0: 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  # this should not need no-rewind

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?


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?E11xAe8-0002q1-00>