Bacula-users

[Bacula-users] Autochanger questions

2014-06-04 11:16:24
Subject: [Bacula-users] Autochanger questions
From: "Roberts, Ben" <Ben.Roberts AT gsacapital DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 4 Jun 2014 16:10:25 +0100
Hi all,

I've got a tape library with 3xLTO6 drives and 1xLTO4 drive in it. All four 
drives are managed by the same library, and the same changer device is used to 
load either media type into any drive. I'd like to use them as follows:
1x LTO4 drive free for use by any job (likely to be restores only)
2x LTO6 drives free for use by any job
1x LTO6 drive reserved for administrative tasks, such as restores and bulk 
volume labelling
(All four drives could be used to read from LTO4 media, but I'm happy to ignore 
that for now to keep the config simpler. The reason we bought an LTO4 drive is 
to read from LTO2/3 media)

I've currently have the following config, but it doesn't behave quite as I'd 
like:

Autochanger {
  Name = tapestore1-autochanger-lto6
  Device = drive-0-tapestore1, drive-1-tapestore1
  Device = drive-2-tapestore1
  Changer Device = /dev/scsi/changer/foo
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
}

Autochanger {
  Name = tapestore1-autochanger-lto4
  Device = drive-3-tapestore1
  Changer Device = /dev/scsi/changer/foo
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
}

Device {
  Name = drive-0-tapestore1
  Archive Device = /dev/rmt/0mbn
  Device Type = Tape
  Media Type = LTO6
  AutoChanger = yes
  Removable media = yes;
  Drive Index = 0
  Maximum Concurrent Jobs = 1
  # Drive used for admin tasks, not autoselected for jobs
  Autoselect = no
}

Device {
  Name = drive-1-tapestore1
  Archive Device = /dev/rmt/1mbn
  Device Type = Tape
  Media Type = LTO6
  AutoChanger = yes
  Removable media = yes;
  Drive Index = 1
  Autoselect = yes
}
# Same for drive-2 and drive-3 (LTO4)

All pools are set to reference the Autochanger devices only.

The problems with this setup are:
- I'm not sure how to indicate I want to use a particular drive for a restore
- Selecting drive-0-tapestore1 for label barcodes when prompted doesn't work (I 
can't remember the exact message but it's something like . This is directly 
related to the Autoselect=no setting as toggling it to yes, or using one of the 
other drives does work as expected.

What is the recommended way to setup a drive specifically for restores? Is it 
to create a new Storage resource in the director that refers to the specific 
Device resource in the SD? And if so, will that work correctly with the 
autochanger to load the right tapes into the drive?

Secondly, is it correct to have two autochanger resources to handle the 
distinct media types, or is Bacula clever enough to manage both types with a 
single resource?

Regards,
Ben Roberts

This email and any files transmitted with it contain confidential and 
proprietary information and is solely for the use of the intended recipient.  
If you are not the intended recipient please return the email to the sender and 
delete it from your computer and you must not use, disclose, distribute, copy, 
print or rely on this email or its contents.  This communication is for 
informational purposes only.  It is not intended as an offer or solicitation 
for the purchase or sale of any financial instrument or as an official 
confirmation of any transaction.   Any comments or statements made herein do 
not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is 
authorised and regulated by the Financial Conduct Authority and is registered 
in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, 
number OC309261. GSA Capital Services Limited is registered in England and 
Wales at the same address, number 5320529.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
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>
  • [Bacula-users] Autochanger questions, Roberts, Ben <=