Bacula-users

Re: [Bacula-users] DAT72 USB tape-drive support on Linux 2.6 kernel?

2014-08-12 07:01:08
Subject: Re: [Bacula-users] DAT72 USB tape-drive support on Linux 2.6 kernel?
From: Josh Fisher <jfisher AT pvct DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 12 Aug 2014 06:55:17 -0400
On 8/12/2014 4:42 AM, Huub Van Niekerk wrote:
Hi,

It actually is the HP EB625A, internal USB DAT72 drive but packed as an external Freecom USB DAT drive. As far as I know, USB isn't SCSI...


Linux has a SCSI emulation layer in its device driver structure. Most SAS, SATA, and USB devices are accessed by applications as SCSI devices through the emulation layer, or in other words the user-mode applications use SCSI commands to access the device and the SCSI commands are transparently translated by the emulation layer. Look at dmesg output right after plugging the tape drive in. That should tell you what device udev has assigned to the drive. It is likely handled by the st driver, so there should be multiple device nodes attached to the drive. By convention, /dev/st0 will rewind on open and /dev/nst0 will not automatically rewind. Use the non-rewinding device node for Bacula.

When the device node(s) have been determined, check the permissions. Bacula-sd does not usually run as root, so the permissions must allow read/write access for whatever uid:gid: bacula-sd runs as. You may need to change the user or group that bacula-sd runs as. If SeLinux is being used then it could also be blocking access to the device node(s).


On Tuesday, August 12, 2014 10:10 AM, Andreas Nastke <nastke AT gdp-group DOT com> wrote:


start by plugging the hardware in and power it on.

search the logs for messages from whatever driver on your system feels
responsible for this hardware.



Huub Van Niekerk schrieb:
> Thank you for the response.
> You correctly mention that it has to talk SCSI....it's an external USB drive and I don't know the internals of the drive.
> Apart from that, I'm still waiting for an answer on a earlier question about database tables. Bacula hasn't run yet because there are no Bacula MySQL tables, and yes, MySQL runs fine with another database (24/7 actually).
>
>
>
> On Monday, August 11, 2014 8:28 PM, Dan Langille <dan AT langille DOT org> wrote:

>
>
> On Aug 8, 2014, at 9:08 AM, Huub Van Niekerk <huubvanniekerk AT yahoo DOT com> wrote:
>
>
>
> Hi,
>>
>> After reading the manuals of v.5 and 7, I doubt my USB DAT72/DDS tapedrive is supported. I used to work with Barracuda, but that license expired. So can anyone give me advise about this ?
>
> Bacula doesn’t care about the make/model of your tape drive.  Bacula only cares that it talks SCSI.  If the OS supports it, Bacula supports it.. in general.
>
> Have you tried it yet?  What’s stopping you?
>
> —
> Dan Langille

>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Mit besten Grüßen / Kind Regards

Andreas Nastke
IT System Management

g/d/p Markt- und Sozialforschung GmbH
Ein Unternehmen der Forschungsgruppe g/d/p
Richardstr. 18
D-22081 Hamburg
Fon: +49 (0)40 / 29876-117
Fax: +49 (0)40 / 29876-127
nastke AT gdp-group DOT com
www.gdp-group.com

Sitz der Gesellschaft ist Hamburg, Handelsregister Hamburg, HRB 40482
Geschäftsführer: Christa Braaß, Volker Rohweder

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users