LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Check disc (https://www.linuxquestions.org/questions/linux-newbie-8/check-disc-4175515068/)

Brian4882 08-16-2014 02:19 PM

Check disc
 
How can you check a hard dive in Linux?

yancek 08-16-2014 02:24 PM

Check the drive for what?

Brian4882 08-16-2014 02:38 PM

Check for bad sectors and mask them out in a similar fashion to Dos CHKDSK.

jefro 08-16-2014 02:57 PM

Linux filesystems usually have a tool to check them. You can't easily do that when booted normally. I'd boot to a live mint dvd and then run the tool for your filesystem.

What you say however is slightly different. Marking a block bad is not exactly the same deal.

Take a look at S.M.A.R.T tools to see your disk quality.

Brian4882 08-16-2014 03:06 PM

I've answered my own question. In Linux menu - Accessories - Disks - tools - SMART Data & self tests you get all the results including the no of sectors reallocated. So it seems as if sector reallocation is taking place as required. Since I had 1860 reallocated sectors the test gave an assessment of imminent failure which I suspected.


All times are GMT -5. The time now is 04:07 PM.