From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: testing SATA drives
Date: Fri, 4 Aug 2006 16:57:21 +0000 (UTC) [thread overview]
Message-ID: <loom.20060804T183852-943@post.gmane.org> (raw)
In-Reply-To: 17CD9CE4C0FA574A8B29EF02D49B385D0F5681@srvexch-01.mcaschool.local
Timothy A. Holmes <tholmes <at> mcaschool.net> writes:
> I now want to test the drives (they are now blank except for
> the os) to see if the problem was with fedora and lvm (the old one) or
> if it is a physical or electrical problem with the disks. The disks are
> SATA drives 2x 250gb -- I am not sure how to proceed and I googling has
> not been helpful -- it may be there, I just haven't found it.
We'll testing is a word that is 'wide open' for interpretation.
reformatting the drives, if practical is not a bad idea:
fdisk.... gparted.....
Other programs use numerous types of writes to essentially
blank the drivers so the old files cannot be recovered
(paranoid security measure)... It is also good,
again if you have the time and can erase the drives completely,
when weird issues arise. These (2) are extreme measure, but I
have been successful in revitalizing drives by using extreme measures.
You may need to map out bad sectors several times to completely
repair a older drive.
On the performance side of the drive issue
read about hdparm and all of the tests you can find.
hdparm -i /dev/hda
hdparm -I /dev/hda
Then use /etc/conf.d/hdparm to initialize the drives correctly:
Here's one of etc/conf.d/hdparm ; your will need to adjust per
your drives:
<snip>
all_args="-d1"
hda_args="-d1 -u1 -c1 -a256"
<snip>
rc-update add hdparm default <to activate your custom drive
settings upon reboot.>
Also, your performance depends on the file system as well as
the hard drive's interface chip. Make sure you have the correct
IDE driver built into the kernel for optimum performance. 'dmesg'
is your friend.
Also, you can use 'bonnie' and 'bonnie++' to test the
performance of your drives. It's a real time sink
using all of this stuff, but, you really get to know
your drives. This experience will be very valuable when
you go to purchase new hard drives. Separating fact
from hype.
Also 'hddtemp' is a good tool for monitoring your drives'
temperatures.... Hot equipment rarely performs optimally,
and often has flaky (inconsistent) performance.
There are many other tools and packages. Google and use
eix <keyword> to find things to try out.
hth,
James
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2006-08-04 17:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-04 13:36 [gentoo-user] testing SATA drives Timothy A. Holmes
2006-08-04 14:00 ` Rasmus Andersen
2006-08-05 0:53 ` Daniel Huckstep
2006-08-04 16:57 ` James [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20060804T183852-943@post.gmane.org \
--to=wireless@tampabay.rr.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox