Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 18:00:27 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Sean Noonan <snoonan@cx952600-a.fed1.sdca.home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 4.3-STABLE, Amanda, and HP SureStore 12000E 4mm DAT changer--HELP!
Message-ID:  <3B15191B.A944F210@i-clue.de>
References:  <Pine.BSF.4.21.0105300837100.12494-100000@cx952600-a.fed1.sdca.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Sean Noonan schrieb:
> 
> Dear listers:
> 
> Struggling with getting Amanda 2-4.2-p2 from ports collection up and
> running on a FreeBSD 4.3-STABLE boxen with a HP SureStore 12000E 4mm DAT
> changer.  Have resolved many, many issues, but still strugling with a
> few.  Hope someone can help.
> 
> 1. Whilst trying to test amanda under the userid 'operator', could not do
> so without first changing operator entry in passwd file from /sbin/nologin
> to a valid shell.  Error message was "this account is currently disabled
> (or something similar).  Is this kosher, security-wise?

no. su -m operator will leave you in your current shell, but change the
UID.

> 2. Likewise, could not run 'amtest' under operator account without first
> doing a 'chown operator.operator /dev/ch0'.  Is this copastetic?  Any
> possible implications, security-related or otherwise?

amtest? are you sure? Don't you mean amcheck?

> 3. In the amanda.conf file, they have a sample 'tapedev' entry for a HP
> SureStore 1200E.  I'm wondering if this is a typo and it should be really
> read 12000E (extra zero in there?).

Don't know. Get to the specs of your drive, compare with the specs in
amanda.conf, and decide for yourself.

> 4. Assuming that #3 above is really a typo and it should have read HP
> SureStore 12000E, should I use that or should I use the 'HP DAT'
> entry?  The drive is a HP C1553A 9503.

Decide for yourself. Look up the spec at HP's website, read the other
_examples_, write your own spec. I had to do so for my DLT1 drive -- it
was really easy.

> 5. Assuming the non-rewinding tape device is 'nrsa0', correct?  And the
> rewinding device is 'sa0'?

Either sa or rsa, depending if you want to get raw or block (buffered)
access.

> 6. In the /dev directory, there are entries for 'nrsa0.0', 'nras0.1',
> 'nrsa0.2', and 'nrsa0.3'.  Are these different instances of 'nrsa0' which
> correpsond to slots in the changer?  If so why aren't there entries for
> 'nrsa0.4' and 'nrsa0.5'?  Afterall, it's a six-slot changer?  Do I need to
> manually make these devices?  If so, how?

Don't know, sorry. to make devices, cd /dev, sh MAKEDEV. This is a shell
script, which you should read for more information.

> 7. What's the difference between '/dev/ch0' and '/dev/passX'?  When
> is the use of each appropriate?
man ch
man pass

basically, ch is the interface to control the changer robot, pass is a
passthrough SCSI driver.

> 7. My biggest problem thus far is finding a "changer glue script" that
> works with the HP SureStore 12000E.  I've tried chg-chio, chg-mtx,
> chg-manual, chg-everthing.  The only thing I haven't tried, and my guess
> is that it *would* work, is chg-scsi.  Apparently it's broke since FreeBSD
> switched to CAM?  I notice the Makefile for the port has references to
> chg-scsi remarked out.  I searched the archives and found conflicting
> reports of chg-scsi working with FreeBSD.  One reference said chg-scsi has
> been broke since the introduction of CAM.  Another contradicted that one
> and said that the author had since fixed the problem.  Don't believe this
> to be the case, since chg-scsi didn't build automatically.  Tried manually
> making chg-scsi, but got numerous errors.  Can post errors to the list if
> anyone wants to see them.

Just having checked the port myself, I believe chg-scsi is broken. Since
I need a single DLT only here, this is no showstopper for me.

> I guess the best thing that could happen is for someone to post or send me
> their WORKING configuration of FreeBSD 4.3, HP SureStore 12000E, and
> Amanda 2.4.2-p2.  Anybody got this combo out there???

Unfortunately no -- I ditched all that DAT stuff 'cause I was not able
to read tape older than a few months back.

Just my EUR.02
-Christoph Sold

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?3B15191B.A944F210>