Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 1999 08:25:24 +0100
From:      Phillip Ryker <pryker@skynetweb.com>
To:        freebsd-questions@freebsd.org
Subject:   Tape Drive Insanity
Message-ID:  <37E1ECE4.32D78693@skynetweb.com>

next in thread | raw e-mail | index | archive | help
I am confused as how to use a tape system under FreeBSD.  I have a
system running FreeBSD v3.3 -STABLE.  I have completed a recent make
world and have built a custom kernel to support the tape system.

The Tape system I am using is a Seagate Travan SCSI 4 - 8 gig system. 
The pape is seen as device sa0.  When I type the following command:

	mt status

I get:

Mode      Density              Blocksize      bpi      Compression
Current:  0x45                 variable       0        enable
---------available modes---------
0:        0x45                 variable       0        enable
1:        0x45                 variable       0        enable
2:        0x45                 variable       0        enable
3:        0x45                 variable       0        enable
---------------------------------
Current Driver State: at rest.
---------------------------------
File Number: 0  Record Number: 0

I read through the handbook and I did exactly what it asks.  I did a:

	mt fsf 1

And I got the following error:

	mt: /dev/nrsa0: fsf: Input/output error

And the /var/log/messages reports:

	Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): SPACE. CDB: 11 1 0 0 1 0
Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): BLANK CHECK req sz: 1
(decimal) asc:0,5
Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): End-of-data detected

ALso, when I try to run a dump as follows:

	dump -0u /etc

I get the following:

bash-2.03# dump -0u /etc
  DUMP: Date of this level 0 dump: Fri Sep 17 14:40:02 1999
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /etc to /dev/rsa0
  DUMP: bad sblock magic number
  DUMP: The ENTIRE dump is aborted.

Any insight on what I am doing wrong here or any help would be greatly
appreciated!!

Thank you


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?37E1ECE4.32D78693>