Login    Register

FSCK causing ATA status error

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
NAS4Free Official SiteSet-Up GuideFAQsForum Rules
  • Author
    Message

FSCK causing ATA status error

Postby chupa » 20 Jan 2013 20:44

9.1.0.1 - Sandstorm (revision 573)
x86-embedded on AMD Sempron(tm) Processor LE-1250
MSI MS-7309 Bios: V9.4 02/17/2009
With an add on 4-ch SATA card. (How can I find the specific chipset?) its a low end one. I know that. 3 assorted data disks on this card
Raid 1 array using SATA controller on motherboard. 2 disks in mirror software raid on these channels.


My NAS4Free box has been restarting at times when I try to access an SMB share from the network. It is one of the data disks (NOT the RAID 1 mount) on the add-on card SATA card controller but I am unable to determine exactly which one yet. It seems to cause the mount point of the disk (or sometimes a couple of the disks) to mess up and I have to reapply them when the server reboots. The issue seems to be intermittent and I am unsure how to duplicate it just yet. It has happened at least 4 times in the past week.

On boot up I am seeing the WARNING: /mnt/MyStuff was not properly dismounted error. I have tried to run FSCK on the suspect drive as described here: http://wiki.nas4free.org/doku.php?id=faq:0001

When I do so I don’t see any output in the WEBGUI however on the server console I see a repeating error:
COM status:
ATA Status Error
ATA status: 51 (DRDY SERV ERR), error: 40 (UNC )

And it repeats that error for about an hour. I see fsck is running from the processes page on the webGUI. But after an hour it just stops.

I have not tried Procedure #2 on FAQ as I don’t have the ability to make a liveCD right now.

Is this possibly my SATA card dyeing? Or what else would cause this?
NewUser
chupa
 
Posts: 11
Joined: 01 Sep 2012 15:16

Re: FSCK causing ATA status error

Postby al562 » 21 Jan 2013 00:34

Hi Chupa,

chupa wrote:How can I find the specific chipset?
Did you try using the report generator? Many times something that helps to identify it shows up there, if not then try pciconf -l and look up the results with Google, the next easyest way is to look at the chips on the card itself.

I think your particular error more likely indicates a communication problem between the disks and the controller or the controller and the Motherboard; BIOS setting/conflict or controller firmware misconfiguration, incorrect driver or unsupported controller, bad cable, bad port, bad controller, card not firmly seated in slot, bad disk? Test the disks on another computer with the manufacturers' diagnostic software (long test) and make sure they are good. If they pass then it is most likely the controller.

Regards,
Al
Personal Storage- i386-full 9.1.0.1-573 on Asus P4P800-VM, 2.4Ghz P4, 512Mb RAM, Promise SATA300-TX4, 3Tb+. N4F Wiki Dev. system- i386-full 9.1.0.1-573 on 2.4GHz P4, 640MB RAM, Onboard IDE, 30Gb. Typical build- NAS4Free i386-embedded 9.1.0.1-531 Dell 0M0321 Bios: A08 09/23/2003, 2.70GHz. Plus a bunch of others and VM's running latest Beta/Nightly release.
Moderator
al562

User avatar
 
Posts: 414
Joined: 12 Dec 2012 07:02
Location: New Jersey, U.S.A.

Re: FSCK causing ATA status error

Postby chupa » 22 Jan 2013 22:23

OK so I pulled 2 of the suspect drives out and the nas4free box seemed to run fine. I did a long test and one of them passed and the other did not due to bad sectors. I was unable to repair them so that one will be RMAed and remain out of the box. I put the other one back into the NAS system and got it configed back and tried to do a system restart and got the system hanging on shutdown deal as described here:
http://wiki.nas4free.org/lib/exe/fetch. ... uption.pdf


I did a Procedure #2 fsck as described here: http://wiki.nas4free.org/doku.php?id=faq:0001
The first drive comes up fine. The 2nd one gives me a Run Fsck Manualy message.

Where do I go from here?

Also on that page the process for fscking a raid 1 array does not seem to work. There is no /dev/gmirror so i was unable to run fsck on my raid 1 array which might also be a problem.
How do I fsck my raid 1 array?

Thanks!
NewUser
chupa
 
Posts: 11
Joined: 01 Sep 2012 15:16

Re: FSCK causing ATA status error

Postby al562 » 22 Jan 2013 23:07

Hi Chupa,

chupa wrote:The 2nd one gives me a Run Fsck Manualy message.
Try this instead:
Code: Select all
fsck_ufs -y /dev/YourDrivep1 &
and note down the results. If corrections are made, then try -p again.

chupa wrote:There is no /dev/gmirror
Is there a /dev/mirror? Try that instead.

Let us know how it goes,
Al
Personal Storage- i386-full 9.1.0.1-573 on Asus P4P800-VM, 2.4Ghz P4, 512Mb RAM, Promise SATA300-TX4, 3Tb+. N4F Wiki Dev. system- i386-full 9.1.0.1-573 on 2.4GHz P4, 640MB RAM, Onboard IDE, 30Gb. Typical build- NAS4Free i386-embedded 9.1.0.1-531 Dell 0M0321 Bios: A08 09/23/2003, 2.70GHz. Plus a bunch of others and VM's running latest Beta/Nightly release.
Moderator
al562

User avatar
 
Posts: 414
Joined: 12 Dec 2012 07:02
Location: New Jersey, U.S.A.

Re: FSCK causing ATA status error

Postby chupa » 23 Jan 2013 01:24

Code: Select all
Is there a /dev/mirror? Try that instead.


That worked!

Code: Select all
fsck_ufs -y /dev/YourDrivep1 &


Worked! I have all file systems clean now.

Going to try and put it all back together tomorrow minus the bad sector drive.
NewUser
chupa
 
Posts: 11
Joined: 01 Sep 2012 15:16

Re: FSCK causing ATA status error

Postby al562 » 23 Jan 2013 01:30

Happy to hear things are going better now :D .

All the best,
Al
Personal Storage- i386-full 9.1.0.1-573 on Asus P4P800-VM, 2.4Ghz P4, 512Mb RAM, Promise SATA300-TX4, 3Tb+. N4F Wiki Dev. system- i386-full 9.1.0.1-573 on 2.4GHz P4, 640MB RAM, Onboard IDE, 30Gb. Typical build- NAS4Free i386-embedded 9.1.0.1-531 Dell 0M0321 Bios: A08 09/23/2003, 2.70GHz. Plus a bunch of others and VM's running latest Beta/Nightly release.
Moderator
al562

User avatar
 
Posts: 414
Joined: 12 Dec 2012 07:02
Location: New Jersey, U.S.A.

Return to Hard disk & controller

Who is online

Users browsing this forum: No registered users and 2 guests