LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 02-02-2012, 09:13 AM   #1
thefaculty
LQ Newbie
 
Registered: Feb 2012
Location: New York, NY
Distribution: Redhat Enterprise
Posts: 5

Rep: Reputation: Disabled
Unhappy Errors after installing a new hard drive


I have a Dell T7500 workstation which is running Redhat Enterprise Linux for two years. I recently installed a new SATA hard drive on the DVD rack and connected it to a SATA cable on the mother board. This was the beginning of a series of errors and failures. The first thing I noticed is that the speed for the new drive is very slow. It takes a few seconds to just display the files under a file folder. But it becomes much faster when I type the same command for a second time. Then my machine starts to have a lot of misbehavior. One thing particularly annoying is that it may stop response when wake up from a screen saver. I can still use putty to ssh to the machine from a laptop and I can see that some process is using 100% CPU. It seems the process is related to the wake of the new hard drive.

I also noticed that when I transfer large files to or from the new drive, a lot of system resources are being used. Sometimes it basically occupy the whole system and I can do nothing else.

This morning when I came to work, the machine stopped response again and I had to force it to restart because I have a lot of work to do. The reboot damaged part of the file system on the new drive and fsck cannot recover it automatically. When I'm writing this letter, I'm still running fsck manually to rewrite some of the blocks so that the system can be restarted.

I feel really frustrated after experiencing all these incidents. I searched online but could not find a quick solution. It seems it has sth. to do with the chip set on the mother board. Somebody mentioned an upgrade of kernel may help but it is basically throwing a dart in the dark.

Any advice, solutions? Thx!
 
Old 02-02-2012, 09:50 AM   #2
patufet99
Member
 
Registered: Dec 2005
Location: Switzerland
Distribution: Debian/Kubuntu
Posts: 32

Rep: Reputation: 15
Hello,

what is the size of the hard drive? Some large hard drives are using 4096 byte sectors and there can be aligneemnt issues:

http://www.ibm.com/developerworks/li...-sector-disks/

Regards.
 
Old 02-02-2012, 10:34 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.37, Debian Squeeze
Posts: 7,985
Blog Entries: 25

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Any related error messages in the /var/log/* files?
 
Old 02-02-2012, 11:12 AM   #4
thefaculty
LQ Newbie
 
Registered: Feb 2012
Location: New York, NY
Distribution: Redhat Enterprise
Posts: 5

Original Poster
Rep: Reputation: Disabled
More information regarding the new hard drive

HI guys,

The new drive is: Western Digital 2TB WD2002FAEX Caviar Black SATA

I looked up online and it seems this drive is not 4096 physical sector size. So it should not be the alignment issue...

Keep looking.


Quote:
Originally Posted by patufet99 View Post
Hello,

what is the size of the hard drive? Some large hard drives are using 4096 byte sectors and there can be aligneemnt issues:

http://www.ibm.com/developerworks/li...-sector-disks/

Regards.
 
Old 02-02-2012, 12:32 PM   #5
thefaculty
LQ Newbie
 
Registered: Feb 2012
Location: New York, NY
Distribution: Redhat Enterprise
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
Any related error messages in the /var/log/* files?
There are a few errors like:

Device: /dev/sdc, FAILED SMART self-check. BACK UP DATA NOW!

But this is after I forced a reboot. It's not related to the weird behavior daily.
 
Old 02-02-2012, 12:47 PM   #6
thefaculty
LQ Newbie
 
Registered: Feb 2012
Location: New York, NY
Distribution: Redhat Enterprise
Posts: 5

Original Poster
Rep: Reputation: Disabled
To give you a bit more information, this is what I got from a fdisk -l:

Disk /dev/sdc: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 243202 1953514583+ 8e Linux LVM

Is there anything wrong in the format, partitions, etc.?
 
Old 02-02-2012, 01:01 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Replace the SATA cable. If it still does it, the drive may be bad, return if under warranty.
 
1 members found this post helpful.
Old 02-03-2012, 05:09 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.37, Debian Squeeze
Posts: 7,985
Blog Entries: 25

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Quote:
Originally Posted by thefaculty View Post
Device: /dev/sdc, FAILED SMART self-check. BACK UP DATA NOW!

But this is after I forced a reboot. It's not related to the weird behavior daily.
Unless it turns out to have been caused by a defective SATA cable as H_TeXMeX_H suggested it looks as if the HDD is defective. You could use smartctl -H /dev/sdc to run a health check on the drive.
 
Old 02-24-2012, 04:06 PM   #9
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 10.2, 13.1
Posts: 114

Rep: Reputation: 25
I had to return a Western Digital SATA drive.
DO NOT ever mention Linux when communicating with Western Digital, it poisons all efforts to get anything from them. They do not support Linux anything and will tell you that instead of any useful information. Once you mention Linux, anything you say about SMART errors will be like talking to a wall.

I returned the SATA drive to the store, and got another from the same pile. It had the same model number, but had a different circuit board and different jumpers. The first drive could not work with my SATA controller, but the second drive had no problems.

Having SMART errors on a new drive is unacceptable. Those tests are totally internal to the drive and do not involve cables nor controller nor partitions nor formatting. This drive has a serious internal problem and is likely re-reading the sector repeatedly trying to get a good read.

On the second try of the same command, your Linux is processing from the disk cache in RAM, not reading the drive.

You could run badblocks on the drive but the warranty will likely run out before it finishes on something that big.
Running badblocks for 10 minutes will give you an idea of how much trouble that drive is having.
>> badblocks -n -v /dev/xxxx

Last edited by selfprogrammed; 02-24-2012 at 04:15 PM.
 
Old 03-18-2012, 12:11 AM   #10
cgtueno
Member
 
Registered: Jul 2003
Posts: 336
Blog Entries: 1

Rep: Reputation: 47
Hi

Did you consider installing the SATA drive (and cable) in another machine ?
How many hard disks are installed in the system ? If more than one
how are they configured ?
Have you tried running a stand alone hard disk diagnostic/benchmark
program against the drive to measure/evaluate its performance ? (*1)

Are you connecting the SATA drive directly to a motherboard SATA port,
or are you using an inline SATA to PATA to motherboard(PATA) type
configuration?

Is the performance issue purely related to the hard disk ?
Or are you looking at a resource conflict problem that is producing
the symptoms of a poor performing hard disk (see *1)

Have you enabled SMART diagnostics on the machine ? Are there any
error reports ?

Just a few thoughts

C.
 
Old 03-23-2012, 02:42 PM   #11
thefaculty
LQ Newbie
 
Registered: Feb 2012
Location: New York, NY
Distribution: Redhat Enterprise
Posts: 5

Original Poster
Rep: Reputation: Disabled
Update

It was a bad harddisk. I returned it to Western digital to get a new one. Since then it's been running just fine.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive I/O errors eveningsky339 Linux - Hardware 3 10-05-2010 04:26 PM
hard drive errors slzckboy Linux - Hardware 8 04-29-2007 02:20 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Hard drive errors installing Mandrake 8.0 ciscokid0690 Linux - General 3 04-14-2005 06:54 PM
I just booted up and getting errors about my Hard Drive. Royle Debian 1 01-24-2005 03:00 PM


All times are GMT -5. The time now is 07:29 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration