Skip site navigation (1)Skip section navigation (2)
Date:      03 Sep 1999 17:17:41 -0700
From:      Scott.Blachowicz@seaslug.org
To:        freebsd-questions@freebsd.org
Subject:   Problem writing to Exabyte 8200 drive under FreeBSD 3.2
Message-ID:  <uiu5rsf6i.fsf@seaslug.org>

next in thread | raw e-mail | index | archive | help
[I posted this to comp.unix.bsd.freebsd.misc, then remembered this
list...sorry if you see it twice]

Hi-

I'm finally getting around to setting up my Exabyte EXB-8200 8mm tape
drive hooked up to an ncr0 SCSI controller on a newly installed FreeBSD
3.2 system.  The tape drive IDs like this:

    sa0 at ncr0 bus 0 target 3 lun 0
    sa0: <EXABYTE EXB-8200 2618> Removable Sequential Access SCSI-CCS device
    sa0: 3.300MB/s transfers

I've tried dump'ing & tar'ing to a couple different tapes along with
various 'mt' rewind, fsf, offline commands.  Those 'mt' commands work, but
writing to the tape:

    c2-sab:/backups# tar cvvf /dev/nrsa0 .
    drwxr-xr-x root/wheel        0 Sep  2 19:40 1999 ./
    drwxrwxrwx root/wheel        0 Jul 26 17:21 1999 voyager/
    drwxrwxr-x scott/wheel       0 Jul 26 12:05 1999 voyager/Dev-in-progress/
    drwxrwxr-x scott/wheel       0 Jul 27 23:46 1999 voyager/Dev-in-progress/19990726/
    drwxrwxr-x scott/wheel       0 Jul 26 12:07 1999 voyager/Dev-in-progress/19990726/Full/
    drwxrwxr-x scott/wheel       0 Jul 26 12:08 1999 voyager/Dev-in-progress/19990726/Full/P/
    drwxrwxr-x scott/wheel       0 Jul 26 12:38 1999 voyager/Dev-in-progress/19990726/Full/P/arg/
    drwxrwxr-x scott/wheel       0 Jul 26 12:07 1999 voyager/Dev-in-progress/19990726/Full/P/arg/Bin/
    drwxrwxr-x scott/wheel       0 Jul 26 12:07 1999 voyager/Dev-in-progress/19990726/Full/P/arg/Bin/Note/
    drwxrwxr-x scott/wheel       0 Jul 26 12:07 1999 voyager/Dev-in-progress/19990726/Full/P/arg/Bin/tmp/
    drwxrwxr-x scott/wheel       0 Jul 26 12:08 1999 voyager/Dev-in-progress/19990726/Full/P/arg/Bitmaps/
    -r--rw-r-- scott/wheel    1480 Dec 30 10:22 1998 voyager/Dev-in-progress/19990726/Full/P/arg/Bitmaps/foo1.BMP
    -r--rw-r-- scott/wheel    1480 Jan 29 20:27 1998 voyager/Dev-in-progress/19990726/Full/P/arg/Bitmaps/foo2.BMP
    -r--rw-r-- scott/wheel    1224 Jan 29 20:27 1998 voyager/Dev-in-progress/19990726/Full/P/arg/Bitmaps/foo3.BMP
    tar: can't write to /dev/nrsa0 : No space left on device

or...

    c2-sab:/backups# ./dumpit
    + level=0
    + mt=/dev/nrsa0
    + mt -f /dev/nrsa0 rew
    + dump -0uab 32 -f /dev/nrsa0 /backups
      DUMP: Date of this level 0 dump: Thu Sep  2 21:40:55 1999
      DUMP: Date of last level 0 dump: the epoch
      DUMP: Dumping /dev/rwd1s1e (/backups) to /dev/nrsa0
      DUMP: mapping (Pass I) [regular files]
      DUMP: mapping (Pass II) [directories]
      DUMP: estimated 1054281 tape blocks.
      DUMP: End of tape detected
      DUMP: Closing /dev/nrsa0
      DUMP: Change Volumes: Mount volume #2
      DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
      DUMP: Volume 2 begins with blocks from inode 0
      DUMP: EOT detected at start of the tape!
      DUMP: The ENTIRE dump is aborted.

With the tape that's in there right now, I've done successful 'mt fsf 1'
and 'mt rew' commands (and each command took a while and I could hear the
tape moving), then...

    c2-sab:/backups# mt -f /dev/nrsa0 rew
    c2-sab:/backups# dd if=/dev/nrsa0 | od -x
    dd: /dev/nrsa0: Invalid argument
    0+0 records in
    0+0 records out
    0 bytes transferred in 0.024815 secs (0 bytes/sec)
    c2-sab:/backups# mt -f /dev/nrsa0 status
    Mode      Density              Blocksize      bpi      Compression
    Current:  default              variable       0        unsupported
    ---------available modes---------
    0:        default              variable       0        unsupported
    1:        default              variable       0        unsupported
    2:        default              variable       0        unsupported
    3:        default              variable       0        unsupported
    ---------------------------------
    Current Driver State: at rest.
    ---------------------------------
    File Number: 0  Record Number: 0

It seems like I've gotta be missing something pretty basic hear, but I
can't think of what it could be.  Any ideas?
-- 
Scott.Blachowicz@seaslug.org



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?uiu5rsf6i.fsf>