On Thu, Jan 20, 2011 at 3:09 AM, harryl <bacula-fo...@backupcentral.com> wrote: > Thanks. But after I installed mtx for my Linux server and try label, it gave > me different error: > > *label > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > Automatically selected Storage: LTO-2 > Connecting to Storage daemon LTO-2 at cole:9103 ... > Enter new Volume name: testvol > 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 "testvol" Slot 0 ... > Invalid slot=0 defined in catalog for Volume "" on "LTO-2-drive" (/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 1. > Results=mtx: Request Sense: Long Report=yes > mtx: Request Sense: Valid Residual=no > mtx: Request Sense: Error Code=0 (Unknown?!) > mtx: Request Sense: Sense Key=No Sense > mtx: Request Sense: FileMark=no > mtx: Request Sense: EOM=no > mtx: Request Sense: ILI=no > mtx: Request Sense: Additional Sense Code = 00 > mtx: Request Sense: Additional Sense Qualifier = 00 > mtx: Request Sense: BPV=no > mtx: Request Sense: Error in CDB=no > mtx: Request Sense:3910 Unable to open device "LTO-2-drive" (/dev/nst0): > ERR=dev.c:491 Unable to open device "LTO-2-drive" (/dev/nst0): ERR=No medium > found >
Two things. 1. It appears that the autochanger did not load the tape. You need to track this down before you can continue. I would start at Dan's blog. Also there is an autochanger testing section in the manual and a testing tool for that as well. 2. If you have an autochanger with a barcode reader you do not run label. Instead run label barcodes and if you want put all tapes in the Scratch pool. John ------------------------------------------------------------------------------ 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