Date: Wed, 30 Jul 2014 21:19:15 +0200 (CEST) From: freebsd-scsi@uriah.heep.sax.de (Joerg Wunsch) To: freebsd-scsi@freebsd.org Subject: Re: Bacula fails on FreeBSD 10.x / "mt fsf" infinitely proceeds Message-ID: <20140730191915.9B944267B@uriah.heep.sax.de> In-Reply-To: <20140730153229.GA86368@nargothrond.kdm.org> References: <20140729090724.GA26577@uriah.heep.sax.de> <201407291823.s6TINAad032318@higson.cam.lispworks.com> <20140729191829.GK3121@uriah.heep.sax.de> <20140729204354.GA78616@nargothrond.kdm.org> <20140729224414.E2AAE276@uriah.heep.sax.de> <20140730035230.GA81800@nargothrond.kdm.org> <20140730060330.GA3272@uriah.heep.sax.de> <20140730153229.GA86368@nargothrond.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Kenneth D. Merry" <ken@FreeBSD.ORG> wrote: >> (Replacing the L9 by some SAS-attached LTO-x library is already >> planned.) > > Yep, you'll get much more capacity that way. That's the main reason, yes. My pile of DLT media is getting quite full. > I have attached an updated DTrace script. This will print out the info > field, and we'll see what the drive is returning in the info field. Here's the output (this time, "mt fsf 32767" first, and the "dd" command second). root@uriah:~ # dtrace -s /tmp/tapetest.d dtrace: script '/tmp/tapetest.d' matched 2 probes CPU ID FUNCTION:NAME 1 406 saerror:entry Opcode 11, Status 0xc Data: Len 0, Resid 0, Sense: Len 252, Resid 223 1 21086 scsi_get_sense_info:entry Sense info: 0,0,7f,fa 3 406 saerror:entry Opcode 08, Status 0xc Data: Len 65536, Resid 55296, Sense: Len 252, Resid 223 3 21086 scsi_get_sense_info:entry Sense info: 0,0,d8,0 ^C > If the residual value in the info field is correct, then we may have a > problem with the way that scsi_get_sense_info() is handling it. I think that's the case; the sense info looks OK to me, and makes sense (:-); 32762 for the SPACE command, 55296 for the READ which is 64 KiB - 10 KiB. I'll look into scsi_get_sense_info(). -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140730191915.9B944267B>