
04-09-2012, 01:20 AM
|
|
Web Hosting Master
|
|
Join Date: Mar 2009
Posts: 1,897
|
|
how to check hd health ? filesystem issue ?
Hi,
i have a centos os,i need to run fsck recently frequently or it will not load well.
is any way to check the hd health ?
because i wonder it is os/filesystem issue,or it is hardware fail.
thanx
|

04-09-2012, 01:22 AM
|
|
iNET Interactive
|
|
Join Date: May 2006
Location: San Francisco
Posts: 7,159
|
|
Install smartmontools via yum and use smartctl to run checks on your drives.
|

04-09-2012, 01:24 AM
|
|
Premium Member
|
|
Join Date: Jun 2006
Location: Tewksbury, MA
Posts: 205
|
|
Hello,
Try this.
smartctl --all /dev/sda
If you HD is not /dev/sda, replace this with the name. You should be able to obtain this via df -h.
This will give you a SMART status of the drive, which I would start there. Do you have RAID on this system?
__________________
█ Brandon Long - CTO, Ram Surge LLC
█ brandon[@]ramsurge[.]com | 877.874.3710 Ext. 200 | http://www.ramsurge.com/
█ Shared | Reseller | VPS | Dedicated
█ Check us out and see the Ram Surge difference.
|

04-09-2012, 01:27 AM
|
|
Web Hosting Master
|
|
Join Date: Mar 2009
Posts: 1,897
|
|
no,there is no raid on it.but will smartmontools show all the error if the hd get wrong ? thanx
|

04-09-2012, 01:27 AM
|
|
iNET Interactive
|
|
Join Date: May 2006
Location: San Francisco
Posts: 7,159
|
|
Quote:
Originally Posted by ttgt
no,there is no raid on it.but will smartmontools show all the error if the hd get wrong ? thanx
|
It will show you the SMART data for the drive. Just run it and see what it outputs.
|

04-09-2012, 01:50 AM
|
|
Web Hosting Master
|
|
Join Date: Mar 2009
Posts: 1,897
|
|
Hi,it shows with (none) root and can not login now,so,the only way i can do now is use dvd to linux rescue to run the test ? thanx
|

04-09-2012, 01:57 AM
|
|
Premium Member
|
|
Join Date: Jun 2006
Location: Tewksbury, MA
Posts: 205
|
|
Hello,
You might be able to run it from the rescue CD. What kind of hard drive is it?
__________________
█ Brandon Long - CTO, Ram Surge LLC
█ brandon[@]ramsurge[.]com | 877.874.3710 Ext. 200 | http://www.ramsurge.com/
█ Shared | Reseller | VPS | Dedicated
█ Check us out and see the Ram Surge difference.
|

04-09-2012, 01:58 AM
|
|
Web Hosting Master
|
|
Join Date: Mar 2009
Posts: 1,897
|
|
Hi,those two are wd black 500g.thanx
|

04-09-2012, 01:59 AM
|
|
Premium Member
|
|
Join Date: Jun 2006
Location: Tewksbury, MA
Posts: 205
|
|
Hello,
Download the Western Digital tool from http://support.wdc.com/product/downl...sid=30&lang=en and test your drives.
Download the .iso, burn it to a CD and then test both drives for any errors.
__________________
█ Brandon Long - CTO, Ram Surge LLC
█ brandon[@]ramsurge[.]com | 877.874.3710 Ext. 200 | http://www.ramsurge.com/
█ Shared | Reseller | VPS | Dedicated
█ Check us out and see the Ram Surge difference.
|

04-09-2012, 03:37 AM
|
|
Web Hosting Evangelist
|
|
Join Date: Oct 2011
Location: Ashburn, Virginia
Posts: 487
|
|
run smartctl
pay close attention to lines:
5
196
197
198
199
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|