[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@sgi.com   SGI, Inc.