Troy Daniels wrote: > Hi, > > I'm not familiar with this particular autochanger but does it really > have 12 DRIVES or does it have 12 tape SLOTS? > > If it's the later, your config is wrong as you only need to configure a > device per tape drive, not slot AFAIK. > > Also, I dont think you should be specifying 'AutoChanger = Yes' in your > Device definition. You're defining a tape drive there, not the > autochanger (which is defined in the AutoChanger definition above it) > > Hope this helps in some way, >
You are correct, unless you think they managed to cram 12 drives in a 2U form factor or the first email mis-quoted the model of the tape library ;) It seems to be a 2U, 1 Drive, 12 Slot loader So your bacula-dir.conf should contain something like: Storage { Name = Overland Address = <whatever> SDPort = 9103 Password = <you must be kidding me> Device = Overland Media Type = <Something else important here> Autochanger = yes Maximum Concurrent Jobs = 8 } Then your -sd.conf should have something like: Autochanger { Name = Overland Device = Overland.0 Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" Changer Device = <The changer device here, /dev/sg1 maybe?> } Device { Name = Overland.0 Drive Index = 0 Media Type = <Something else important here> Archive Device = <where ever your tape dev is, /dev/nst0 maybe>; AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Autochanger = yes; Maximum Network Buffer Size = 65536 } The mtx-changer script may need changing of course, but this -should- work. > Cheers, > > > Troy Daniels > Systems Administrator > iTouch Australia (pty) ltd. > > christian zimmermann wrote: >> Hi folks, >> >> I need some help with my autochanger config. >> I have an overland arcvault 12 autochanger, I can mount all tapes with the >> mtx >> command no problem. >> But when I try to mount a tape with bconsole so I can label it I allways get >> an error like this. >> >> mount >> The defined Storage resources are: >> 1: File >> 2: Overland >> Select Storage resource (1-2): 2 >> Enter autochanger drive[0]: 0 >> 3301 Issuing autochanger "loaded drive 0" command. >> 3302 Autochanger "loaded drive 0", result: nothing loaded. >> 3301 Issuing autochanger "loaded drive 0" command. >> 3302 Autochanger "loaded drive 0", result: nothing loaded. >> 3301 Issuing autochanger "loaded drive 0" command. >> 3302 Autochanger "loaded drive 0", result: nothing loaded. >> 3902 Cannot mount Volume on Storage Device "Drive-1" (/dev/st0) because: >> Couldn't rewind device "Drive-1" (/dev/st0): ERR=dev.c:678 Rewind error on >> "Drive-1" (/dev/st0). ERR=No medium found. >> >> 3905 Device "Drive-1" (/dev/st0) open but no Bacula volume is mounted. >> If this is not a blank tape, try unmounting and remounting the Volume. >> >> >> I can mount the tape with mtx and label it without a problem I can even >> umount >> the tape with the bconsole. But I´m not able to mount it. >> >> Can someone point me in the right direction? >> I think I have a config error but not sure. >> >> >> This is my bacula-sd.conf >> --------------------------------------- >> >> Autochanger { >> Name = Overland >> Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7, >> Drive-8, Drive-9, Drive-10, Drive-11, Drive-12 >> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" >> Changer Device = /dev/sg1 >> } >> >> Device { >> Name = Drive-1 # >> Drive Index = 0 >> Media Type = LTO-2 >> Archive Device = /dev/st0 >> 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 >> . >> . >> } >> >> >> The bacula-dir.conf >> ------------------------------- >> >> Storage { >> Name = Overland >> Address = 10.2.0.43 >> SDPort = 9103 >> Password = "test" >> Device = Drive-1 >> Device = Drive-2 >> Device = Drive-3 >> Device = Drive-4 >> Device = Drive-5 >> Device = Drive-6 >> Device = Drive-7 >> Device = Drive-8 >> Device = Drive-9 >> Device = Drive-10 >> Device = Drive-11 >> Device = Drive-12 >> Media Type = LTO-2 >> Autochanger = yes >> } >> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- James Ray. <[EMAIL PROTECTED]> Computing Services Queen Mary, University of London ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users