HP SureStore (HP35470A), DU40F and Alpha 4/266

From: Scott Ruffner <jpr9c_at_cs.virginia.edu>
Date: Fri, 29 Oct 1999 16:38:58 -0400

Hello again managers,

I've got an Alpha 250 4/266 with an HP35470A (SS2000E) 4mm DAT drive
attached. Whenever I try to use dump with it, I get errors. In fact I
get errors no matter what I try to use to write to it. However, I can
read from it just fine.

The device shows up correctly at the boot prompt with "show device", and
the kernel recognizes it as "tz6":


Oct 29 16:08:44 alpha vmunix: tz6 at scsi0 target 6 lun 0 (LID=3)
(HP HP35470A 1009)


I had to modify the ddr.dbase file with some parameters I got from the
folks at HP:

SCSIDEVICE
    #
    Type = tape
    Name = "HP" "HP35470A"
    #
    PARAMETERS:
        MaxTransferSize = 0xffffff
        ReadyTimeSeconds = 0x2d
        InquiryLength = 0x2b
    #
    DENSITY:
        DensityNumber = 0
        OneFileMarkOnClose = yes
        DensityCode = 0x00
        Blocking = 0
        CompressionCode = 0x0
        Buffered = 0x1
    #
    DENSITY:
        DensityNumber = 1
        OneFileMarkOnClose = yes
        DensityCode = 0x0
        Blocking = 0
        CompressionCode = 0x1
        Buffered = 0x1


After adding this, I ran the /sbin/ddr_config program to rebuild the
/etc/ddr.db database.

Next, I deleted all of the /dev/*mt0* entries so that none of the old
tape device entries were there. Then I rebooted.

I can read from the tape with dd and tar:

: alpha:/; tar -tvf /dev/rmt0h
blocksize = 20
-rw-r--r-- 14/200 14946818 Sep 18 02:13:39 1996 toro.001

: alpha:/; dd if=/dev/rmt0h of=/usr/tmp/tmp.dd count=100
100+0 records in
100+0 records out
: alpha:/; tar -tvf /usr/tmp/tmp.dd
blocksize = 100
-rw-r--r-- 14/200 14946818 Sep 18 02:13:39 1996 toro.001

However, whenever I try to write to the tape (which is not
write-protected), I get:

: alpha:/; dd if=/usr/tmp/tmp.dd of=/dev/rmt0h count=100
/dev/rmt0h: Permission denied

Or, what I really want to do:

: alpha:/; dump 0f /dev/rmt0h /
dump: Dumping from host alpha.brni.com
dump: Date of this level 0 dump: Fri Oct 29 16:34:45 1999 EDT
dump: Date of last level dump: the start of the epoch
dump: Dumping /dev/rrz0a (/) to /dev/rmt0h
dump: Mapping (Pass I) [regular files]
dump: Mapping (Pass II) [directories]
dump: Cannot open device file /dev/rmt0h
dump: NEEDS ATTENTION: Do you want to retry the open?: ("yes" or "no")

The drive clicks a few times and appears to be starting to do the
backup, and then bombs out. I'm wondering what I've not got set. Any
suggestions would be most welcome!
-- 
Scott Ruffner                   Computer Science Department	
Systems Engineer                226E Olsson Hall
ruffner_at_cs.virginia.edu         University of Virginia
(804)982-2219
Received on Fri Oct 29 1999 - 20:44:28 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT