Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-28-2009, 03:58 PM   #1
Registered: Apr 2009
Posts: 38

Rep: Reputation: 15
check the health of a drive?

What commands can I use to assess the health of a drive? I'd like to make use of some of the ancient ide drives at work but have no idea which ones are safe to use. I know about badblocks, but what else is there?
Old 08-28-2009, 05:31 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,482
Blog Entries: 16

Rep: Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206
There's probably something better, but here's for starts:

cfdisk or fdisk to partition them. Cfdisk is slightly easier to use because it's sort of graphical. Not in the GUI sense, but, when you fire it up, it lists the drives and lets you select the one you want to work on with the arrow keys, as well as to select the action you want to take with the arrow keys.

mkfs to apply a file system.

fsck to check the file system.
Old 08-28-2009, 05:53 PM   #3
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
You might also check out smartctl


Old 08-28-2009, 05:57 PM   #4
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
smartctl is a good option if those drives have S.M.A.R.T capabilities in any other case I guess fsck will do. If you have an ntfs partition you would have to check it from a windows machine with chkdsk since the fsck.ntfs is not ready yet...


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Health Check: Mono LXer Syndicated Linux News 0 08-20-2009 06:11 PM
LXer: Check your disks' health with GSmartControl LXer Syndicated Linux News 0 10-25-2008 03:42 AM
Health Check / Server Completion Check Software? tells Linux - Enterprise 0 04-20-2006 11:03 AM
Sparc5, no peripherals, health-check? Tinkster Solaris / OpenSolaris 4 12-05-2005 01:11 PM
Power loss - disk health check - how to force? kalahari875 Mandriva 2 05-27-2004 07:12 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:02 PM.

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