Hi, I'm configuring a Sony TSL A300C tape changer for use with bacula on FreeBSD, and got stuck on the tar test. It would make the backup, but is unable to list the backup contents with tar tf.
I've managed to use the sonytape utility to test the drive, and all tests completed successful. I also ran the btape test, without any problems whatsoever. The autochanger test also ran successfully, not that it matters at this stage. In my mind this points to some flag that is not set correctly by tar, as the other tests work. FreeBSD 6.2-RELEASE-p9 #0 bacula-client-2.2.5 bacula-server-2.2.5 I would really appreciate any pointers. Regards, Nicki Here is the output of the tar test: glf-bsd01# camcontrol devlist <COMPAQ RAID 1 VOLUME OK> at scbus0 target 0 lun 0 (pass0,da0) <SONY TSL-A300C L700> at scbus3 target 8 lun 0 (pass1,sa0) <SONY TSL-A300C L700> at scbus3 target 8 lun 1 (pass2,ch0) glf-bsd01# mtx status Storage Changer /dev/changer:1 Drives, 4 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 1 Loaded) Storage Element 1:Empty Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full glf-bsd01# mt rewind glf-bsd01# mt erase 0 glf-bsd01# mt weof glf-bsd01# tar cvf /dev/nsa0 . a . a sonytape a readme_sonytape_freebsd_x86_v1.3.txt a datap.bin a chnginq.txt a nori_trace.txt glf-bsd01# mt rewind glf-bsd01# tar tvf /dev/nsa0 tar: Error opening archive: Empty input file: Inappropriate file type or format glf-bsd01# tar tvf /dev/nsa0 drwxr-xr-x 0 root wheel 0 Dec 18 15:56 . -rwxr-xr-x 0 root wheel 95488 Oct 17 2006 sonytape tar: Unrecognized archive format: Inappropriate file type or format I also tried rewinding after the weof, no difference: glf-bsd01# mt rewind glf-bsd01# mt erase 0 glf-bsd01# mt weof glf-bsd01# mt rewind glf-bsd01# tar cvf /dev/nsa0 . a . a sonytape a readme_sonytape_freebsd_x86_v1.3.txt a datap.bin a chnginq.txt a nori_trace.txt glf-bsd01# mt rewind glf-bsd01# tar tv drwxr-xr-x 0 root wheel 0 Dec 18 15:56 . -rwxr-xr-x 0 root wheel 95488 Oct 17 2006 sonytape tar: Unrecognized archive format: Inappropriate file type or format glf-bsd01# ------------------------------------------------------------------------- SF.Net email is sponsored by: 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