Bacula-users

Re: [Bacula-users] mount does not load tape from autochanger

2008-06-27 14:21:43
Subject: Re: [Bacula-users] mount does not load tape from autochanger
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "James Courtier-Dutton" <james.dutton AT gmail DOT com>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 27 Jun 2008 14:21:37 -0400
On Fri, Jun 27, 2008 at 2:14 PM, James Courtier-Dutton
<james.dutton AT gmail DOT com> wrote:
> 2008/6/27 John Drescher <drescherjm AT gmail DOT com>:
>>> mount storage=Tape slot=4
>>> 3301 Issuing autochanger "loaded? drive 0" command.
>>> 3302 Autochanger "loaded? driver 0", result: nothing loaded.
>>> 3901 Unable to open device "Driver-1" (/dev/st0): ERR=dev.c:432 Unable
>>> to open device "Driver-1" (/dev/st0): ERR=No medium found
>>>
>>>
>>> As you can see, it is not even attempting an autochanger load 4
>>>
>> First off use /dev/nst0 instead of /dev/st0.
> Good catch, thank you.
>
>>
>> Also have you run the autochanger tests?
> All the autochanger tests work. It loads tapes, unloads tapes etc.
>
> If I use "mtx -f /dev/sg1 load 4"  then type "mount" in bconsole the
> mount works.
> If I type "umount" in bconsole, the tape gets put back into slot 4, so
> the autochanger is working fine with the current bacula config.
>
> The bacula-sd.conf file is configured correctly. Everything else
> works, except the auto-mounting. auto-unmounting works, tapes back up
> and restore etc.
>
If after issuing this command (mount slot=4 ...) does the tape get
loaded if you wait 5 minutes? I know the initial reaction is an error
code.

John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users