On Fri, Jul 13, 2012 at 2:09 PM, Juan Pablo Lorier <jplor...@montecarlotv.com.uy> wrote: > > Hi there, > > I'm installing Bacula with a TS3100 tape library from IBM and I'm managed > to get it to load, unload and label the tapes. The problem is when I try to > backup bacula complaints that it has no device in the SD. > I've followed every guide in the baculas's web and every post I found in > google but keep getting this error: > > Storage daemon didn't accept Device "LTO5_1" because: > > 3924 Device "LTO5_1" not in SD Device resources. > > > > My config is: bacula-mysql 5.3 on Centos 6.2 > > DIR: > > JobDefs { > Name = "Masstechfull" > Type = Backup > Level = Full > Storage = Masstech > Messages = Standard > Priority = 10 > Write Bootstrap = "/usr/sbin/bacula/%c.bsr" > } > > Job { > Name = "MasstechJOB" > JobDefs = "Masstechfull" > Client = masstech.montecarlotv.com.uy-fd > FileSet = "Masstech" > Priority = 3 > Pool=Masstech > } > > FileSet { > Name = "Masstech" > Include { > Options { > signature = MD5 > } > File = /15TB/Respaldos > } > } > > Client { > Name = masstech.montecarlotv.com.uy-fd > Address = masstech.montecarlotv.com.uy > FDPort = 9102 > Catalog = MyCatalog > Password = "" > File Retention = 10 years > Job Retention = 10 years > AutoPrune = yes > } > > > Storage { > Name = Masstech > Address = masstech.montecarlotv.com.uy > SDPort = 9103 > Password = "" > Device = TS3100 > Media Type = LTO-5 > Autochanger = yes > Maximum Concurrent Jobs = 2 > } > > SD: > > Autochanger { > Name = TS3100 > Device = LTO5_1 > Device = LTO5_2 > Changer Device = /dev/sg6 > Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" > } > > Device { > Name = LTO5_1 > Drive Index = 0 > Media Type = LTO5 > Archive Device = /dev/nst1 > Autochanger = yes > Automatic Mount = yes > Always Open = yes > Removable Media = yes > Random Access = no > Requires Mount = no > Maximum Job Spool Size = 12G > Spool directory = "/var/spool" > Label Type = Bacula > Check Labels = yes > Label Media = no > Maximum Changer Wait = 60 > Maximum Rewind Wait = 60 > Maximum Open Wait = 30 > } > > Device { > Name = LTO5_2 > Drive Index = 1 > Media Type = LTO5 > Archive Device = /dev/nst0 > Autochanger = yes > Automatic Mount = yes > Always Open = yes > Removable Media = yes > Random Access = no > Requires Mount = no > Maximum Job Spool Size = 12G > Spool directory = "/var/spool" > Label Type = Bacula > Check Labels = yes > LabelMedia = no > Maximum Changer Wait = 60 > Maximum Rewind Wait = 60 > Maximum Open Wait = 30 > } > > Any help is much appreciated. > Regards, >
Your media type changed from LTO-5 in the storage resource in bacula-dir.conf to LTO5 in bacula-sd.conf make it match. John ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users