From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Knorr Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: AdvFS Read Errors Date: Thu, 21 Jul 2005 13:17:25 -0400 Message-ID: <034e01c58e18$10a89490$b4c8a8c0@hopsdc.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1121966460 14505 80.91.229.2 (21 Jul 2005 17:21:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2005 17:21:00 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jul 21 19:20:47 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DveiK-0004fg-Cj for gotm-tru64-unix-managers@gmane.org; Thu, 21 Jul 2005 19:20:04 +0200 Original-Received: (qmail 20795 invoked by uid 49509); 21 Jul 2005 17:19:48 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20780 invoked by uid 49501); 21 Jul 2005 17:19:48 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-2.6/5.0):. Processed in 3.452758 secs); 21 Jul 2005 17:19:48 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 21 Jul 2005 17:19:44 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IJZ00MGBMSTK6@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 21 Jul 2005 13:19:42 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) id <0IJZ00102MRTWS@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 21 Jul 2005 13:19:11 -0400 (EDT) Original-Received: from gull.hopsdc.com (gull.hopsdc.com [199.227.253.10]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IJZ00ML6MRROS@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 21 Jul 2005 13:19:05 -0400 (EDT) Original-Received: from cknorrlap ([192.168.200.180]) by gull.hopsdc.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 21 Jul 2005 13:17:25 -0400 Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: cknorr@trapsystems.com X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on spam3.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.0.4 X-OriginalArrivalTime: 21 Jul 2005 17:17:25.0970 (UTC) FILETIME=[10A78320:01C58E18] Xref: news.gmane.org gmane.os.tru64.managers:8452 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8452 Many thanks to Dr. Tom Blinn and Roberto Mackun for their responses. Original Question: What type of corrective action should be taken if you are seeing AdvFS = READ errors? Dr. Tom: By the time you see the read error, the OS has already exhausted the = retries and given up. You should issue the command given in the messages file: /sbin/advfs/tag2name /stripe1/.tags/53146 which will show you the path to the affected file. Unless there is=20 more than one file involved, simply copying that ONE file to a new file = (if this is a striped fileset, you need to do it following the procedures in = the AdvFS documentation for creating and populating a striped file); you = should probably use a tool like "dd" that can copy the file in appropriate = sized chunks and recover from the read error you are likely to get part way through the file. The impact of the read error depends on the = application that experienced it; most applications exit abnormally on disk read = errors because in most cases there is no way to recover, but depending on the = file and the application reading it, it may have kept going; that's why you = need to figure out what file is impacted. If you are getting hard read errors, it might be a good idea to just = replace the disk that's failing; typically, if the data can be read from the = disk when it's first starting to fail, the disk itself will relocate the data (transparently) and report a soft failure to the OS for logging = purposes. When enough errors happen on the same disk,=20 you can get to the point where the disk can no longer recover from = "soft" errors and starts to report hard errors. Once this happens, you may = need to replace the disk itself (which in a multi-disk AdvFS domain can be a challenge, but AdvFS has ways to cope once you get them into your = knowledge base). Bobby Mackun: I would check the binary.errlog to see the type and number of errors = logged for the RAID5 disk. 90% of AdvFS I/O failures indicate that AdvFS is = unable to communicate with the underlying storage. If this is indeed a H/W = problem then you'll need to check the HSG80 logs to find out what may be causing this. If it's a RAID5 set then it may be possible to suspect that 2 = disks are bad.=20 Unless an AdvFS domain panic occurs as a result of the I/O error then = yes the OS will retry a READ or WRITE operation.