LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2015, 09:37 AM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Rep: Reputation: 10
terminal drive check


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

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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, 10:32 AM   #3
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
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, 10:47 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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, 11:08 AM   #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, 04:18 PM   #6
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

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


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

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

All times are GMT -5. The time now is 11:40 PM.

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