Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 05-23-2004, 05:22 AM   #1
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,168

Rep: Reputation: 45
hard disk stress test

Let's take the following test.
U want buy a second-hand hard-disk. We want to test it using any Linux command or programme for testing its status.
What u will use? And how sure you can be from the results?
Can u give me the command with the parameters?

A...Do u think that u must to note the bad blocks or leave everything unchanged
Old 05-23-2004, 08:24 PM   #2
Registered: Jan 2004
Posts: 105

Rep: Reputation: 15
Program called badblocks come packaged with well I know redhat;s releases. As far as stress/performance test, there are a couple. E2fsck has some options to do it also for ext2 and ext3 partitions which essentially runs badblocks in the background. Below I listed a few stess tests I have ran across in my linux usage. Some are more geared toward filesystem stressing than hd but can give an indication of both.

andrew benchmark
apache web benchmark
Old 05-23-2004, 08:45 PM   #3
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

There's a program called 'badblocks' which tests a drive for, yes, bad blocks, and outputs a list of the blocks it finds (see man badblocks). The output from this program can be fed to mke2fs or whatever or can be output to a file.

I would personally avoid using a disk which reports bad blocks to the OS. These errors tend to get worse.


Edit: Sorry, I was a bit late in hitting submit.


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
CPU/Memory stress test twantrd Programming 2 11-12-2005 08:49 PM
How to do low-level hard disk test? htlin Linux - Hardware 6 07-16-2005 04:32 PM
CPU stress test CTRLBREAK Linux - Hardware 2 02-24-2005 07:21 PM
how to do a stress test on a mail server? yenonn Linux - Networking 1 08-01-2004 05:05 PM
Network Bandwidth stress test MikeyCarter Linux - Networking 3 03-11-2003 09:08 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration