Error Writing Final Eof To Tape
() opendreams ! net [Download message RAW] This looks like a bad tape. I'm new to Bacula. Can I get a second opinion, please? Here is some info about my setup: Debian GNU/Linux, kernel 3.0.0-2-amd64. Debian packaged Bacula version 5.0.3-1+b1. This is a Quantum DLT S4 drive attached to an LSI20320-R card on a PCI 32bit bus slot, Gigabyte GA-MA78G-DS3H desktop motherboard. The hardware has been in use for a few years and is stable. The thing is, tar isn't having this problem with the tape in question. Yes I restored and compared all of the files. The backup fileset was the same. Quantum also has a nice toolset called xTalk and I have run extensive read/write tests against the tape and a 23-minute long "device health check" which did not indicate any kind of error. Below are three separate backup attempts on a fairly small set of data. You will see the Bacula log info, and then the kernel log info. This is the same tape. When I tried another tape, the backup succeeded without the error. Note that /var/log was included, so the file set size changed(probably grew) slightly between attempts. It looks like the error happens when Bacula is trying to write the end of tape. 26-Nov 00:05 parts-sd JobId 28: Error: block.c:577 Write error at 1:22939 on device "DLT-S4-1" (/dev/nst0). ERR=Input/output error. 26-Nov 00:05 parts-sd JobId 28: Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1745 ioctl MTWEOF error on "DLT-S4-1" (/dev/nst0). ERR=Input/output error. 26-Nov 00:05 parts-sd JobId 28: End of medium on Volume "tape1" Bytes=6,479,778,816 Blocks=100,442 at 26-Nov-2011 00:05. Nov 26 00:05:06 parts kernel: [ 7387.339293] st0: Sense Key : Medium Error [current] Nov 26 00:05:06 parts kernel: [ 7387.339298] Info fld=0x1243c800 Nov 26 00:05:06 parts kernel: [ 7387.339300] st0: Add. Sense: Write err
threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re : Error writing final EOF to tape (tape errors) I work on linux (rhel4) with a Certance tape (DAT72)I have exactly the same problem on my backup server.I wanted to "backup" a client but (after 2GB written) i 've got the same error (like michael). the greatest problem is that now, i can't launch backup without have this error.Does anyone have a http://marc.info/?l=bacula-users&m=132230439121230 solution?Device from bacula-sd.conf :Device { Name = Certance # Drive Index = 0 Media Type = DAT72 Device Type = tape Archive Device = /dev/tape AutomaticMount = yes # when device opened, read it AlwaysOpen = yes RemovableMedia = yes Label media = yes RandomAccess = no# # Enable the Alert command only if you http://bacula.10910.n7.nabble.com/Re-Error-writing-final-EOF-to-tape-tape-errors-td22851.html have the mtx package loaded# Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"}Thanks a lotP.S : btape test is OK. P.P.S : Sorry for my english ;-)Auteur:Michael MorganDate: 2007-02-1922:582007-02-19 21:58+100UTCĂ€:'[hidden email]'Sujet:[Bacula-users] Error writing final EOF to tape (tape errors) I seem to be having trouble writing large backups to tape from bacula. It has been working just fine for months, and within the last 2-3 weeks, I have started seeing errors and the backups will not complete. What happens it that it spools to disk, then begins to write to tape. After 3-9GB of data is written to tape, it seems to sense that the tape is full and give me the following error: Data spooling: 1 active jobs, 20,200,011,658 bytes; 1 total jobs, 20,200,011,658 max bytes/job. Attr spooling: 1 active jobs, 0 bytes; 1 total jobs, 4,245,075 max bytes. You have messages. *messages 19-Feb 11:01 longstreet-sd: User specified spool size reached. 19-Feb 11:01 longstreet-sd: Writing spooled data to Volume. Despooling 20,200,011,658 bytes ... 19-Feb 11:06 longstreet-sd: pickett
check if those two tapes are bad. Check if that drive needs cleaning. Run drive diagnostics on that drive. See if you can reproduce the problem http://osdir.com/ml/bacula/2011-05/msg00148.html with just, say, tar of some files to a known-good tape in http://aboutdedupe.com/phpBB2/viewtopic.php?p=390411&sid=8f7e1cb7e419654be8de93cbfd0b0831 that drive. If you can reproduce the problem, open a ticket with Dell. On 5/9/11 5:07 PM, lweinlan wrote: > we are using Bacula on a Linux 2.6.18-238.5.1.el5PAE system, and have a Dell > TL-2000 two drives (dev/nst0 and dev/nst1) autochanger. Bacula runs fine but > we always encounter a error writing tape error writing final EOF when using drive 1. There > is an error message regarding the tape EOF, the tape does not fill up, bacula > mounts the next tape, and continues the backup. The job finishes correctly. > What is noticeable is that a part of the error message is identical > (dev.c:1745 ioctl) and the error seems to appears at error writing final the same block (c:577) > for 2 different tapes as shown below. The amount of data written to each tape > varies before the error happening. I do not know if it makes a difference but > just wanted to mention it. What could be the cause of this problem ? > below are the logs: > ... 09-May 02:59 saver-me-sd JobId 225: Error: block.c:577 Write error at 4:3 on device "Drive-1" (/dev/nst1). ERR=Input/output error. 09-May 02:59 saver-me-sd JobId 225: Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1745 ioctl MTWEOF error on "Drive-1" (/dev/nst1). ERR=Input/output error. ... ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Bacula-users mailing list Bacula-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/bacula-users Thread at a glance: Previous Message by Date: Re: [Bacula-users] BACULA: free space on tape On Tue, 10 May 2011 00:36:57 -0700 mulle78
FAQForumsJoin Our Forums!General TopicsBakBone NetVaultCA Brighstor ARCserveCommVault GalaxyEMC NetWorkerHP Data ProtectorIBM TSMSymantec Backup ExecSyncSort Backup ExpressSymantec NetBackupOpen-Source AmandaOpen-Source BackupPCOpen-Source BaculaOpen-Source Rdiff-BackupOpen-Source RsnapshotWikiRecent ChangesSpecial PagesPopular PagesCategoriesContact CurtisYour AccountYour DetailsMaintain SiteLogoutYours Search • FAQ • Memberlist • Log in Backup Central Forums Forum Index » Bacula » Why bacula does not mark job as failed after "Write err The time now is Fri Oct 14, 2016 7:07 pm View previous topic | View next topic Page 1 of 1 Why bacula does not mark job as failed after "Write err Author Message Andrey Lyarskiy Guest Why bacula does not mark job as failed after "Write err Greetings! Recently I have noticed that all jobs status are fine, independently of write errors on tape drive. bacula.log: 05-Dec 07:27 backup-sd-office JobId 66089: Error: block.c:577 Write error at 280:554 on device "Drive-0" (/dev/nst0). ERR=Input/output error. 05-Dec 07:27 backup-sd-office JobId 66089: Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1557 ioctl MTWEOF error on "Drive-0" (/dev/nst0). ERR=Input/output error. 05-Dec 07:27 backup-sd-office JobId 66089: End of medium on Volume "000842L5" Bytes=1,296,312,966,144 Blocks=20,094,136 at 05-Dec-2013 07:27. TapeLibrary - IBM 3573-TL with LTO5 tapes. Why bacula did not mark job #66089 as failed? IMHO after such error all the jobs on this tape should be marked as possible-unreadable or something like that. ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users < at > lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Thu Dec 05, 2013 2:01 am kern Joined: 06 Jan 2010 Posts: 789 Why bacula does not mark job as failed after "Write err Hello, The Bacula behavior is indeed correct (as programmed). This is an error, but it is not a fatal error. Note that the error message is in the conditional tense (maybe not obvious for non-mother tongue speakers), which means that the tape may not be readable, but that the only way to know for sure is to read the tape. This can happen if the end of