LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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, 02:24 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Check the drive for what?
 
Old 08-16-2014, 02: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, 02:57 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
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, 03: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



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 11:41 AM
disable disc check EAD Linux - Newbie 2 03-17-2006 12:58 AM
How to check if disc is too scratched? sutley Linux - Software 5 03-27-2005 05:52 AM
how to check CD-ROM DISC's label ? jiawj Slackware 2 03-20-2005 10:43 PM
how to check CD-ROM DISC's label ? jiawj Red Hat 0 11-14-2004 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 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
Open Source Consulting | Domain Registration