Dan Langille wrote (2015/05/20): > The current situation arises on these second hand tapes I have obtained. > The drive writes 200 or 300 MB to the tape and then the errors arise: > > Going back to a job which exhibits the problem: > > >> ### > >> 01-May 09:39 crey-sd JobId 205441: End of Volume "FAI022" at 11:11326 on > >> device "DTL03" (/dev/nsa0). Write of 64512 bytes got 49152. > >> 01-May 09:39 crey-sd JobId 205441: Error: Error writing final EOF to tape. > >> This Volume may not be readable. > >> tape_dev.c:941 ioctl MTWEOF error on "DTL03" (/dev/nsa0). ERR=Input/output > >> error. > >> 01-May 09:39 crey-sd JobId 205441: End of medium on Volume "FAI022" > >> Bytes=10,784,406,528 Blocks=167,168 at 01-May-2015 09:39. > >> 01-May 09:39 crey-sd JobId 205441: 3307 Issuing autochanger "unload slot > >> 2, drive 0" command. > >> ### > > I don't know enough about tape to comment, so I'm speculating. Could a > previous use of this tape put an end of medium marker on the tape?
Hello, I do not think so. It looks like just as a simple write data error, after which write EOF is unsuccessful too. I think there is no EOM mark. There are just data or EOF marks. And EOM is just something, which tells us where ends valid recording. > >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 > >> 00 00 00 01 00 > >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status > >> Error > >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition > >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR > >> asc:c,0 (Write error) > >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: > >> 0x28b4b > >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted MEDIUM ERROR / Write error... Yes, it reminds me an old Mammoth-2 tape technology, the reason for the Exabyte's failure. It was big experience with write errors - write some small data, then write error with unusable rest of the tape. -- Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel