Re: [Bacula-users] User unmounted?

2013-05-10 Thread Uwe Schuerkamp
On Thu, May 09, 2013 at 10:37:45AM -0300, Sergio Belkin wrote:
 Hi,
 
 I have some problems with bacula 5.x that I haven't when I used 2.x
 versions. Yesterday I unmount and eject a tape and change by hand by
 *another one differente tape* and backups didn't run, it outputs:
 
 
 Device LTO5 (/dev/nst0) is not open.   Device is BLOCKED. User
 unmounted.
 
 There is no cronjob that unmounts the tape
 
 Why is not automounted?  It's set AutomaticMount = yes;
 

Can you check if any of your tapes have status=Append or Full and are
available for recycling? Any other messages in var/bacula/working/log
for instance? 

All the best, Uwe 

-- 
NIONEX --- Ein Unternehmen der Bertelsmann SE  Co. KGaA



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] User unmounted?

2013-05-09 Thread Sergio Belkin
Hi,

I have some problems with bacula 5.x that I haven't when I used 2.x
versions. Yesterday I unmount and eject a tape and change by hand by
*another one differente tape* and backups didn't run, it outputs:


Device LTO5 (/dev/nst0) is not open.   Device is BLOCKED. User
unmounted.

There is no cronjob that unmounts the tape

Why is not automounted?  It's set AutomaticMount = yes;


Thanks in advance!

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] User unmounted?

2013-05-09 Thread Radosław Korzeniewski
Hello,

2013/5/9 Sergio Belkin seb...@gmail.com

 Hi,

 I have some problems with bacula 5.x that I haven't when I used 2.x
 versions. Yesterday I unmount and eject a tape and change by hand by
 *another one differente tape* and backups didn't run, it outputs:


 Device LTO5 (/dev/nst0) is not open.   Device is BLOCKED. User
 unmounted.


My experience (not confirmed by source code analysis) is when you execute
unmount command by hand then Bacula marks that device as blocked by user
doing something with device. If you need to swap tapes then use release
command instead. I could be wrong about it. :)

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users