TITLE: HP Tru64 UNIX Potential data consistency issues with ADVFS and DirectI/O TITLE: HP Tru64 UNIX Potential data consistency issues with ADVFS and DirectI/O Copyright (c) Hewlett-Packard Company 2002. All rights reserved. PRODUCT: Tru64 UNIX [R] 5.1 SOURCE: Hewlett-Packard Company ECO INFORMATION: ECO Name: T64V51B19-C0151600-15736-E-20021017 ECO Kit Approximate Size: 2.8MB Kit Applies To: Tru64 UNIX 5.1 PK5 (BL19) ECO Kit CHECKSUMS: /usr/bin/sum results: 05834 2740 /usr/bin/cksum results: 3927262053 2805760 MD5 results: 32465dac6a8521237fdceeb34f434bf7 SHA1 results: 5ed226206e976d4103d842e2e3e3000c081b2854 ECO KIT SUMMARY: A dupatch-based, Early Release Patch kit exists for Tru64 UNIX 5.1 that contains solutions to the following problem(s): The following data consistency problems may occur in HP Tru64 UNIX with any application that uses ADVFS and direct I/O: 1. Potential for inconsistent data to be returned for threaded applications performing AIO reads on a fragmented file via direct I/O, though correct data is returned on subsequent reads. In addition, there is a potential for an AIO read of a file opened for direct I/O to return an incorrect number of bytes transferred. There is no actual on disk corruption of the affected files. 2. Data loss may occur in files opened for direct I/O when writing in increments smaller than 8K. This problem has been seen as an Oracle process failure when running parallel query tests, with the following error message: "ORA-08103: OBJECT NO LONGER EXISTS error because a block in the datafile is invalid." 3. Stale data may be returned to an application performing a read after a copy-on-write operation on a clone fileset even though the correct data is on the disk. With Oracle, this has been seen as a "ORA-600 [3020] encountered during standby database recovery" error message. These fixes are recommended by Oracle on their http://metalink.oracle.com website for Oracle Server-Enterprise Edition versions 9.2, 9.0.1, and 8.1.7. The Patch Kit Installation Instructions and the Patch Summary and Release Notes documents provide patch kit installation and removal instructions and a summary of each patch. Please read these documents prior to installing patches on your system. The patches in this ERP kit will be available in Tru64 UNIX 5.1 Patch Kit 7. INSTALLATION NOTES: 1) Install this kit with the dupatch utility that is included in the patch kit. You may need to baseline your system if you have manually changed system files on your system. The dupatch utility provides the baselining capability. 2) This ERP kit will NOT install over any Customer Specific Patches (CSPs) which have file intersections with this ERP kit. Contact your normal Service Provider for assistance if the installation of this ERP kit is blocked by any of your installed CSPs. INSTALLATION PREREQUISITES: You must have installed Tru64 UNIX 5.1 PK5 (BL19) prior to installing this Early Release Patch Kit. SUPERSEDED PATCH LIST: The patch in this ERP kit supersedes the following patch: 1) Tru64 UNIX 5.1 C1252.00, Fix directIO pwrite/pread inconsistent data Delivered in ERP kit: - T64V51B19-C0125200-14321-E-20020520.tar Note: The AdvFS DirectI/O patch is built so it will install over the superseded patch 5.1 C1252.00. However, installation of the AdvFS DirectI/O patch will be blocked if any other patches have been installed that affect advfs.mod. KNOWN PROBLEMS WITH THE PATCH KIT: None. RELEASE NOTES FOR T64V51B19-C0151600-15736-E-20021017: 1 Release Notes This Early Release Patch Kit Distribution contains: - fixes that resolve the problem(s) reported in: o 88826 93376 93501 DE_G04755 * for Tru64 UNIX V5.1 T64V51B19AS0005-20020411.tar (BL19) The patches in this kit are being released early for general customer use. Refer to the Release Notes for a summary of each patch and installation prerequisites. Patches in this kit are installed by running dupatch from the directory in which the kit was untarred. For example, as root on the target system: > mkdir -p /tmp/CSPkit1 > cd /tmp/CSPkit1 > > tar -xpvf DUV40D13-C0044900-1285-20000328.tar > cd patch_kit > ./dupatch 2 Special Instructions There are no special instructions for Tru64 UNIX V5.1 Patch C1516.00 3 Summary of CSPatches contained in this kit Tru64 UNIX V5.1 PatchId Summary Of Fix ---------------------------------------- C1516.00 Fix directIO data inconsistencies (C1252.00 + C1380.00) 4 Additional information from Engineering None 5 Affected system files This patch delivers the following files: Tru64 UNIX V5.1 Patch C1516.00 ./sys/BINARY/advfs.mod CHECKSUM: 22744 1185 SUBSET: OSFADVFSBIN510 [R] UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company Limited. Copyright Hewlett-Packard Company 2002. All Rights reserved. This software is proprietary to and embodies the confidential technology of Hewlett-Packard Company. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Hewlett-Packard or an authorized sublicensor. This ECO has not been through an exhaustive field test process. Due to the experimental stage of this ECO/workaround, Hewlett-Packard makes no representations regarding its use or performance. The customer shall have the sole responsibility for adequate protection and back-up data used in conjunction with this ECO/workaround.