xfs
[Top] [All Lists]

Re: files in /etc/xinetd.d become 0 byte size

To: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Subject: Re: files in /etc/xinetd.d become 0 byte size
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 19 Mar 2002 10:07:31 -0600
Cc: Juri Haberland <juri@xxxxxxxxxxxxxx>, linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3C9760EA.3874D744@xxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.33.0203190839410.19919-100000@xxxxxxxxxxxxxxxxxxxxxxxx> <3C97591B.FF456D25@xxxxxxxxxxxxxxxx> <3C975DB7.4010201@xxxxxxxxxxxxxx> <3C9760EA.3874D744@xxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2002-03-19 at 10:01, Simon Matter wrote:
 
> This is a fresh install of 7.2 XFS. I have the mentioned lines in
> /etc/rc.d/init.d/halt.
> 
> I think that something in the shutdown process is not okay. I remember
> the bdflush discussion and the vim story. So I think the remount
> readonly trick does not make shure data is flushed to disk.
> I enabled write cache again because it doesn't help and tried this
> 
> [root@gw-linux-dev xinetd.d]# ntsysv ; sleep 40 ; reboot
> 
> No zeroed files ! 

Odd.

You said that echoing something into a file just before shutdown did not
exhibit this problem.  Was the target file also on the root filesystem?

It might also be worth temporarily trying a more recent kernel, just in
case we're chasing an old bug.

Otherwise, I wonder if remount,ro is not behaving correctly in this
case.

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>