Hi, I had a heck of time trying to configure Bacula to work with this Exabyte 1x7 LTO Autoloader. I wasn't sure which autochanger device /dev/st0 or /dev/nst0. When I do #mt -f /dev/st0 status and #mt -f /dev/nst0, they all have some good output: OUTPUT: SCSI 2 tape drive: File number=-1, block number=-1, partition=0. Tape block size 0 bytes. Density code 0x0 (default). Soft error count since last status=0 General status bits on (50000): DR_OPEN IM_REP_EN
When I tried to label a volume, I get the error below. *label Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Automatically selected Storage: LTO-2 Enter new Volume name: test Enter slot (0 or Enter for none): Defined Pools: 1: Default 2: File 3: Scratch Select the Pool (1-3): 1 Connecting to Storage daemon LTO-2 at cole:9103 ... Sending label command for Volume "test" Slot 0 ... Invalid slot=0 defined in catalog for Volume "" on "LTO-2.0" (/dev/nst0). Manual load may be required. 3301 Issuing autochanger "loaded? drive 0" command. 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code 127. Results=/root/bacula/bin/mtx-changer: line 246: mtx: command not found 3910 Unable to open device "LTO-2.0" (/dev/nst0): ERR=dev.c:491 Unable to open device "LTO-2.0" (/dev/nst0): ERR=No medium found Label command failed for Volume test. Do not forget to mount the drive!!! Below is my -dir.conf configuration Storage { Name = LTO-2 Address = cole # N.B. Use a fully qualified name here SDPort = 9103 Password = "QEPdNZ6gTvOqzAmDEVtiX9J5Xb4PYKKNF0BQm/uISqN+" # password for Storage daemon Device = LTO-2 # must be same as Device in Storage daemon Media Type = LTO-2 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device Maximum Concurrent Jobs = 6 } The -sd.conf configuration Autochanger { Name = LTO-2 Device = LTO-2.0 Changer Command = "/root/bacula/bin/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg3 } Device { Name = LTO-2.0 Drive Index = 0 Media Type = LTO-2 Archive Device = /dev/st0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Changer Command = "/root/bacula/bin/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg0 Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Can someone please guide me to the right track? Thanks Harry +---------------------------------------------------------------------- |This was sent by har...@zoomedia.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users