From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David.Knight@clubcorp.com Newsgroups: gmane.os.tru64.managers Subject: [ SUMMARY ] Oracle DBF file corruption / ADVFS Date: Fri, 24 Oct 2003 14:56:49 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1067025550 15257 80.91.224.253 (24 Oct 2003 19:59:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2003 19:59:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Oct 24 21:59:07 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AD85S-0006K5-00 for ; Fri, 24 Oct 2003 21:59:06 +0200 Original-Received: (qmail 32680 invoked by uid 5); 24 Oct 2003 19:58:54 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 32629 invoked by uid 49493); 24 Oct 2003 19:58:53 -0000 Original-Received: from David.Knight@clubcorp.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-1.5/5.0):. Processed in 1.65898 secs); 24 Oct 2003 19:58:53 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 24 Oct 2003 19:58:51 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HNA00G8U2612P@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 Oct 2003 15:58:51 -0400 (EDT) Original-Received: from mailmarshal1.clubcorp.com (fw1.clubcorp.com [204.146.199.2]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HNA00GDD25T9C@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 Oct 2003 15:58:43 -0400 (EDT) Original-Received: from nshub1.clubcorp.com (Not Verified[10.10.7.10]) by mailmarshal1.clubcorp.com with MailMarshal (v5,0,3,100) id ; Fri, 24 Oct 2003 14:56:34 -0500 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on NSHUB1/CLUBCORP/US(Release 5.0.12 |February 13, 2003) at 10/24/2003 02:55:53 PM, Serialize complete at 10/24/2003 02:55:53 PM Xref: main.gmane.org gmane.os.tru64.managers:5652 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5652 Thanks to Henk kalle, Dr. Alan Rollow, Martin Vasas and Bryan Williams for = your help and suggestions. Below is a list of responses/suggestions in=20 no particular order... =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F If there was a hardware problem, I would expect to see disk errors in=20 the binary error log or domain panics in the messages file. There are=20 several Oracle patches for data file corruption. Check with oracle for=20 your version. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F There is an=20 oracle Unix utility called dbverify which can be used to check the=20 datafiles. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F there is a init.ora parameter to fix this problem.=20 =20 edit the init.ora file : =5Ftru64=5Fdirectio=5Fdisabled=3Dtrue restart the the database recover database. =20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Oversimplying a bit (or a lot), the two general causes of this type of data corruption are: o Software bug, usually dealing with process interlocks that should prevent two processes from trying to write the same data at the same time. o Undetected hardware errors. About all you can do on the software is ensure that all the most recent patches are installed, in the hope that the relevant have found the software problem and fixed it. Some software systems, such as a database, may have features that can be enabled to double check their own writes and data to help detect and correct errors. I don't have a clue if Oracle has such a feature. The hardware side is even harder, since the cause of the problem was an "undetected" error. Each point in the typical data path has checks that ensure the data going across it is the expected data. Some data paths are parity protected, because they're sufficiently reliable that a double bit error (undetectable) is to rare to worry about. Others are ECC protected, so they can at least detect multi-bit errors and correct single bit ones. Some subsystems support extra levels of checking such as reading the data after being written and then checking that against the original. The rate of undetected data errors is designed to be very low for each part of the system. But, it is a game of chance; even with a low probability, one of them is going happen somewhere. Move enough data and you're bound to see one eventually. In the total universe of data being moved, your problem may have been undetected data corruption, that got noticed by the part of Oracle that checks the format and content of this file. If you have appropriate support services, you probably want to bring the data corruption to the attention of all the vendors involved. How the data was wrong can offer a clue what sort of corruption it was. Data that look appropriate for another part of the same file, or part of a different file, is quite different from a couple of bits being swapped in a single byte of data somewhere. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F ----- Forwarded by David Knight/CLUBCORP/US on 10/24/2003 02:51 PM ----- David Knight 10/24/2003 11:04 AM =20 To: tru64-unix-managers@ornl.gov cc:=20 Subject: Oracle DBF file corruption / ADVFS Hello Managers, We recently experienced corruption in an oracle dbf file and I am=20 trying to insure that it is not due to any Unix/hardware issue. I have no=20 errors in my messages/sys.log files. O/S Version: Tru64 5.1 / Tru Cluster=20 5. (ADVFS) Any recommendation for insuring that this is not a HW/OS issue=20 or ways to check the file at the O/S Level /etc would be much appreciated? Thanks, David