LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-28-2009, 03:58 PM   #1
genmaicha
Member
 
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
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,463

Rep: Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409
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
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
You might also check out smartctl


Regards,

Fordeck
 
Old 08-28-2009, 05:57 PM   #4
RaptorX
Member
 
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...
 
  


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 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


All times are GMT -5. The time now is 05:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration