Hi Bruno,

The two libraries are independent units; Autochanger-1 can't load tapes into Tape-1 and vice versa. But all the tapes are LTO-8 and can be loaded in either library, and written/read by either tape drive. We expect to be able to load spare tapes into either library, and have Bareos be able to pick any free tape to write to.

I really want to avoid having different pools or media types as we really don't want to have to put tapes back in the same library they came from.

Is there any way I can achieve that?

Best regards,
Chris

On 05/10/2023 09:41, Bruno Friedmann (bruno-at-bareos) wrote:
Maybe your sentence is not enough clear: /"The same media is readable and writeable by either drive from either library."/ To me it sound like the two autochanger are seen as one big library on the system to 2 tapes drives and a lot of slots.

It they are not, then you will have to play with media type so have LTO-8a LTO-8b to make them unique (storage/mediatype) and as such Bareos will not get confused. Of course that mean also you will have always export and reimport into the same library the used tapes. Advise in that case, maybe a dedicated scratch pool is useful to not mix them.

Le mercredi 4 octobre 2023 à 23:50:28 UTC+2, Chris Boot a écrit :

    Hi all,

    I have a system with two Quantum SuperLoader 3 auto-changers, both with
    an LTO-8 drive each. The same media is readable and writeable by either
    drive from either library. Bareos has been working with one library and
    drive for some time, but we now want to configure the 2nd library.

    The intention is to have jobs able to write to whatever tapes are
    available in either library; basically so that two jobs can write at
    the
    same time in order to double throughput. How can we achieve that?

    I've configured the SD with two Autochanger and two Device resources,
    and the director with two Storage resources that refer to each
    autochanger. This allows commands such as "list slots storage=Tape-1",
    "update slots storage=Tape-2", and so on.

    What's not working is starting a job with storage=Tape-1 vs
    storage=Tape-2. What seems to happen is Bareos picks a tape from the
    pool that's available in either changer, mounts it in whatever drive
    can
    access it even if it's the other drive/changer to the one requested.
    When it's in the other drive/changer, the storage on the volume is
    updated to the storage on the job, and things start to fall apart.

    For example, I started a job with "run job=MyJob storage=Tape-1".
    Bareos
    selected a tape in the Tape-2 Storage/Autochanger/Device and mounted it
    correctly in the wrong Device, then updated the volume record to change
    its storage from "Tape-2" to "Tape-1" even though it's actually writing
    to the tape via "Tape-2".

    Running "update slots storage=Tape-2" fixes this, but only for a while;
    Bareos soon forces it back to the wrong storage.

    So as far as I can tell the SD is configured correctly and doing what
    the Director is telling it to do, but the Director doesn't seem to be
    able to tell the two sets of devices apart.

    Is there some way around this issue? Can I achieve what I'm trying
    to do?

    Thanks,
    Chris

-- Chris Boot
    [email protected]

--
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/95e86eef-524b-4261-9c9d-aa68aaea86a0n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/95e86eef-524b-4261-9c9d-aa68aaea86a0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Chris Boot
[email protected]


--
Chris Boot
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/ac41b1a2-a4ce-4f61-93c3-d8396f220668%40bootc.boo.tc.

Reply via email to