Jeremiah D. Jester wrote:
> I'm having problems simply unloading a tape from my changer. Also, not sure 
> if the 'Hardware Error' is due to me addressing the device incorrectly or if 
> there is actually an issue. No more info found in the logs. Any ideas?

> [r...@monk bacula]# mtx -f /dev/sg3 unload /dev/sg3:1 2

This should be "mtx -f /dev/sg3 unload 2 0"

> [r...@monk bacula]# mtx -f /dev/sg3 unload 2

In this case the 0 is implied

To unload the other drive would be "mtx -f /defv/sg3 unload 21 1"

try these with bacula-sd not running first.

If they work and you have trouble when bacula-sd is going, then make 
sure you have released the tapes within bconsole before trying to move 
them around - and if bacula itself is reporting problems then make sure 
you have permisions set correctly for user bacula to execute commands 
("su - bacula" and try mtx again)

The thread a month ago was about the tape drives not being unlocked 
before bacula calls mtx - it's unknown if this is a bacula issue, a 
hardware issue or a race condition at this point.





------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to