Bacula-users

Re: [Bacula-users] mt - device always busy

2008-06-29 18:39:07
Subject: Re: [Bacula-users] mt - device always busy
From: Arno Lehmann <al AT its-lehmann DOT de>
To: Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 30 Jun 2008 00:38:05 +0200
Hi,

29.06.2008 17:25, James Bowes wrote:
> Hi folks.
> 
> I am stumped. Previously I was able to successfully test the both drive
> and changer using btape. Then I started getting I/O errors...
> 
> I was going to redo the bacula set up but so far I can even get to that
> point. I can't even get a status from the tape device /dev/nst0. I made
> sure all the bacula-daemons did not start on a reboot but nst0 is still
> busy - all I get from mt -f /dev/nst0 is /dev/st0: Device or resource
> busy.

You can check with lsof which process has the device open.

If that doesn't tell you anything, try this:

find /proc/ -wholename '/proc/*/fd/*' -ls | grep st0

That should tell you which process (id) uses the device.

Arno

> Using Ubuntu 8.04, Bacula 2.2.8 and a DLT8000.
> 
> Thanks for any pointers or suggestions.
> 
> --james
> 
> 
> -------------------------------------------------------------------------
> 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
> 

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

-------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>