xfs
[Top] [All Lists]

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

To: Steve Lord <lord@xxxxxxx>
Subject: Re: files in /etc/xinetd.d become 0 byte size
From: Juri Haberland <juri@xxxxxxxxxxxxxx>
Date: Tue, 19 Mar 2002 20:02:54 +0100
Cc: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxx>, linux-xfs <linux-xfs@xxxxxxxxxxx>
Organization: totally unorganized
References: <Pine.LNX.4.33.0203190839410.19919-100000@xxxxxxxxxxxxxxxxxxxxxxxx> <3C97591B.FF456D25@xxxxxxxxxxxxxxxx> <3C975DB7.4010201@xxxxxxxxxxxxxx> <3C9760EA.3874D744@xxxxxxxxxxxxxxxx> <1016554052.4383.4.camel@xxxxxxxxxxxxxxxxxxxxxx> <3C976ADD.FE0E7CDA@xxxxxxxxxxxxxxxx> <1016558028.1770.31.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020305
Steve Lord wrote:
> On Tue, 2002-03-19 at 10:44, Simon Matter wrote:
> n
>> 
>> It was on the same partition. I also used to copy the files from
>> /root/xinetd.d/ to /etc/xinetd.d and just rebooted after and no zeros.
>> But I can reproduce it now very easily.
>> 
>> ntsysv (en/disabling rsh) ; reboot                 : gives zeroed files
>> ntsysv (en/disabling rsh) ; sleep 40 ; reboot      : is okay.
>> 
>> I'm sure ntsysv does something 'interesting' here but from my
>> understanding it should not be possible to damage the FS in such way. It
>> seems to me that somehow bdflush does not update the changes ntsysv did.
>> 
> 
> ntsysv does a synchronous transaction in the kernel you have - which in
> itself is not a problem. What appears to be happening is that the 
> remount readonly is not doing its job, or log recovery is for some
> reason thinking the filesystem was not cleanly unmounted - which
> might (just might) have something to do with the raid1 root partition.

Ok, when you mentioned the SW RAID1 root partition I remembered that I
have a similar box sitting here. It's also a fresh SGI-RH7.2
installation with all updates and all partitions are on a SW-RAID1, but
on SCSI disks, not on IDE disks.

I ran three test like yours (ntsysv (en/disabling time ; reboot)) and
afterwards I still had all files in /etc/xinetd.d with their proper
contents. I also had my .bash_history.
This box runs a 2.4.18-xfs-smp kernel from CVS, checked out on 4th of March.

Simon
what about a recent kernel? 2.4.9-31 is user contributed IIRC. It might
not be a good choice...

Juri


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