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: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Tue, 19 Mar 2002 16:28:27 +0100
>received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id 5CF9857306; Tue, 19 Mar 2002 16:28:27 +0100 (CET)
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
Organization: Sauter AG, Basel
References: <Pine.LNX.4.33.0203190839410.19919-100000@chuckle.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Eric Sandeen schrieb:
> 
> On Tue, 19 Mar 2002, Simon Matter wrote:
> 
> > Eric Sandeen schrieb:
> > >
> > > I don't know for sure how IDE write caching works, to tell you the
> > > truth.  Try making sure it's off, and we'll go from there.
> >
> > How can I disable write caching on the Quantum AS20.5 disks? I've tried
> 
> hdparm -W
> 
>  -W  Disable/enable the IDE drive's write-caching feature (usually OFF
>      by default).

I have disabled the write cache directly on the disk with IBM's feature
tool. The bad thing is that after a reboot, write cache is enabled again
which means that this drive doesn't store caching config permanently!

So I have put EXTRA_PARAMS=-W0 into /etc/sysconfig/harddisks and
rebooted. syslog confirms that:

[root@gw-linux-dev xinetd.d]# grep hdparm /var/log/messages
Mar 19 16:14:30 gw-linux-dev hdparm: /dev/hda:
Mar 19 16:14:30 gw-linux-dev hdparm:  setting drive write-caching to 0
(off)
Mar 19 16:14:30 gw-linux-dev hdparm: /dev/hdb:
Mar 19 16:14:30 gw-linux-dev hdparm:  setting drive write-caching to 0
(off)

So I should be safe. Tried a bonnie and the result shows that cache IS
off.

Tried

[root@gw-linux-dev xinetd.d]# ntsysv ; reboot

and got zeroed files in /etc/xinetd.d/ again!!!

What can I do now?

-Simon



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