How do you specify a drive number with a mirror rait using chg-robot?

~# su amanda -c "/opt/amanda-3.1.0beta2/sbin/amtape rait eject 1"
**
** ERROR:(device.c:494):device_open: assertion failed: (device_name != NULL)

amtape.20100506122700.debug
Thu May  6 12:27:00 2010: amtape: pid 27510 ruid 110 euid 110 version 
3.1.0beta2: start at Thu May  6 12:27:00 2010
Thu May  6 12:27:00 2010: amtape: pid 27510 ruid 110 euid 110 version 
3.1.0beta2: rename at Thu May  6 12:27:00 2010
Thu May  6 12:27:00 2010: amtape: chg-robot: using statefile 
'/opt/amanda-3.1.0beta2/etc/amanda/av48-state'
Thu May  6 12:27:00 2010: amtape: chg-robot: using statefile 
'/opt/amanda-3.1.0beta2/etc/amanda/av48-state'
Thu May  6 12:27:00 2010: amtape: 
Amanda::Changer::robot=HASH(0x10cfbc0)->eject()
Thu May  6 12:27:00 2010: amtape: 
Amanda::Changer::robot=HASH(0x10d6760)->eject()
Thu May  6 12:27:00 2010: amtape: invoking /usr/sbin/mtx -f /dev/changer status
Thu May  6 12:27:02 2010: amtape: av48-half-1: updating state
Thu May  6 12:27:02 2010: amtape: av48-half-1: unloading drive 1
Thu May  6 12:27:02 2010: amtape: warning: Use of uninitialized value
$device_name in concatenation (.) or string at
/opt/amanda-3.1.0beta2/perl/Amanda/Changer/robot.pm line 972.

Thu May  6 12:27:02 2010: amtape: av48-half-1: ejecting  before unload

jf

Reply via email to