Dan Langille wrote: > Matthew Dormer wrote: >> I have a Dell Powervault 120T w/ 2 Drives. >> First: Config: >> >> Autochanger { >> Name = Autochanger >> Device = Drive-1 >> Device = Drive-2 >> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" >> Changer Device = /dev/sg0 >> } >> >> Device { >> Name = Drive-1 # >> Drive Index = 0 >> Media Type = LTO1 >> Archive Device = /dev/nst0 >> AutomaticMount = yes; # when device opened, read it >> AlwaysOpen = yes; >> RemovableMedia = yes; >> RandomAccess = no; >> AutoChanger = yes >> # Enable the Alert command only if you have the mtx package loaded >> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" >> } >> >> Device { >> Name = Drive-2 # >> Drive Index = 1 >> Media Type = LTO1 >> Archive Device = /dev/nst1 >> AutomaticMount = yes; # when device opened, read it >> AlwaysOpen = yes; >> RemovableMedia = yes; >> RandomAccess = no; >> AutoChanger = yes >> # Enable the Alert command only if you have the mtx package loaded >> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" >> } >> >> Running /etc/bacula/mtx-changer: >> >> >./mtx-changer /dev/sg0 slots >> 20 > > Run that command as the same user that bacula-sd runs as. > Running as user bacula, I get a error on log writing. Chown of log files fixed the problem >> >> running bconsole: >> >> *label barcodes >> Automatically selected Storage: AutoChanger >> Enter autochanger drive[0]: >> Connecting to Storage daemon AutoChanger at tapetest:9103 ... >> 3306 Issuing autochanger "slots" command. >> Device "Autochanger" has 0 slots. >> No slots in changer to scan. >> >> >> I cannot seem to add Tapes/Volumes as bacula does not find any slots >> in the library. >> >> Help much appreciated. > Thanks.
Matt. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users