[Bacula-users] Dell PV-124T autochanger configuration

2009-05-15 Thread Daniel Hertanu
Hi
I was wondering if someone using a Dell PV-124T tape library can paste the
Autochanger and Device resources from bacula-sd.conf file here.

Btape tests run fine, including the autochanger, but in Bacula I'm not able
to make the autochanger work. The tape will refuse to be loaded and message
returned is that /dev/nst0 is not an autochanger. I used the same
configuration I used once for an Overland and an HP_something tape
libraries, but the PV-124T doesn't work. Thank you.

Daniel
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Dell PV-124T autochanger configuration

2009-05-15 Thread Anders Trobäck
Den Fri, 15 May 2009 17:15:14 -0400
skrev Daniel Hertanu d...@unixmob.com:

 Hi
 I was wondering if someone using a Dell PV-124T tape library can
 paste the Autochanger and Device resources from bacula-sd.conf file
 here.
 
 Btape tests run fine, including the autochanger, but in Bacula I'm
 not able to make the autochanger work. The tape will refuse to be
 loaded and message returned is that /dev/nst0 is not an autochanger.
 I used the same configuration I used once for an Overland and an
 HP_something tape libraries, but the PV-124T doesn't work. Thank you.
 
 Daniel
 

This is for a PV-122T but I think it is very similar:

Autochanger {
  Name = PV-122T
  Device = PV-122T-1, PV-122T-2
  Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg4
}

Device {
  Name = PV-122T-1
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/nst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
}

Device {
  Name = PV-122T-2
  Drive Index = 1
  Media Type = LTO-2
  Archive Device = /dev/nst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
}

Note that the changer are on /dev/sgX and not on /dev/nstX!

Hope that helps!


\\anders

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Dell PV-124T autochanger configuration

2009-05-15 Thread (private) HKS
2009/5/15 Daniel Hertanu d...@unixmob.com:
 Hi
 I was wondering if someone using a Dell PV-124T tape library can paste the
 Autochanger and Device resources from bacula-sd.conf file here.
 Btape tests run fine, including the autochanger, but in Bacula I'm not able
 to make the autochanger work. The tape will refuse to be loaded and message
 returned is that /dev/nst0 is not an autochanger. I used the same
 configuration I used once for an Overland and an HP_something tape
 libraries, but the PV-124T doesn't work. Thank you.
 Daniel




 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 unlimited royalty-free distribution of the report engine
 for externally facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


This configuration is a bit specific to OpenBSD (esp. the mtx-changer
script which has been heavily modified), but hopefully it'll help.


bacula-sd.conf:

AutoChanger {
  Name = 124T-Autochanger
  Device = 124T-Drive
  Changer Device = /dev/ch0
  Changer Command = /usr/local/libexec/bacula/mtx-changer %c %o %S %a %d
}

Device {
  Name = 124T-Drive
  Drive Index = 0
  Media Type = 124T
  Archive Device = /dev/nrst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Maximum Open Wait = 300
  Maximum Changer Wait = 300

  Hardware End of Medium = No
  Fast Forward Space File = No
  BSF at EOM = yes

  Spool Directory = /bacula/backups/sd-spool/
}


bacula-dir.conf:

Storage {
  Name = Tape
  Address = IP munged
  SDPort = 9103
  Password = munged
  Device = 124T-Autochanger
  Media Type = 124T
  Maximum Concurrent Jobs = 1
  Autochanger = yes
}


-HKS

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users