I totally agree we should fix the core cause. If there&#39;s anything to prevent file system errors from ever happening, go for it. However, when the inevitable<br>Filesystem errors, Fix(y/n):<br>appears, when was the last time you pressed &quot;n&quot;! Unless you&#39;re Theodore tso there&#39;s not so much you could do, eh! So why not make that the default<br>
<br><div class="gmail_quote">On Tue, Jun 10, 2008 at 4:36 PM, Eric Sandeen &lt;<a href="mailto:sandeen@redhat.com">sandeen@redhat.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Ahmed Kamal wrote:<br>
&gt; I would like to propose<br>
&gt;<br>
&gt; echo AUTOFSCK_DEF_CHECK=yes &gt;&gt; /etc/sysconfig/autofsck<br>
&gt; echo &#39;AUTOFSCK_OPT=&quot;-y&quot;&#39; &gt;&gt; /etc/sysconfig/autofsck<br>
&gt;<br>
&gt; Working with a local ISP in some rural area where there&#39;s a lot of power<br>
&gt; cuts! The ISP guys were asking like, &quot;Why is it that Linux boxes need<br>
&gt; manual intervention to get back up after a power cut!&quot; .. &quot;Can&#39;t you<br>
&gt; script what you&#39;re doing to get it back up&quot; ?!<br>
&gt; Does not having this as the default makes sense in some tangible number<br>
&gt; of cases ?!<br>
&gt;<br>
<br>
</div></div>Adding -y could potentially be dangerous. &nbsp;e2fsck asks when the answer<br>
isn&#39;t obvious. &nbsp;In some situations, perhaps, but I probably would not<br>
make this default.<br>
<br>
I&#39;m more concerned that you&#39;re seeing so many problems; with a<br>
journaling filesystem you really shouldn&#39;t have any filesystem metadata<br>
integrity problems on power loss; that is, if you have barriers on<br>
(which ext3 doesn&#39;t by default) and if your storage can pass barriers<br>
(which lvm doesn&#39;t), or if you have drive write cache disabled (which<br>
hurts performance pretty badly).<br>
<br>
I&#39;d rather address the root of the problem and sort out why, if you are<br>
paying the journaling overhead penalty at runtime, it&#39;s not saving you<br>
on power loss.<br>
<br>
-Eric<br>
<font color="#888888"><br>
--<br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>
</font></blockquote></div><br>