Diskussion:Device: /dev/sda, 1 Currently unreadable (pending) sectors

Aus NOBAQ
Wechseln zu: Navigation, Suche

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


Inhaltsverzeichnis

Niki Hammler meinte …

30. August 2012

One additional comment: The problem is NOT solved by rebooting. It seems that zeroing out is necessary :-(

--Niki Hammler

mike meinte …

26. Dezember 2012

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


--mike

Niki meinte …

29. Dezember 2012

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



--Niki

James Hightower meinte …

13. Juni 2013

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.

--James Hightower

Niki meinte …

14. Juni 2013

Dear James,


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


Niki

--Niki
Meine Werkzeuge