On Fri, May 7, 2010 at 1:13 PM, Jean-Francois Malouin
<ma...@bic.mni.mcgill.ca> wrote:
> I see a lot of warning in the debug file:
>
> Fri May  7 13:54:34 2010: amtape: warning: Use of uninitialized value in 
> bitwise or (|) at
> /opt/amanda-3.1.0beta2/perl/Amanda/Changer/rait.pm line 596.

These are harmless and already fixed:
  
http://github.com/zmanda/amanda/commit/9861a8362a481f0625ee6e6be2fa352e82690ee9

> ~# su amanda -c "/opt/amanda-3.1.0beta2/sbin/amtape rait eject {0,1}"
> ERROR: av48-half-2: this changer instance is not configured to access drive 0

I hate to say this, but shell expansion is rewriting that to
 # su amanda -c "/opt/amanda-3.1.0beta2/sbin/amtape rait eject 0 1"
and Amanda is trying to eject drive 0, equivalent to {0,0}, so the
second half of your RAIT is complaining.  Use single-quotes around the
{..} and you should be fine.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

Reply via email to