Bacula-users

Re: [Bacula-users] LTO3 Device in Bacula

2010-12-23 11:24:05
Subject: Re: [Bacula-users] LTO3 Device in Bacula
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 23 Dec 2010 11:22:00 -0500
On 12/23/10 10:37, Telemat wrote:
> Thanks drescherjm for the reply,
> 
> I did what you said and still no joy. What should I putting as the media type 
> and device type in bacula-sd.conf? currently my bacula-sd.conf looks like 
> this: -
> Device {
>   Name = Ultrium-TD3
>   DriveIndex = 0
>   MediaType = LTO3
>   ArchiveDevice = /dev/st0 (I have tried nst0, but still no joy)
>   AutomaticMount = yes;
>   AlwaysOpen = yes;
>   RandomAccess = no;
>   RemovableMedia = yes;
>   DeviceType = LTO3
> }

It is *really important* that you use /dev/nst0, not /dev/st0, here.  If
you use /dev/st0, the OS can rewind the tape drive without Bacula's
knowledge, causing you to overwrite and destroy your own backups.


First things first:  Can you communicate with the tape drive OUTSIDE
Bacula?  With the Bacula storage daemon stopped, can you run this command:

mt -f /dev/st0 status

and get useful output from it?  The first step is to get your drive
working at the OS level.  If you can't do that, you'll get nowhere.

Does your kernel have SCSI tape support either compiled in or available
as a compiled module?


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users