In my Cent OS machine, I have 3 hard drives, an 80, and two 200gig hard drives. One of the drives is obviously starting to fail, but I'm not sure which one. Is there a command line command in Linux that will check the drive integrity on all the hard drives and tell me which one is going bad? Thanks Jim
On Tue, Feb 12, 2008 at 01:26:10PM -0600, Jimmy Bradley enlightened us:> In my Cent OS machine, I have 3 hard drives, an 80, and two 200gig > hard drives. One of the drives is obviously starting to fail, but I'm > not sure which one. Is there a command line command in Linux that will > check the drive integrity on all the hard drives and tell me which one > is going bad? >smartctl -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
On Tue, Feb 12, 2008 at 01:26:10PM -0600, Jimmy Bradley alleged:> In my Cent OS machine, I have 3 hard drives, an 80, and two 200gig > hard drives. One of the drives is obviously starting to fail, but I'm > not sure which one. Is there a command line command in Linux that will > check the drive integrity on all the hard drives and tell me which one > is going bad?smartctl. I like doing a 'smartctl -t long /dev/whatever' when poking at a drive. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080212/fa7ba58c/attachment.sig>
Jimmy Bradley wrote:> In my Cent OS machine, I have 3 hard drives, an 80, and two 200gig > hard drives. One of the drives is obviously starting to fail, but I'm > not sure which one. Is there a command line command in Linux that will > check the drive integrity on all the hard drives and tell me which one > is going bad? >Best way is to use the manufacturer's tools to determine drive health. Depending on the disk you may be able to query the drive's SMART status, this looks like a useful article on SMART: http://www.linuxjournal.com/article/6983 Also you can check the kernel log(dmesg for the latest events) to see if there are errors related to the drive(such as read errors, drive resets etc). nate