Bacula-users

Re: [Bacula-users] Configuring LTO-6 SD...

2015-04-13 09:43:09
Subject: Re: [Bacula-users] Configuring LTO-6 SD...
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: "Gary R, Schmidt" <grs AT mcleod-schmidt.id DOT au>
Date: Mon, 13 Apr 2015 10:38:13 -0300
Hi Gary,

If this is your drive configuration, you don´t need the "changer command" nor the "changer device" there. Instead, they should be configured in your autochanger resource:

Autochanger {
    Name = AutochangerHP
    Device = Drive-1, Drive-2 #how many drives do you have?
    Changer Command = "/opt/local/bacula/scripts/mtx-changer %c %o %S
%a %d"
     Changer Device = /dev/changer
}

# definition for a first drive
Device {
Name = Drive-1
     Media Type = LTO-6
     Archive Device = /dev/rmt/0cbn
     AutomaticMount = yes;               # when device opened, read it
     AlwaysOpen = yes;
     RemovableMedia = yes;
     RandomAccess = yes;
     Maximum Network Buffer Size = 262144
     Maximum Block Size = 262144
     Maximum File Size = 5GB
     Autochanger = yes
     # Enable the Alert command only if you have the mtx package loaded
     Alert Command = "sh -c '/opt/local/sbin/tapeinfo -f %c |grep
TapeAlert|cat'"
     ## If you have smartctl, enable this, it has more info than
tapeinfo
     ## Alert Command = "sh -c 'smartctl -H -l error %c'"
}

Best regards,
Ana

On Mon, Apr 13, 2015 at 5:56 AM, Gary R, Schmidt <grs AT mcleod-schmidt.id DOT au> wrote:
Hi,
I am starting the process of replacing an existing but defunct Bacula
(3.0.3) environment with a newer tape autoloader, and, of course, the
latest Bacula.

It broke some time ago (don't ask), so there is no upgrade happening
here, it's new bits and pieces, in part, using the same hardware for the
director.

I am replacing a SCSI HP 1/8 G2 LTO-4 autoloader with an FC HP 1/8 G2
LTO-6 autoloader, and I wonder just what settings I should use?

The LTO-4 was configured like this:
   Device {
     Name = LTO-4
     Media Type = LTO-4
     Archive Device = /dev/rmt/0cbn
     AutomaticMount = yes;               # when device opened, read it
     AlwaysOpen = yes;
     RemovableMedia = yes;
     RandomAccess = yes;
     Maximum Network Buffer Size = 262144
     Maximum Block Size = 262144
     Maximum File Size = 5GB
     Changer Command = "/opt/local/bacula/scripts/mtx-changer %c %o %S
%a %d"
     Changer Device = /dev/changer
     Autochanger = yes
     # Enable the Alert command only if you have the mtx package loaded
     Alert Command = "sh -c '/opt/local/sbin/tapeinfo -f %c |grep
TapeAlert|cat'"
     ## If you have smartctl, enable this, it has more info than
tapeinfo
     ## Alert Command = "sh -c 'smartctl -H -l error %c'"
   }

And I wonder what I should change to better use the increased speed and
capacity of the LTO-6.

Almost by reflex I want to change the Maximum Block Size, and Maximum
File Size, but to what?

When I get everything built I will play with the "speed" command in
btape, and I have a fair bit of reading to do!

Oh, I've tested it all using the 3.0.3 btape, so I know that the
hardware works, but I would like it to work optimally.  (And yes, I will
have spooling turned on.)

         Cheers,
                 Gary    B-)

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
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>