LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2018, 08:01 PM   #1
cilbuper
Member
 
Registered: Mar 2008
Posts: 141

Rep: Reputation: 0
Smartmontools - testing multiple drives at once & saving results to text file


I was running some individual tests on some drives, I have at least 16 drives in my machine I need to test, HDD and SSD's, some w/o partitions. I'm pretty sure I was able to run concurrent tests on these drives before, so when I was running an extended test, I could run them on all the drives at once, but I forget how that is done - and in addition how to save the results to a text file (named something like dev-sdx would be fine).

IDK if running many tests at once would slow the system considerable, but I had LOTS of CPU overhead and only one drive is really doing anything, the rest are connected for this test ATM.

Is there a way to do this and how would i go about saving the results/output of each test?

I tried GSmartControl, but it has to be run one test at a time and some of them don't offer conveyance tests and others the extended test only takes the same length of the short test (60 seconds) so IDK what is going on with that piece of software. IDK if the CL option will give better results, but any suggestions would be appreciated.

I need to figure something out as I have about 130-180 drives to test, maybe a few more, and doing them individually is no in the cards ATM.

Any suggestions?
 
Old 08-21-2018, 12:23 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Haven't tried it but maybe smartd ?. Have a look at its manpage, and smartd.conf manpage.
Quick "onecheck" shows the device in the message - pick your own log location then post-process with grep or similar.
 
Old 08-21-2018, 01:49 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
smartd is running well on my debian server but i remember that some manual configgering was required.
 
  


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
[SOLVED] saving fork results into a text file goofygoober Linux - Newbie 2 11-29-2017 08:36 PM
Modifying an XML file but saving a copy first. Unexpected results zeebish Linux - Newbie 2 05-08-2015 05:51 PM
konqueror drag & drop results in bad text file encoding rbees Linux - Newbie 5 02-19-2015 05:02 AM
Combine multiple one column text file into one text file with multiple colum khairilthegreat Linux - Newbie 7 11-23-2007 01:31 PM
trying to search and replace text file for single & multiple line breaks separately brokenfeet Programming 7 08-29-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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