Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-30-2012, 04:25 PM
|
#1
|
|
Member
Registered: May 2012
Distribution: Ubuntu
Posts: 43
Rep: 
|
smartmontools won't recognize external hard drive
Hello Linux friends
I have a 2TB Seagate STBD2000101 SATA drive in a Rosewill JBOD enclosure attached to my Gateway LT20 laptop.
When I purchased the HD, I was unaware that the APM was very aggressive, and it would spin down after about 10 minutes of being idle. The delay in access as well as the concern about drive wear prompted me to find a program that would disable the APM via S.M.A.R.T. Since I first configured the drive in Win7, I used CrystalDiskInfo and that worked to keep the drive on (as well as get rid of that annoying chirp sound).
My problem is that in Ubuntu, smartmontools tells me that the drive is not S.M.A.R.T. capable, so I am unable to change the settings. This is confusing because it IS a smart drive. Im not sure if it is because the drive is attached via USB to SATA or what. I was unable to find much help on the samrtctl manpages either.
Can anyone tell me what I can do?
Thanks in advance
|
|
|
|
10-30-2012, 09:51 PM
|
#2
|
|
Member
Registered: May 2012
Distribution: Ubuntu
Posts: 43
Original Poster
Rep: 
|
OK, so I figured out that I had to install the current DEV build and use 'samrtctl -d sat -s apm,off /dev/sbc'. The "-d sat" specifies that it is an SATA drive even though it's on USB.
But, even though the drive stays on, Ubuntu inexplicably stops recognizing it after a short time, and it won't show up in the file manager. I have to cycle the power on the enclosure to get it to refresh.
Stuck.....
Last edited by Banquo; 10-30-2012 at 10:14 PM.
|
|
|
|
10-31-2012, 01:33 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2012
Posts: 4
Rep: 
|
Hello Friends,
Basically, S.M.A.R.T. may give you enough of a warning that you can safely backup all your data before your hard drive dies. There is some amount of conflicting information on the Internet about how reliable the warnings are. The best source of research that I found is a paper from Google that describes an internal study of hard drive failure. A quick summary: certain events greatly increase the chance of hard drive failure including reallocation events and failed self-tests, but only about 60% of the drives that failed in the study had any negative S.M.A.R.T. attributes. Obviously, nothing replaces regular backups.
S.M.A.R.T. is a system in modern hard drives designed to report conditions that may indicate impending failure. smartmontools is a free software package that can monitor S.M.A.R.T. attributes and run hard drive self-tests. Although smartmontools runs on a number of platforms, I will only cover installing and configuring it on Linux.
Best Regards
Steven Arnold
|
|
|
|
10-31-2012, 05:01 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2012
Distribution: Archlinux , Ubuntu, xUbuntu, Lubuntu
Posts: 22
Rep: 
|
Banquo,
How many devices do you have plugged into the same hub that the External USB drive is in?
I had the same Appearing/Dissapearing problem and discovered it was an overload of the usb hub.
I swapped a few things around, shared the load a little more evenly and whoala evrything is stable.
This may go someway to solving the problem?
|
|
|
|
10-31-2012, 12:18 PM
|
#5
|
|
Member
Registered: May 2012
Distribution: Ubuntu
Posts: 43
Original Poster
Rep: 
|
There are only 3 USB ports on my notebook. I have my mouse, my JBOD and the 3rd port is usually empty. No hub though. Oddly, when the drive disappears and I reboot to either WIN7 or linux without cycling the power on the enclosure, the drive still won't be recognized. Does this indicate an issue with the S.M.A.R.T. commands that I am issuing with smartmontools?
EDIT: The blue LED that stays on when the drive is spun up and ready is still on when it disappears from Linux
Last edited by Banquo; 11-01-2012 at 07:20 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|