From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Siebert, Aaron" Newsgroups: gmane.os.tru64.managers Subject: FSYNC and hardware interoperability Date: Thu, 27 Feb 2003 15:42:59 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4E2CE3FB9E1B744482F6669A9AE2F72E7B8E57@NSTAREXCH1.windows.nagrastar.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: main.gmane.org 1046385778 13986 80.91.224.249 (27 Feb 2003 22:42:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 22:42:58 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18oWjw-0003d7-00 for ; Thu, 27 Feb 2003 23:42:56 +0100 Original-Received: (qmail 16146 invoked by uid 5); 27 Feb 2003 22:43:05 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16137 invoked by uid 49493); 27 Feb 2003 22:43:05 -0000 Original-Received: from aaron.siebert@nagrastar.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.362897 secs); 27 Feb 2003 22:43:05 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 27 Feb 2003 22:43:04 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAZ008IXOFRW7@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Feb 2003 17:43:04 -0500 (EST) Original-Received: from windows.nagrastar.com (nstarexch1.windows.nagrastar.com [208.46.80.200]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAZ00J71OFNYP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Feb 2003 17:43:00 -0500 (EST) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: FSYNC and hardware interoperability Thread-Index: AcLesZP94OyqvVAjR9aAfLY2ksQ0zA== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:3473 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3473 Managers, This question applies to most UNIX platforms including Tru64. We have a need to ensure that data is written to disk. We are planning to use the fsync command to ensure that the data was written. However, we are concerned that at the hardware level, intelligent caching may have some way to disguise if the data was actually written to disk or is waiting to be committed. Basically, our understanding is that executing the fsync command ensures that the data has been committed to disk regardless of the hardware/controller/disk application. Can anyone confirm this or does anyone have any suggestions? Thanks Aaron Siebert IT Systems Engineer Nagrastar Desk: 303-706-5492 Fax: 303-706-5719 Aaron.Siebert@Nagrastar.com=20