xfs
[Top] [All Lists]

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

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: files in /etc/xinetd.d become 0 byte size
From: Harald Wagener <hwagener@xxxxxxxxxxxxxxx>
Date: Mon, 18 Mar 2002 18:32:36 +0100
Cc: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>, linux-xfs <linux-xfs@xxxxxxxxxxx>
Organization: FCB Wilkens
References: <3C961055.FF5DF9C6@ch.sauter-bc.com> <3C96162B.FEBA6ABA@ch.sauter-bc.com> <1016471589.5554.35.camel@stout.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Eric Sandeen wrote:
> 
> On Mon, 2002-03-18 at 10:30, Simon Matter wrote:
> 
> > I reproduced it now:
> > Using ntsysv to manage services -> reboot: Files in /etc/xinetd.d have
> > normal size but filled with zero.
> 
> Trying it now...  no problems.  I tested it with the
> 2.4.9-13SGI_XFS_1.0.2 kernel and ntsysv-1.2.24-1.  (this test box is
> mostly ext3, but I mounted an xfs filesystem on /etc/xinetd.d for this
> test).
> 
> > Using ntsysv again truncates them to
> > zero size.
> 
> That part's not too surprising, if it encountered config files with bad
> data.
> 

A fix is to remount the xfs partition read-only before really unmounting and
then shutting down completely so the kernel buffers will get written out to
disk. RedHat already does this for ext2, so You should find the appropriate
spot in Your scripts.

Regards,
        Harald

-- 
Harald Wagener * An der Alster 42 * 20099 Hamburg * http://www.fcb-wilkens.com
"Ada is PL/I trying to be Smalltalk. -- Codoso diBlini


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