Date: Tue, 03 Jun 2003 08:51:59 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Kern Sibbald <kern@sibbald.com>, mjacob@feral.com Cc: freebsd-scsi@freebsd.org Subject: Re: SCSI tape data loss Message-ID: <3490610000.1054651919@aslan.scsiguy.com> In-Reply-To: <1054645616.13630.161.camel@rufus> References: <3EDB31AB.16420.C8964B7D@localhost> <3EDB59A4.27599.C93270FB@localhost> <20030602110836.H71034@beppo> <20030602131225.F71034@beppo> <1054645616.13630.161.camel@rufus>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello, > > Dan has now re-run our test of writing to two tapes. In > this test, he told Bacula not to attempt to re-read the > last block written, so Bacula wrote until -1 with errno=ENOSPC > was returned, wrote two EOF marks then put up > the next volume. Bacula is supposed to start the process of a tape change as soon as the amount written is less than what you intended to write. Ignoring the short write and waiting until you hit ENOSPC guarantees you will hit PEOM, since the LEOM is only reported once. The tape driver expects that you know what you are doing if you go on writing. -- Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3490610000.1054651919>