Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g5P3JrnC024508 for ; Mon, 24 Jun 2002 20:19:53 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g5P3Jr1w024507 for linux-xfs-outgoing; Mon, 24 Jun 2002 20:19:53 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from srv.dmz.us.mvd (namodn.com [209.0.100.50] (may be forged)) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g5P3JfnC024478 for ; Mon, 24 Jun 2002 20:19:41 -0700 Received: from harris.cn.mvd (unknown [210.72.245.13]) by srv.dmz.us.mvd (Postfix) with ESMTP id 70B55B70D; Mon, 24 Jun 2002 20:23:02 -0700 (PDT) Date: Tue, 25 Jun 2002 12:28:26 +0800 (CST) From: Harrison Xing X-X-Sender: To: Seth Mos Cc: Subject: Re: Open file corruption? In-Reply-To: <4.3.2.7.2.20020622150124.02dbf5c0@pop.xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-3.2 required=5.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK,MAY_BE_FORGED version=2.20 X-Spam-Level: Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Thanks for your suggestion. My concern is that whether my current XFS 1.0.1 release may lose data for files opened as read-only. Someone has seen once or twice that "fstab" is corrupted after power off. I know XFS 1.1 has made lots of enhancements, is it ever possible this also happens with XFS 1.1? Can anyone give a clear answer on this for both 1.0.1 and 1.1? Thanks. On Sat, 22 Jun 2002, Seth Mos wrote: > At 17:42 22-6-2002 +0800, Harrison Xing wrote: > > >On Sat, 22 Jun 2002, Seth Mos wrote: > > > > > At 10:51 22-6-2002 +0800, Harrison Xing wrote: > > > >Hi, > > > > > > > >There has been reports and FAQ about an open file which is modified is > > > >corrupted after power failure. But is it possible for a file that is > > opened > > > >for read-only access becomes corrupted after accidental power failure? We > > > >have met once or twice that some open files get lost even though there > > doesn't > > > >seem to have any process which modifies them. Thanks. > > > > > > What kernel, distro, hardware? > > > > > > >The XFS 1.0.1 release with 2.4.5. A little bit old. Intel HW. > > Better update to something more recent like the 1.1 release. It fixes a lot > of issues including the file corruption during power-off. I do remember > that someone else encountered this with a read_only opened file as well but > not what the cause was. > > Upgrading to 1.1 gives you a lot more robust XFS kernel then what yuo have > now and it's handling of open files will possibly be very different in > behaviour then what you see now. > > Cheers > > > > > > Cheers > > > > > > -- > > > Seth > > > It might just be your lucky day, if you only knew. > > > > > > >-- > >Best Regards, > >Harrison > > -- > Seth > It might just be your lucky day, if you only knew. > -- Best Regards, Harrison