Veritas-bu

[Veritas-bu] error 84 - ioctl (MTWEOF) failed on media id

2004-05-19 10:51:51
Subject: [Veritas-bu] error 84 - ioctl (MTWEOF) failed on media id
From: tech2187 AT yahoo DOT com (K Chapman)
Date: Wed, 19 May 2004 07:51:51 -0700 (PDT)
--0-712381643-1084978311=:73485
Content-Type: text/plain; charset=us-ascii

its trying to write the end of file mark and fails...  if this is solaris, you 
can do netstat -k and look for st<tape driver instance #>, it will show you 
error counts on the drive...  you can also look in the syslog, it should show 
the driver returning the write error along with the other info.  your getting 
errors across all your drives  and with diff tapes...  we had something similar 
and it turned out to be really bad drives (and drive tech, damn exabyte)

Steve Mickeler <steve AT warning DOT ca> wrote:
Ive been experiencing quite a few error 84 (media write error) lately.

A job will start running and then I'll notice in the activity monitor that
the "KB per Second" number for some of the streams shows the same number
ie: 17804 at which point I know that those jobs are going to fail and I'll
end up with an error 84 for those streams. The job will then start again,
sometimes using the same media, sometimes a new media, but it will
generally succeed the second time.

Any ideas as to what is causing the first job to fail ?



from the bptm log:


00:03:49.218 [7267] <2> io_ioctl: command (0)MTWEOF 1 from (bptm.c.15845)
on drive index 2

00:21:49.411 [7267] <16> io_ioctl: ioctl (MTWEOF) failed on media id
000041, drive index 2, I/O error (bptm.c.15845)

00:21:49.412 [7267] <2> log_media_error: successfully wrote to error file
- 05/19/04 00:21:49 000041 2 WRITE_ERROR

00:21:49.412 [7267] <2> check_error_history: called from bptm line 15869,
EXIT_Status = 84

00:21:49.979 [7267] <2> check_error_history: drive index = 2, media id =
000041, time = 05/19/04 00:21:49, both_match = 0, media_match = 1,
drive_match = 0

---------------------------------------------------------------------------------

00:31:45.025 [11412] <2> io_ioctl: command (0)MTWEOF 1 from (bptm.c.15845)
on drive index 0

00:49:45.221 [11412] <16> io_ioctl: ioctl (MTWEOF) failed on media id
000041, drive index 0, I/O error (bptm.c.15845)

00:49:45.222 [11412] <2> log_media_error: successfully wrote to error file
- 05/19/04 00:49:45 000041 0 WRITE_ERROR

00:49:45.222 [11412] <2> check_error_history: called from bptm line 15869,
EXIT_Status = 84

00:49:45.786 [11412] <2> check_error_history: drive index = 0, media id =
000041, time = 05/19/04 00:49:45, both_match = 0, media_match = 2,
drive_match = 0

00:49:45.992 [11412] <8> check_error_history: FREEZING media id 000041, it
has had at least 3 errors in the last 12 hour(s)

---------------------------------------------------------------------------------

00:36:44.063 [15640] <2> io_ioctl: command (2)MTBSF 1 from (bptm.c.17369)
on drive index 2

00:36:44.071 [15640] <2> io_ioctl: command (0)MTWEOF 1 from (bptm.c.17395)
on drive index 2

00:54:44.272 [15640] <16> io_ioctl: ioctl (MTWEOF) failed on media id
000079, drive index 2, I/O error (bptm.c.17395)

00:54:44.274 [15640] <2> log_media_error: successfully wrote to error file
- 05/19/04 00:54:44 000079 2 WRITE_ERROR

---------------------------------------------------------------------------------

01:03:15.049 [19343] <2> io_ioctl: command (0)MTWEOF 1 from (bptm.c.15845)
on drive index 1

01:21:15.243 [19343] <16> io_ioctl: ioctl (MTWEOF) failed on media id
000017, drive index 1, I/O error (bptm.c.15845)

01:21:15.244 [19343] <2> log_media_error: successfully wrote to error file
- 05/19/04 01:21:15 000017 1 WRITE_ERROR

01:21:15.244 [19343] <2> check_error_history: called from bptm line 15869,
EXIT_Status = 84

01:21:15.813 [19343] <2> check_error_history: drive index = 1, media id =
000017, time = 05/19/04 01:21:15, both_match = 0, media_match = 0,
drive_match = 2

01:22:20.672 [19343] <8> check_error_history: DOWN'ing drive index 1, it
has had at least 3 errors in last 12 hour(s)


---------------------------------------------------------------------------------

06:31:57.233 [13507] <2> io_ioctl: command (0)MTWEOF 1 from (bptm.c.15845)
on drive index 0

06:49:57.432 [13507] <16> io_ioctl: ioctl (MTWEOF) failed on media id
000033, drive index 0, I/O error (bptm.c.15845)

06:49:57.433 [13507] <2> log_media_error: successfully wrote to error file
- 05/19/04 06:49:57 000033 0 WRITE_ERROR

06:49:57.433 [13507] <2> check_error_history: called from bptm line 15869,
EXIT_Status = 84

06:49:58.006 [13507] <2> check_error_history: drive index = 0, media id =
000033, time = 05/19/04 06:49:57, both_match = 0, media_match = 0,
drive_match = 1


_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


aaarrrggghhh!!!!
FreeBSD rocks
                
---------------------------------
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
--0-712381643-1084978311=:73485
Content-Type: text/html; charset=us-ascii

<DIV>its trying to write the end of file mark and fails...&nbsp; if this is 
solaris, you can do netstat -k and look for st&lt;tape driver instance #&gt;, 
it will show you error counts on the drive...&nbsp; you can also look in the 
syslog, it should show the driver returning the write error along with the 
other info.&nbsp; your getting&nbsp;errors across all your drives&nbsp; and 
with diff tapes...&nbsp; we had something similar and it turned out to be 
really bad drives (and drive tech, damn exabyte)<BR><BR><B><I>Steve Mickeler 
&lt;steve AT warning DOT ca&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #1010ff 2px solid"><BR>Ive been experiencing quite a few error 84 
(media write error) lately.<BR><BR>A job will start running and then I'll 
notice in the activity monitor that<BR>the "KB per Second" number for some of 
the streams shows the same number<BR>ie: 17804 at which point I know that those 
jobs are going to fail and I'll<BR>end up with an error 84 for those streams. 
The job will then start again,<BR>sometimes using the same media, sometimes a 
new media, but it will<BR>generally succeed the second time.<BR><BR>Any ideas 
as to what is causing the first job to fail ?<BR><BR><BR><BR>from the bptm 
log:<BR><BR><BR>00:03:49.218 [7267] &lt;2&gt; io_ioctl: command (0)MTWEOF 1 
from (bptm.c.15845)<BR>on drive index 2<BR><BR>00:21:49.411 [7267] &lt;16&gt; 
io_ioctl: ioctl (MTWEOF) failed on media id<BR>000041, drive index 2, I/O error 
(bptm.c.15845)<BR><BR>00:21:49.412 [7267] &lt;2&gt; log_media_error:
 successfully wrote to error file<BR>- 05/19/04 00:21:49 000041 2 
WRITE_ERROR<BR><BR>00:21:49.412 [7267] &lt;2&gt; check_error_history: called 
from bptm line 15869,<BR>EXIT_Status = 84<BR><BR>00:21:49.979 [7267] &lt;2&gt; 
check_error_history: drive index = 2, media id =<BR>000041, time = 05/19/04 
00:21:49, both_match = 0, media_match = 1,<BR>drive_match = 
0<BR><BR>---------------------------------------------------------------------------------<BR><BR>00:31:45.025
 [11412] &lt;2&gt; io_ioctl: command (0)MTWEOF 1 from (bptm.c.15845)<BR>on 
drive index 0<BR><BR>00:49:45.221 [11412] &lt;16&gt; io_ioctl: ioctl (MTWEOF) 
failed on media id<BR>000041, drive index 0, I/O error 
(bptm.c.15845)<BR><BR>00:49:45.222 [11412] &lt;2&gt; log_media_error: 
successfully wrote to error file<BR>- 05/19/04 00:49:45 000041 0 
WRITE_ERROR<BR><BR>00:49:45.222 [11412] &lt;2&gt; check_error_history: called 
from bptm line 15869,<BR>EXIT_Status = 84<BR><BR>00:49:45.786 [11412] &lt;2&gt; 
check_error_history: drive
 index = 0, media id =<BR>000041, time = 05/19/04 00:49:45, both_match = 0, 
media_match = 2,<BR>drive_match = 0<BR><BR>00:49:45.992 [11412] &lt;8&gt; 
check_error_history: FREEZING media id 000041, it<BR>has had at least 3 errors 
in the last 12 
hour(s)<BR><BR>---------------------------------------------------------------------------------<BR><BR>00:36:44.063
 [15640] &lt;2&gt; io_ioctl: command (2)MTBSF 1 from (bptm.c.17369)<BR>on drive 
index 2<BR><BR>00:36:44.071 [15640] &lt;2&gt; io_ioctl: command (0)MTWEOF 1 
from (bptm.c.17395)<BR>on drive index 2<BR><BR>00:54:44.272 [15640] &lt;16&gt; 
io_ioctl: ioctl (MTWEOF) failed on media id<BR>000079, drive index 2, I/O error 
(bptm.c.17395)<BR><BR>00:54:44.274 [15640] &lt;2&gt; log_media_error: 
successfully wrote to error file<BR>- 05/19/04 00:54:44 000079 2 
WRITE_ERROR<BR><BR>---------------------------------------------------------------------------------<BR><BR>01:03:15.049
 [19343] &lt;2&gt; io_ioctl: command (0)MTWEOF 1 from
 (bptm.c.15845)<BR>on drive index 1<BR><BR>01:21:15.243 [19343] &lt;16&gt; 
io_ioctl: ioctl (MTWEOF) failed on media id<BR>000017, drive index 1, I/O error 
(bptm.c.15845)<BR><BR>01:21:15.244 [19343] &lt;2&gt; log_media_error: 
successfully wrote to error file<BR>- 05/19/04 01:21:15 000017 1 
WRITE_ERROR<BR><BR>01:21:15.244 [19343] &lt;2&gt; check_error_history: called 
from bptm line 15869,<BR>EXIT_Status = 84<BR><BR>01:21:15.813 [19343] &lt;2&gt; 
check_error_history: drive index = 1, media id =<BR>000017, time = 05/19/04 
01:21:15, both_match = 0, media_match = 0,<BR>drive_match = 
2<BR><BR>01:22:20.672 [19343] &lt;8&gt; check_error_history: DOWN'ing drive 
index 1, it<BR>has had at least 3 errors in last 12 
hour(s)<BR><BR><BR>---------------------------------------------------------------------------------<BR><BR>06:31:57.233
 [13507] &lt;2&gt; io_ioctl: command (0)MTWEOF 1 from (bptm.c.15845)<BR>on 
drive index 0<BR><BR>06:49:57.432 [13507] &lt;16&gt; io_ioctl: ioctl (MTWEOF) 
failed on
 media id<BR>000033, drive index 0, I/O error 
(bptm.c.15845)<BR><BR>06:49:57.433 [13507] &lt;2&gt; log_media_error: 
successfully wrote to error file<BR>- 05/19/04 06:49:57 000033 0 
WRITE_ERROR<BR><BR>06:49:57.433 [13507] &lt;2&gt; check_error_history: called 
from bptm line 15869,<BR>EXIT_Status = 84<BR><BR>06:49:58.006 [13507] &lt;2&gt; 
check_error_history: drive index = 0, media id =<BR>000033, time = 05/19/04 
06:49:57, both_match = 0, media_match = 0,<BR>drive_match = 
1<BR><BR><BR>_______________________________________________<BR>Veritas-bu 
maillist - Veritas-bu AT mailman.eng.auburn DOT 
edu<BR>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</BLOCKQUOTE></DIV><BR><BR>aaarrrggghhh!!!!<br>FreeBSD
 rocks<p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br><a 
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=24311/*http://promo.yahoo.com/sbc/";>SBC
 Yahoo!</a> - Internet access at a great low price.
--0-712381643-1084978311=:73485--