Re: Getting rid of pending sectors

Orsiris de Jong <[email protected]> Wed, 16 Nov 2016 12:56:59 +0100
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <zarafa.582c498b.63e6.6844612c13520aa6@kloud-server-39812>
Hello Bob,

 
Thanks for your answer.

Tried ‘badblocks -b 4096 -c 8 -svn -o /home/badblocks.n.sdb /dev/sdb’ but it takes 6 hours to achieve 1% so I stopped dit.

Any way to know where those pending sectors are so I can tell badblocks where to search ?

 
Regards,

Ozy.

 
De : Bob Weber [mailto:[email protected]] 
Envoyé : dimanche 23 octobre 2016 19:57
À : [email protected]
Objet : Re: [smartmontools-support] Getting rid of pending sectors

 
Try badblocks with the non destructive write mode test (-n see "man badblocks").  That way the drive should remap the sectors after the write process and hopefully your data will be intact afterwords.


...Bob

On 10/22/2016 02:03 PM, Orsiris de Jong wrote:

Hello,

 
I own a small private NAS with 2x WD RE4 4TB drives.

One of the drives recently got a number of current pending sectors :

 
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       142

198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       142

 
The smart long self test suceeds.

I’ve tried to force the firmware to reallocate the sectors by reading them.

So far I’ve tried :

dd if=/dev/sdb of=/dev/null bs=4096

badblocks -b 4096 -c 8 -sv -o /root/badblocks.sdb /dev/sdb

 
Neither of both commands changed anything, and the badblocks utility reports 0 bad blocks.

Usually the self test locates at least the bad sectors so I can write to the sector and force reallocation, but nothing here.

 
I’m used to not trust a drive if it gets more than 10 bad sectors, but as it’s a private server, I’m pretty unwilling to spend 300$ into new 4TB RE4 / Gold drives.

 
Any suggestions ?

 
Regards,

Ozy.






------------------------------------------------------------------------------


Check out the vibrant tech community on one of the world's most 


engaging tech sites, SlashDot.org! http://sdm.link/slashdot <http://sdm.link/slashdot> 






_______________________________________________


Smartmontools-support mailing list


[email protected] <mailto:[email protected]> 


https://lists.sourceforge.net/lists/listinfo/smartmontools-support

 

------------------------------------------------------------------------------



Check out the vibrant tech community on one of the world's most 



engaging tech sites, SlashDot.org! http://sdm.link/slashdot <http://sdm.link/slashdot> 


_______________________________________________



Smartmontools-support mailing list



[email protected] <mailto:[email protected]> 



https://lists.sourceforge.net/lists/listinfo/smartmontools-support

------------------------------------------------------------------------------

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support