LinuxQuestions.org
Register a domain and help support LQ
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 04-15-2015, 10:37 AM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 211

Rep: Reputation: 8
terminal drive check


hi guys, whats the best way to diagnose and repair an external drive on the linux terminal
 
Old 04-15-2015, 10:55 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
It depends on what's wrong with it.

smartctl can help diagnose hardware failure, fsck can help detect/correct corruption, etc.
 
Old 04-15-2015, 11:32 AM   #3
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 211

Original Poster
Rep: Reputation: 8
sometimes the drive just doesnt mount and sometimes it does so im trying to run a diagnose and repair on it from the terminal.... because im trying to learn the terminal
 
Old 04-15-2015, 11:47 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
What do you mean it doesn't mount. Does it just not automount, or does it throw an error when you try to mount it? If it throws an error, then what error?
 
Old 04-15-2015, 12:08 PM   #5
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You can use smartctl to diagnose SMART enabled drives.

For recovering data from drives use system rescue cd.
 
Old 04-15-2015, 05:18 PM   #6
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
1. Does it spin up when power is applied?
 
  


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
check email in terminal greenhorn_linux Linux - Newbie 6 09-03-2012 05:25 AM
how to check availabe commands in terminal ? Ribo01 Linux - Newbie 6 04-13-2011 09:38 PM
This is the message i get when i check for my card on terminal scoobyracer Linux - Newbie 10 04-08-2009 07:01 PM
How to do a hardware check for the terminal. MadLinuxHatter Linux - General 3 04-01-2009 01:52 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM


All times are GMT -5. The time now is 11:52 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