public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] testing SATA drives
@ 2006-08-04 13:36 Timothy A. Holmes
  2006-08-04 14:00 ` Rasmus Andersen
  2006-08-04 16:57 ` [gentoo-user] " James
  0 siblings, 2 replies; 4+ messages in thread
From: Timothy A. Holmes @ 2006-08-04 13:36 UTC (permalink / raw
  To: gentoo-user

Hi folks:

I have a server that failed under fedora a while back,  the EXT3
partition ended up with thousands of errors on it and the journal
corrupted itself into oblivion.  I was able (I don't know how) to
recover my data, but I wiped it out formatted the drives and installed
gentoo.  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.

The server is a spare till I can validate it, then it will be moved back
to production status.  The result of that is, its ok if the testing
takes some time etc.

Thanks for all your help

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] testing SATA drives
  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 ` [gentoo-user] " James
  1 sibling, 1 reply; 4+ messages in thread
From: Rasmus Andersen @ 2006-08-04 14:00 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 04, 2006 at 09:36:16AM -0400, Timothy A. Holmes wrote:
> 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.

Use a livecd/knoppix thing and run badblocks(8) on them.

Cheers,
  Rasmus
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: testing SATA drives
  2006-08-04 13:36 [gentoo-user] testing SATA drives Timothy A. Holmes
  2006-08-04 14:00 ` Rasmus Andersen
@ 2006-08-04 16:57 ` James
  1 sibling, 0 replies; 4+ messages in thread
From: James @ 2006-08-04 16:57 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] testing SATA drives
  2006-08-04 14:00 ` Rasmus Andersen
@ 2006-08-05  0:53   ` Daniel Huckstep
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Huckstep @ 2006-08-05  0:53 UTC (permalink / raw
  To: gentoo-user

Rasmus Andersen wrote:
> On Fri, Aug 04, 2006 at 09:36:16AM -0400, Timothy A. Holmes wrote:
>   
>> 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.
>>     
>
> Use a livecd/knoppix thing and run badblocks(8) on them.
>
> Cheers,
>   Rasmus
>   
I vote for the Ultimate Boot CD. small download (i think) and it has 
pretty much every hard drive tool on it, so you can rum the appropriate 
manufacturer's tools and figure out if they are dead, and also low level 
format the drives for a complete fresh start.

Daniel
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-05  0:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox