Diskussion:Device: /dev/sda, 1 Currently unreadable (pending) sectors: Unterschied zwischen den Versionen

Aus NOBAQ
Zur Navigation springenZur Suche springen
(Ein Kommentar wurde von Niki Hammler über die Programmerweiterung ArticleComments abgegeben.)
(Ein Kommentar wurde von Niki über die Programmerweiterung ArticleComments abgegeben.)
 
(5 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 6: Zeile 6:
 
<comment date="2012-08-30T08:30:04Z" name="Niki Hammler">
 
<comment date="2012-08-30T08:30:04Z" name="Niki Hammler">
 
One additional comment: The problem is NOT solved by rebooting. It seems that zeroing out is necessary :-(
 
One additional comment: The problem is NOT solved by rebooting. It seems that zeroing out is necessary :-(
 +
</comment>
 +
== mike meinte … ==
 +
 +
<comment date="2012-12-26T17:07:31Z" name="mike">
 +
hello! i have /dev/sdb  3TB
 +
how to perform Zeroing the disk  for 3TB
 +
 +
cat /dev/zero | pv -s 3000G | dd of=/dev/sda bs=100M
 +
 +
or this is not right ? please show the correct command
 +
 +
I'm afraid to make a mistake
 +
 +
</comment>
 +
== Niki meinte … ==
 +
 +
<comment date="2012-12-29T17:29:49Z" name="Niki">
 +
Are you sure you have the same config as I (RAID1)?
 +
Only in this case my howto makes sense, otherwise you will destroy all your data!!
 +
 +
If you are sure (really sure!) then the disk in the command must match:
 +
 +
cat /dev/zero | pv -s 3000G | dd of=/dev/sdb bs=100M
 +
 +
 +
</comment>
 +
== James Hightower meinte … ==
 +
 +
<comment date="2013-06-13T15:37:50Z" name="James Hightower">
 +
I think your can skip the zero-ing part. Unless you have write-intent bitmaps enabled, then just removing and re-adding a drive will cause MD to overwrite the entire disk, including your pending-bad blocks. Thiis has worked for me many times. Remember, though, that the SMART Offline_Uncorrectable won't get updated until the next offline collection occours, like with smartctl -t offline.
 +
</comment>
 +
== Niki meinte … ==
 +
 +
<comment date="2013-06-14T05:27:11Z" name="Niki">
 +
Dear James,
 +
 +
Thank your for your comment! I will try it our the next time I encounter the message!
 +
 +
Niki
 
</comment>
 
</comment>

Aktuelle Version vom 14. Juni 2013, 06:27 Uhr

Kommentare zur Seite „Device: /dev/sda, 1 Currently unreadable (pending) sectors“ <comments />


Niki Hammler meinte …

<comment date="2012-08-30T08:30:04Z" name="Niki Hammler"> One additional comment: The problem is NOT solved by rebooting. It seems that zeroing out is necessary :-( </comment>

mike meinte …

<comment date="2012-12-26T17:07:31Z" name="mike"> hello! i have /dev/sdb 3TB how to perform Zeroing the disk for 3TB

cat /dev/zero | pv -s 3000G | dd of=/dev/sda bs=100M

or this is not right ? please show the correct command

I'm afraid to make a mistake

</comment>

Niki meinte …

<comment date="2012-12-29T17:29:49Z" name="Niki"> Are you sure you have the same config as I (RAID1)? Only in this case my howto makes sense, otherwise you will destroy all your data!!

If you are sure (really sure!) then the disk in the command must match:

cat /dev/zero | pv -s 3000G | dd of=/dev/sdb bs=100M 


</comment>

James Hightower meinte …

<comment date="2013-06-13T15:37:50Z" name="James Hightower"> I think your can skip the zero-ing part. Unless you have write-intent bitmaps enabled, then just removing and re-adding a drive will cause MD to overwrite the entire disk, including your pending-bad blocks. Thiis has worked for me many times. Remember, though, that the SMART Offline_Uncorrectable won't get updated until the next offline collection occours, like with smartctl -t offline. </comment>

Niki meinte …

<comment date="2013-06-14T05:27:11Z" name="Niki"> Dear James,

Thank your for your comment! I will try it our the next time I encounter the message!

Niki </comment>