Dying Hard Disk

Dying Hard Disk

My Notebook hard disk is going to die. It's start with slow respond by the Firefox and other applications (In Windows XP or Linux Centos) . Reviewing /var/log/messages show me this

Dec 8 12:17:50 linuxmalaysia smartd[2587]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
Dec 8 12:17:50 linuxmalaysia smartd[2587]: Device: /dev/hda, 3 Offline uncorrectable sectors

This messages come from smartd a daemon for smartmontools that monitor hardisk using S.M.A.R.T . My notebook is dual boot. XP and Centos. XP don't tell be anything and I need to run the Scanning Disk and reboot the PC and wait.

Right now Im checking the hard disk using Centos with command

badblocks /dev/hda

and wait for the result.

Killing my time by reading more about badblocks handling in Linux.

http://smartmontools.sourceforge.net/BadBlockHowTo.txt

http://linux.about.com/od/lsa_guide/a/gdelsa35t09.htm

My problem is the badblocks are residing in HPFS/NTFS file system. Geramnya !!!!!

smartmontools can be install in Windows. I boot into Windows and download from

http://smartmontools.sourceforge.net/

After install edit the smartd.conf and change my DEVICESCAN with

DEVICESCAN -a -o on -S on -m sysmsgbox

The install will create Shotcut Menu and you need to install smartd as service using the shotcut menu.

Attribute that I want to monitor is number 197 and 198. Example below
197 Current_Pending_Sector 0x0012 100 099 000 Old_age Always - 1
198 Offline_Uncorrectable 0x0010 099 099 000 Old_age Offline - 3
More atribute can be view here.

http://en.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology

More blog post related to smartmontools in Windows

http://www.eiben.weite-welt.com/computer/windows/smartmonitoring_windows

My next step is to run chkdsk from cmd shell.

chkdsk c: /F /R

and reboot the Windows XP.

I found UBCD For Windows http://www.ubcd4win.com/

Followers

 
Powered by WebRing.