Re: Disk failure

Ozy de Jong <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <zarafa.554229b8.27d3.191378f455d3b60f@kloud-server-39812.kloud.co.uk>


Hello,



Try looking how many Current Pending Sectors and how many Reallocated Sectors there are.

If there are only a few sectors (like 1 or 2), you may force the Current Pending sectors to be rewritten by following instructions here:

http://www.smartmontools.org/browser/trunk/www/badblockhowto.xml <http://www.smartmontools.org/browser/trunk/www/badblockhowto.xml> 



In your case (assuming your drive is /dev/sda):



dd if=/dev/sda of=/tmp/673565131.sector bs=4096 count=1 seek=$((673565131 / 8)

dd if=/dev/zero of=/dev/sda bs=4096 count=1 seek=$((673565131 /8)

dd if=/tmp/673565131.sector of=/dev/sda bs=4096 count=1 seek=$((673565131 /8)



Then you can keep an eye on the disk by having smartd check it regulary.

If there are more sectors than 10, in my experience, you should change the drive as more and more bad sectors will appear.



Regards,

Ozy.



-----Message initial-----
De: Jørn Dahl-Stamnes <[email protected] <mailto:[email protected]> >
Envoyé: jeudi 30 avril 2015 12:30
À: [email protected] <mailto:[email protected]> 
Sujet: Re: [smartmontools-support] Disk failure


On Thursday, April 30, 2015, Tim Small wrote:
> On 30/04/15 08:28, Jørn Dahl-Stamnes wrote:
> > I'm not sure if the disk is about to fail or not. Should I replace it
> > ASAP or?
> 
> Any non-readable sectors are a bad sign, but they can also be caused by
> external causes such as poor power supply (or power failure during
> write), or chassis vibration, so best to eliminate these if possible.
> 
> I would backup all data (if you're not using RAID) and get the pending
> sectors overwritten (method differs according to whether or not you're
> using RAID), then do a SMART long self test.

BTW, did a new smartctl -a on the device and got this lines:


SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%      5529         673565131




-- 
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/ <http://www.dahl-stamnes.net/dahls/> 

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y> 
_______________________________________________
Smartmontools-support mailing list
[email protected] <mailto:[email protected]> 
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.