On Jan 10, 2013, at 8:08 PM, Jonathan Horne wrote: > On 2013-01-09 16:13, Jonathan Horne wrote: >> i have a 44 slot PV-TL4000 that i have just brought online with my >> bacula. my first attempt at labeling the media based on the barcodes >> failed. below is the output, can anyone give me some ideas on what to >> start checking? > > Sorry that I'm so late to the thread. I suggest reading what I documented > here: > > http://www.freebsddiary.org/tape-library.php > http://www.freebsddiary.org/tape-library-integration.php > > There are many things that can go wrong. And I think I met all of them.
> My drive appears to be working correctly, and the devices I poll here > correspond to configurations I use in my config file. Tests all seem fine > (to my layman's observation), but in practice actual commands are failing. > > [root@d0lppb021 ~]# tapeinfo -f /dev/sg6 > Product Type: Medium Changer > Vendor ID: 'IBM ' > Product ID: '3573-TL ' > Revision: '5.80' > Attached Changer API: No > SerialNumber: '00X4U78E9680_LL0' > SCSI ID: 0 > SCSI LUN: 1 > Ready: yes > > [root@d0lppb021 ~]# mt -f /dev/nst0 status > SCSI 2 tape drive: > File number=0, block number=0, partition=0. > Tape block size 0 bytes. Density code 0x44 (LTO-3). > Soft error count since last status=0 > General status bits on (41010000): > BOT ONLINE IM_REP_EN > > [root@d0lppb021 ~]# mt -f /dev/nst1 status > 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 > > [root@d0lppb021 ~]# mtx -f /dev/sg6 status > Storage Changer /dev/sg6:2 Drives, 47 Slots ( 3 Import/Export ) > Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = SK1009L3 > Data Transfer Element 1:Empty > Storage Element 1:Full :VolumeTag=SK1004L3 > Storage Element 2:Full :VolumeTag=SK1006L3 > Storage Element 3:Empty > Storage Element 4:Empty > Storage Element 5:Empty > Storage Element 6:Empty > Storage Element 7:Empty > Storage Element 8:Empty > Storage Element 9:Empty > Storage Element 10:Empty > Storage Element 11:Empty > Storage Element 12:Empty > Storage Element 13:Empty > Storage Element 14:Empty > Storage Element 15:Empty > Storage Element 16:Empty > Storage Element 17:Empty > Storage Element 18:Empty > Storage Element 19:Empty > Storage Element 20:Empty > Storage Element 21:Empty > Storage Element 22:Empty > Storage Element 23:Empty > Storage Element 24:Empty > Storage Element 25:Empty > Storage Element 26:Empty > Storage Element 27:Empty > Storage Element 28:Empty > Storage Element 29:Empty > Storage Element 30:Empty > Storage Element 31:Empty > Storage Element 32:Empty > Storage Element 33:Empty > Storage Element 34:Empty > Storage Element 35:Empty > Storage Element 36:Empty > Storage Element 37:Empty > Storage Element 38:Empty > Storage Element 39:Empty > Storage Element 40:Empty > Storage Element 41:Empty > Storage Element 42:Empty > Storage Element 43:Empty > Storage Element 44:Empty > Storage Element 45 IMPORT/EXPORT:Empty > Storage Element 46 IMPORT/EXPORT:Empty > Storage Element 47 IMPORT/EXPORT:Empty It sounds like you need to do more testing, like I did, within the URLS listed above. -- Dan Langille - http://langille.org ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users