Hello,

On 19.09.2005 23:17, Erik P. Olsen wrote:

On Mon, 2005-09-19 at 22:18 +0200, Arno Lehmann wrote:

Hi,

On 19.09.2005 22:06, Erik P. Olsen wrote:


I am testing bacula at the moment, so it is not any serious production
problem.

After having finished a back-up correctly without any reported errors,
the tape is still busy. I thought it might be doing a verify so I let it
stay busy all day until I realised it could not have been a verify
operation. But then is it normal that the tape remains busy and what
should I do to unmount it?

Er... what do you mean by "busy"? Is the "busy" light on, or can't you acces the drive using a command like mt?


The busy light is on.

Next question - does the busy light indicate "Busy writing or reading", "Tape mounted", "Tape inserted", or only "Magazine loaded"? Depending on that the situation is quite different, obviously.

In the first case, you should find out what programs are running. In the latter case, use the console command 'umount' - that should help.


Have you tried the unmount or release commands?
If these don't help, first verify if there's really no bacula job running, for example using the status 'storage command'. If that shows that bacula is not using the tape at the moment, you could stop (kill) the SD or the whole bacula system and see if things change.

If they don't, you need to find the process using the tape - lsof is one way to do so.

Usually, but that depends on your SD configuration, a tape drive is always open when the SD works with it. In that case, the driver of your OS should lock the device against use by other programs, which then report the drive as busy.


Yes, I'll look over the SD config. I just copied the Linux definition of
DDS-4 tape device but there may be more to it than that.

That should not be too far from the settings you need, I think.

Hope I could help you,

Arno

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to