Hello Community,

I've already searched the mailing list and Google but wasn't able to find a 
helpful answer. Therefore I decided to post my issue here and ask you for some 
thoughts.

I have two auto changing storage libraries (Tandberg T40 and Overland NEO400s). 
Both with two drives each. As you hopefully can see in attached screenshot 
"release_only_Drive0.png", I have a wired issue when releasing (or 
(un-)mounting) tapes from/to second drive in NEO400s. As you can see he answers 
with '3999 Device "NEO400" not found or could not be opened.' while the same 
command to first drive gets the right feedback '3307 Issuing autochanger 
"unload slot 1, drive 0" command.'

Restarting bareos-dir and bareos-sd does not solve the issue.

Doing the same task from CLI with mtx while bareos-sd is stopped result in 
--
# /usr/sbin/mtx -f /dev/AutoChanger unload 1 2
Unloading drive 2 into Storage Element 1...done
--

Please find also attached bareos-sd.d/neo400.conf attached as well for your 
reference. DriveIndex is IMHO correct. The NEO400s has 4 half hight drive slots 
where drive slot 1 and 3 are used what will result in DriveIndex0 for /dev/nst0 
and DriveIndex2 for /dev/nst1.

Best
Daniel W.

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.
# Autochanger NEO400 with two LTO-6 drives
Autochanger {
  Name = "NEO400"
  Changer Device = /dev/AutoChanger
  Device = nst0
  Device = nst1
  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}

Device {
    Name = "nst0"
    DeviceType = tape
    DriveIndex = 0
    ArchiveDevice = /dev/nst0
    MediaType = LTO-6
    Drive Crypto Enabled = Yes
    Query Crypto Status = Yes
    AutoChanger = yes
    AutomaticMount = yes
    AlwaysOpen = yes
    RemovableMedia = yes
    RandomAccess = no
    Spool Directory = /var/spool/bareos/1
    Maximum Spool Size = 450000000000
}

Device {
    Name = "nst1"
    DeviceType = tape
    DriveIndex = 2
    ArchiveDevice = /dev/nst1
    MediaType = LTO-6
    Drive Crypto Enabled = Yes
    Query Crypto Status = Yes
    AutoChanger = yes
    AutomaticMount = yes
    AlwaysOpen = yes
    RemovableMedia = yes
    RandomAccess = no
    Spool Directory = /var/spool/bareos/2
    Maximum Spool Size = 450000000000
}

Reply via email to