LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2014, 03:19 PM   #1
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Rep: Reputation: Disabled
Check disc


How can you check a hard dive in Linux?
 
Old 08-16-2014, 03:24 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Check the drive for what?
 
Old 08-16-2014, 03:38 PM   #3
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Check for bad sectors and mask them out in a similar fashion to Dos CHKDSK.
 
Old 08-16-2014, 03:57 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
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.
 
Old 08-16-2014, 04:06 PM   #5
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Stopping automatic disc check in debian systemlordanubis Linux - Server 6 09-10-2010 12:41 PM
disable disc check EAD Linux - Newbie 2 03-17-2006 01:58 AM
How to check if disc is too scratched? sutley Linux - Software 5 03-27-2005 06:52 AM
how to check CD-ROM DISC's label ? jiawj Slackware 2 03-20-2005 11:43 PM
how to check CD-ROM DISC's label ? jiawj Red Hat 0 11-14-2004 08:20 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration