Hi,

17.12.2007 20:17,, Dan Langille wrote::
> Robin Blanchard wrote:
...snip even more...
>> # mt -f /dev/nst0 status
>> SCSI 2 tape drive:
>> File number=-1, block number=-1, partition=0.
>> Tape block size 0 bytes. Density code 0x0 (default).
>> Soft error count since last status=0
>> General status bits on (10000):
>>  IM_REP_EN
>>
>> # /usr/local/bacula-2.2.6/sbin/btape -c
>> /usr/local/bacula-2.2.6/etc/bacula-sd.conf /dev/nst0
>> Tape block granularity is 1024 bytes.
>> btape: butil.c:285 Using device: "/dev/nst0" for writing.
>> 17-Dec 14:06 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0"
>> command.
>> 17-Dec 14:06 btape JobId 0: 3302 Autochanger "loaded? drive 0", result
>> is Slot 2.
>> 17-Dec 14:06 btape: Fatal Error at device.c:296 because:
>> dev open failed: dev.c:433 Unable to open device "Drive-1" (/dev/nst0):
>> ERR=Input/output error
>>
>> 17-Dec 14:06 btape JobId 0: Fatal error: butil.c:194 Cannot open
>> "Drive-1" (/dev/nst0)
> 
> 
> [a lot of old stuff snipped]
> 
> I think you are now asking for help with the above messages, but you 
> haven't explicitly asked.
> 
> When running btape, be sure bacula-sd is not running.  That is your 
> firstcheck.

The second check would be the permissions. If the SD runs as user 
bacula, make sure that user can write to /dev/nst0. Running a test as 
root is more likely to succeed :-)

Arno

> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to