In the message dated: Thu, 26 Jul 2007 10:50:34 PDT,
The pithy ruminations from Mike Vasquez on 
<[Bacula-users] New Problem with the Dell PV 132T> were:
=> 
=> I have gotten my OS recognizing the Dell PV 132T.  Now when I run the command

Good.

=> mtx -f /dev/sg2 status I get the following:
=>      Storage Changer /dev/sg2:1 Drives, 23 Slots ( 0 Import/Export )
=>       Data Transfer Element 0:Full (Unknown Storage Element
=> Loaded):VolumeTag = 

        [SNIP!]

=>       Storage Element 23:Full :VolumeTag=

Looks good. Why no barcodes? They really, really do make life easier.

=> 
=> Now when I try to run the command mt -f /dev/nst0 status, I get the

Why are you doing that? Is this just for testing (outside bacula), or for some 
other reason?

In general, bacula (and other backup solutions) assume that they have exclusive 
access to the hardware devices, and get very cranky if you do things from the 
OS level.

=> following:
=>       /dev/nst0:  Device or resource busy
=> Even when I do sg_map, It shows that nst0 is busy.
=> 
=> What is causing /dev/nst0  to be busy.  I don't have anything going on with
=> that device.  How can I make it not busy and be able to access the device
=> using mt?

Is bacula running? If so, it's got access to the tape device, which is making 
it busy.

Try:
        lsof /dev/nst0
to see any open file handles pointing to /dev/nst0.

Mark

=> 
=> TIA
=> 
=> Mike

----
Mark Bergman                      [EMAIL PROTECTED]
System Administrator
Section of Biomedical Image Analysis             215-662-7310
Department of Radiology,           University of Pennsylvania

http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to