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

[no subject]



Stephen,

Thank you for your help  :-)

I'm not doing this on a live file system. I'm booting up with a CD and
doing this on unmounted filesystems.

> > However, yesterday, for the first time, when I do this, I get the error:
> > 
> > 	UNEXPECTED SOFT UPDATE INCONSISTENCY
> > 
> > This happens to mirror HD /usr only.
> > Mirror HD / and /var do not exhibit this problem.
> > 
> > If I fsck the mirror HD, all is OK except mirror HD /usr in which I get
> > a plethora of errors complaining about soft update inconsistencies.
> > 
> > If I attempt to examine mirror HD /usr with ls -l, I see there's also a
> > raft of BAD FILE DESCRIPTORs.
> > 
> > Further, the dd completion screen shows... an error coming from the
> > original HD, i.e. not the mirrored HD, drive. It only reports "[original
> > HD] input error". But when I fsck all partitions of that original HD,
> > all is reported as satisfactory.
> 
> Looks like you have a bad sector somewhere on the disk.

I agree it looks like it, maybe. But why doesn't fsck find this ?

> Is there something in the log file?

Which log file ?

> The /usr partition is probably only partially copied.

You are correct on this too.
> 
> You can try the following:
> 1) tar up /usr so that all used data blocks will be read.
>    This may indicate an unreadable file .. or you may be lucky and the
> bad sector is in unused space.

tar needs a mounted filesystem right ? [I don't use tar.]

> 2) Locate the defect sector (dd to /dev/null with offset,counts...)

> 3) Write zeroes to the defect sector to "repair" it and fsck..

I understand the writing zeroes to the bad sector using an offset, but
how do I exactly determine how many zeroes to write ?

Also, I assume you recall that fsck gives no error message now.
 
> 4) Restore the file that was not readable in 1)	           
> 
> I believe that there are disk repair tools in the ports tree but never
> had the need to try them.
> 
> > What's goin' on here and how can I remedy it. This is my gateway server
> > and I urgently need to resolve this.
> > 
> > Appreciatively,
> > 
> > Courtney
> > 
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
&gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt; 
&gt; &gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00378" href="msg00378.html">[ale] dd &amp; unexpected soft update inconsistency, HUH ?</a></strong>
<ul><li><em>From:</em> greg.freemyer at gmail.com (Greg Freemyer)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00368" href="msg00368.html">[ale] dd &amp; unexpected soft update inconsistency, HUH ?</a></strong>
<ul><li><em>From:</em> ccthomas at joimail.com (Courtney Thomas)</li></ul></li>
<li><strong><a name="00374" href="msg00374.html">[ale] dd &amp; unexpected soft update inconsistency, HUH ?</a></strong>
<ul><li><em>From:</em> ups at tree.com (Stephan Uphoff)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00376.html">[ale] Perl  + SMS</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00378.html">[ale] dd &amp; unexpected soft update inconsistency, HUH ?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00374.html">[ale] dd &amp; unexpected soft update inconsistency, HUH ?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00378.html">[ale] dd &amp; unexpected soft update inconsistency, HUH ?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00377"><strong>Date</strong></a></li>
<li><a href="threads.html#00377"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>