Re: Barcode reader

2002-03-17 Thread Thomas Hepper

Hi,
On Fri, Mar 15, 2002 at 10:48:24AM -0500, Eric Trager wrote:
> 
> I added this to the chg-scsi-solaris.conf file I use and the chg-scsi
> debug files now report that a barcode reader is available, but the
> labelfile for the configuration remains empty, even after running an
> "amtape Config show". Any ideas on how to close the final gap on getting
> the mapping to work? Below is a debug file from a recent attempt to
> perform an "amtape Config label LABEL".
> 
[...]
> 
> ChgExit in MapBarCode, reason MapBarCode, DB Version does not match


You should drop the old labelfile and rerun an amtape  show

Thomas

-- 
  ---
  |  Thomas Hepper[EMAIL PROTECTED] |
  | ( If the above address fail try   ) |
  | ( [EMAIL PROTECTED])|
  ---



Re: amtape and tape changer problem

2002-03-17 Thread Thomas Hepper

Hi,
On Thu, Mar 14, 2002 at 04:51:10PM -0500, Zhen Liu wrote:
[...]
> # START DecodeModeSense
> 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00e...

OK, the problem seems to be here, ADIC returns the results with an different
offset than others, to solve this pleas add the following to you chg-scsi.conf
and retry it:
changerident FastStor_DLT

If this helps i will extend chg-scsi to run without this value.

Thomas

-- 
  ---
  |  Thomas Hepper[EMAIL PROTECTED] |
  | ( If the above address fail try   ) |
  | ( [EMAIL PROTECTED])|
  ---



Re: amcheck and Tandberg tape library

2002-03-17 Thread Thomas Hepper

Hi,
On Fri, Mar 15, 2002 at 01:35:42PM +0100, Massimiliano Panichi wrote:
> Hi, I've installed amanda 2.4.3b3 and I'm trying to use it with a
> Tandberg 1420 library with SLR100 tapes. I've configured the library and
> labelled the tapes. When I try an amcheck I get this error
> 
> 
> bash-2.05$ amcheck Infogroup
> Amanda Tape Server Host Check
> -
> Holding disk /opt/amanda/dumps: 13160760 KB disk space available, that's
> plenty
> amcheck-server: fatal slot BarCode: == 1 and emubarcode == 1

Hmm, could you port you changer config and the debug file. It seems that
you have set emubarcode, and chg-scsi also finds out that the library has
an barcode reader. So if emubarcode is set remove it and try it again.



Thomas
-- 
  ---
  |  Thomas Hepper[EMAIL PROTECTED] |
  | ( If the above address fail try   ) |
  | ( [EMAIL PROTECTED])|
  ---



Re: next tape selection?

2002-03-17 Thread John R. Jackson

>How does Amanda decide which tape to use next -- such as when mentioning 
>it in mailed backup reports?

This comes from two pieces of information.  The main one is the tapelist
file.  Entries are read from this file and put in datestamp order.
If two tapes have the same datestamp, the one that appears later in the
file is considered "older" (will be used first).

Things like "no-reuse" also come into play, skipping over some entries.

The next piece of data is "tapecycle" from amanda.conf.  If there are
less than this number of tapes in the tapelist file, Amanda will require
new tapes until the count is satisified.

If there are more (reusable) entries in tapelist that tapecycle, Amanda
will say it expects the oldest tape, but I *think* (I'd have to do
some testing) Amanda will accept new tapes or any tape older than the
"expected" one.

>I ask because I have labelled a dozen tapes and, after the first dump is
>complete, Amanda says "The next tape Amanda expects to use is Daily12".  
>Why isn't it asking for a new tape?

Don't know without seeing your tapelist and knowing what your tapecycle
is set to.

>Ben

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Configuration question

2002-03-17 Thread Paul D. Schmidt

Hi,

I have been happily running with my current config for over a year:

Equipment: ADIC 12-tape DDS-2 autoloader
Software: Amanda 2.4.2p2 on FreeBSD 4.5-STABLE

dumpcycle 7 days
runspercycle 7
tapecycle 11 tapes
runtapes 1

(I only have 11 tapes in the magazine because when I had a cleaning
tape in the 12th slot, amanda (or my changer, not sure which) would
get confused every time it got inserted (during a tape scan, for
example))

I'm about to add a lot more data to back up, which will probably
make me start needing runtapes 2 (using jrj's gtar-wrapper.sh to split
into smaller backup images...thanks John!).

Assuming I put another tape in the empty slot to fill it up, will I need to
reduce my runspercylce to 6 since runspercycle*runtapes would be greater
than the number of tapes in my magazine?

If I were to bump runtapes up to 2 (and bring runspercycle down to 6)
what would need to happen as far as which tapes are in the magazine
in which order?  Would it still use my currently-configured ConfigName-000
to ConfigName-010 tapes, or would I need to do something like amadmin rmtape
the last 5 tapes and label 6 new tapes in between the first 5?

I guess with my data it isn't CRITICAL that I don't lose any backups in this
process (i.e. starting over) but since I find it important enough to back up
in the first place, it'd be nice if it could happen that way :)

Oh, and as an unrelated question since I'm posting anyway, why is there
a compiled-in configuration name if it's mandatory to specify the config
on (almost) every tool's command line anyway?  Just curious.

Thanks in advance!
-Paul


--
[Paul D. Schmidt...][[EMAIL PROTECTED]]
[Release Engineer..][[EMAIL PROTECTED]]
[Xtime, Inc][http://www.xtime.com]

  "One Unix to rule them all, One Resolver to find them,
   One IP to bring them all and in the zone to bind them."  --Anonymous



want to relabel the tape

2002-03-17 Thread Robert SHEN

I tried to relabel the tape used previous by another config, and I got the
following error:

...
rewinding, reading label Monthly-03, tape is in another amanda configuration
tape not labeled.

any advise?