Bacula-users

Re: [Bacula-users] [Bacula-devel] bug in autolabel code in 5.0.0?

2010-02-04 17:13:53
Subject: Re: [Bacula-users] [Bacula-devel] bug in autolabel code in 5.0.0?
From: Bob Hetzel <beh AT case DOT edu>
To: Richard Scobie <richard AT sauce.co DOT nz>, bacula-users AT lists.sourceforge DOT net, bacula-devel AT lists.sourceforge DOT net
Date: Thu, 04 Feb 2010 17:10:52 -0500
Richard Scobie wrote:
> Bob Hetzel wrote:
> 
>> My next thought was to try use "tar" to read and write from a tape.  That
>> works fine:  I've been able to back up an entire directory and restore
>> files from it.  I've also back up a single file and restored that file,
>> comparing it to the original file and no differences were found.
> 
> This will not be exercising the autochanger so will probably be fine. 
> What I was wondering is if you are able to restore a bacula backup 
> through the autochanger.
> 
>> Upgrading to Ubuntu 9.10 brought along a ton of upgraded programs and
>> libraries so I've no idea where to begin.
>>
>> Has anybody got any other ideas?
> 
> Have a look at this thread:
> 
> http://marc.info/?l=bacula-users&m=126281654919968&w=2
> 
> I have just set up a system using an HP library and was seeing this 
> error and this thread is what I found.
> 
> Possibly the kernel has been updated on your system and broken things. I 
> had to compile the latest stable to get it working.
> 
> Regards,
> 
> Richard

Richard,

The auto test passed, but I now cannot mount any tape from within bacula, 
either completely new (i.e. unlabeled) or filled completely with bacula 
backups.  It always thinks the tape is not labeled, giving errors like these:

block.c:1012 Read error on fd=5 at file:blk 0:0 on device "IBMLTO4-0" 
(/dev/nst0). ERR=Device or resource busy.
3902 Cannot mount Volume on Storage Device "IBMLTO4-0" (/dev/nst0) because:
Requested Volume "" on "IBMLTO4-0" (/dev/nst0) is not a Bacula labeled 
Volume, because: ERR=block.c:1012 Read error on fd=5 at file:blk 0:0 on 
device "IBMLTO4-0" (/dev/nst0). ERR=Device or resource busy.
3905 Device "IBMLTO4-0" (/dev/nst0) open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the Volume.

====

Here's the kernel version Ubuntu installed: 9.10

# uname -a
Linux claustrum 2.6.31-17-server #54-Ubuntu SMP Thu Dec 10 18:06:56 UTC 
2009 x86_64 GNU/Linux

Perhaps some part of the tape handling is broken in that kernel?  Anybody 
else running bacula on Ubuntu 9.10?

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users