Received: with ECARTIS (v1.0.0; list linux-xfs); Tue, 14 Oct 2003 08:02:03 -0700 (PDT) Received: from zok.sgi.com (zok.sgi.com [204.94.215.101]) by oss.sgi.com (8.12.10/8.12.10) with SMTP id h9EF1U25032080 for ; Tue, 14 Oct 2003 08:01:30 -0700 Received: from flecktone.americas.sgi.com (flecktone.americas.sgi.com [192.48.203.135]) by zok.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with ESMTP id h9EF1Oq0021936 for ; Tue, 14 Oct 2003 08:01:24 -0700 Received: from daisy-e236.americas.sgi.com (daisy-e236.americas.sgi.com [128.162.236.214]) by flecktone.americas.sgi.com (8.12.9/8.12.9/generic_config-1.2) with ESMTP id h9EF1OaP12266102; Tue, 14 Oct 2003 10:01:24 -0500 (CDT) Received: from fsgi158.americas.sgi.com (fsgi158.americas.sgi.com [128.162.233.81]) by daisy-e236.americas.sgi.com (8.12.9/SGI-server-1.8) with ESMTP id h9EF1ORn322074656; Tue, 14 Oct 2003 10:01:24 -0500 (CDT) Received: from fsgi158.americas.sgi.com by fsgi158.americas.sgi.com (SGI-8.12.5/SGI-client-1.7) via ESMTP id h9EF1Net080483; Tue, 14 Oct 2003 10:01:23 -0500 (CDT) Received: (from tbd@localhost) by fsgi158.americas.sgi.com (SGI-8.12.5/8.12.5/Submit) id h9EF1Nco078807; Tue, 14 Oct 2003 10:01:23 -0500 (CDT) From: Tad Dolphay Message-Id: <200310141501.h9EF1Nco078807@fsgi158.americas.sgi.com> Subject: Re: XFS and async NFS exports To: Nicolas.Kowalski@imag.fr (Nicolas Kowalski) Date: Tue, 14 Oct 2003 10:01:22 -0500 (CDT) Cc: linux-xfs@oss.sgi.com In-Reply-To: from "Nicolas Kowalski" at Oct 14, 2003 03:58:43 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-archive-position: 715 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: tbd@sgi.com Precedence: bulk X-list: linux-xfs Content-Length: 882 Lines: 20 > recently faced a power outage on a fileserver with XFS filesystems >(CVS-2003-09-24_05). Some files written on NFS clients a few seconds >before the crash were damaged (zero-sized). > >On a first approach, I thought this was XFS-related, but afterwards, I >also realized that this server was exporting its filesystems with the >async export option...It this possible that this async option have >caused these file damages ? If I use sync exports, does this mean that >XFS will effectively write on disk all pending data ? If "async" is used, the NFS server can respond that the data is commited when it really isn't on disk. Thus, when the NFS server crashes, the NFS client does not think it has to re-commit the data. If sync exports are used on the NFS server and hard mounts are used on the NFS client, I doubt there will be any loss of data when a server crashes. Tad