lost device

Status
Not open for further replies.

Quadgnim

Dabbler
Joined
Aug 14, 2013
Messages
10
I posted this as part of another thread relating to an alignment error, but assuming its unrelated, I thought I should create a new thread too, sorry for the dupe. Any help is greatly appreciated. The same drive that keeps reporting it has the wrong alignment, also keeps being evicted:

Aug 23 10:00:24 freenas kernel:
Aug 23 10:02:20 freenas manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v
Aug 23 10:02:21 freenas last message repeated 2 times
Aug 23 10:18:44 freenas afpd[3693]: AFP3.3 Login by timemachine
Aug 23 10:18:45 freenas afpd[3693]: AFP logout by timemachine
Aug 23 10:18:45 freenas afpd[3693]: AFP statistics: 0.85 KB read, 0.81 KB written
Aug 23 10:18:45 freenas afpd[3693]: done
Aug 23 10:19:07 freenas afpd[3705]: AFP3.3 Login by timemachine
Aug 23 10:29:45 freenas kernel: (ada3:ahcich3:0:0:0): lost device <--------------- Start Here
Aug 23 10:29:46 freenas kernel: (ada3:ahcich3:0:0:0): removing device entry
Aug 23 10:29:49 freenas kernel: ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
Aug 23 10:29:49 freenas kernel: ada3: ATA-8 SATA 3.x device
Aug 23 10:29:49 freenas kernel: ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
Aug 23 10:29:49 freenas kernel: ada3: Command Queueing enabled
Aug 23 10:29:49 freenas kernel: ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
Aug 23 10:29:49 freenas kernel: ada3: Previously was known as ad10 <------------ End Here
Aug 23 10:32:39 freenas afpd[3705]: AFP logout by timemachine
Aug 23 10:32:39 freenas afpd[3705]: AFP statistics: 3093893.05 KB read, 304093.11 KB written
Aug 23 10:32:39 freenas afpd[3705]: done

I thought I had a bad drive as it kept happening. If I reboot it comes back but as soon as I put a load on the pool I lose it again. After replacing it with a brand new drive I'm still getting the same error.

Then I thought maybe it was a bad cable so I replaced the cable, still no improvement.

Is this a HW issue, if so it would have to be the mother board, but I've been using this MB for around a year and this issue only just started.

Any other ideas?

Thanks

Larry
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Post the output of the command smartctl -a -q noserial /dev/ada3 in CODE with any disk that has dropped when you put load on it. Right now my guess is that SATA port or SATA cable is bad.
 

Quadgnim

Dabbler
Joined
Aug 14, 2013
Messages
10
see below for output. The drive is currently connected as I've recently rebooted. I wasn't sure if you needed it while connected or when it drops. I've already replaced the drive and the cable, so if it's the port, then its on the motherboard itself, so I hope not. On a BSD forum someone was having a similar issue and everyone insisted it was the power, but there was no solid resolution posted. My system is a tripple core AMD with 8 gig ram and 4 x 2 TB drives and 2 NIC's + 1 onboard nic and on board video. One of the two PCI based NIC's is dual ported for a total of 4 nic's. My Power supply is 450w and my PDU is reporting 350 watts. I'm not sure if that's for all systems connected to the PDU in total, or just the NAS, I need to dig out the docs for that one.


=======================

smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate SV35
Device Model: ST2000VX000-1CU164
Firmware Version: CV22
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Aug 23 13:53:21 2013 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x82)Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0)The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection:( 89) seconds.
Offline data collection
capabilities:(0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003)Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01)Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time:( 1) minutes.
Extended self-test routine
recommended polling time:( 220) minutes.
Conveyance self-test routine
recommended polling time:( 2) minutes.
SCT capabilities: (0x10b9)SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 107 100 006 Pre-fail Always - 14199584
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 6
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 100 253 030 Pre-fail Always - 92625
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 40
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 2
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 059 058 045 Old_age Always - 41 (Min/Max 40/42)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 6
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 6
194 Temperature_Celsius 0x0022 041 042 000 Old_age Always - 41 (0 27 0 0 0)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
A Power supplythat has fluctuating voltages is bad for hard drives, and they are often the first to respond to fluctuating voltage on the +12v rail(which most stuff gets power from).

The SMART data is good. The hard drive is 41C, which is above the recommended 39C or lower, so you should look at cooling the drive better. But that's not likely to be your problem. I say likely because a hot hard drive will have problems. Some hard drives work fine until the mid-50s, others at lower temps. For long life, thanks to a Google White Paper on hard drives, the rule is 39C or lower for maximum lifespan.

You already replaced the SATA cable, so I'd do some data copying to/from the computer with the new cable. If that doesn't work, try a different PSU. If that doesn't work then your problem is probably that SATA port on the motherboard. I tend to think its not a SATA cable since you have zero UDMA CRC errrors for the life of the drive. That's usually the best indicator of a bad sata cable.
 

Quadgnim

Dabbler
Joined
Aug 14, 2013
Messages
10
thanks for the quick reply. My room is like an oven. I have the panel off the side of the computer with an external fan constantly blowing on it. The plan is to move them to the basement, but my basement is in disrepair due to water damage, but I'm working to get it back in order. It's a good 20+ degrees cooler down there. I appreciate the feedback. I'm thinking maybe I should jump from a 450w to a 650w psu and see how it goes? The weird thing to me is its always the same drive that fails, the 4th one. I don't know if it's maybe how the drives are powered along the chain, or it is in fact a bad port on the MB, but I only have 4 ports, so I can't really test without a new MB. What's the more likely scenario, get a new MB or a new PSU?

The MB that's in there was purchased 12/2012:

Biostar A780L3C AMD 760G/SB710 Motherboard - MicroATX, Socket AM3, AMD 760G/SB710, DDR3 1600 MHz (O.C.), USB 2.0, SATA II (3Gb/s), 6-CH Audio, LAN, PCIe 2.0​
MPN: A780L3C was pretty cheap at $47​
The PSU also purchased 12/2012:


the PSU came as a case and PSU bundle for a whopping $40, so it's not a very good PSU​
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I wouldn't necessarily go with a higher wattage PSU. You want to be in the 30-80% of your PSU's designed rating. I doubt your system is drawing the full 350w. That has to include other things.

Those types of PSUs that comes with cases should never ever ever be used in a computer. They often burn out and destroy ever component in the computer at the same time. I'd be shutting down your server, unplugging the power supply and getting a new power supply before you ever use it again. Read this article. He does thorough reviews of power supplies, but the article is hilarious and informative. He was serious when he mentioned he kept a fire extinguisher handy when testing a PSU like yours. If you were my friend I'd make you turn in your computer geek card. Those should never be trusted...ever.

I will say that when you buy cheap components(especially for server applications) you get exactly what you pay for. Poor engineering designs and less than stellar components included.

For servers, its all about buying good quality components(and preferably server components for servers).
 

np141592

Cadet
Joined
Nov 12, 2013
Messages
3
Hi,
I am having a similar problem with one of my drives. It goes offline every now and then but if I 'zpool online' it will resilver ok and stay up for a while.
Message in the log is same as yours "kernel: (ada1:ahcich1:0:0:0): lost device" and I am also suspecting a PSU overload issue.
Were you able to identify the cause on yours?
 

Quadgnim

Dabbler
Joined
Aug 14, 2013
Messages
10
I did resolve it but not sure which of two things did it.

Prior to new PSU I changed the 4 drives from two separate mirrored pairs to a striped mirror raid 1+0.

For several days afterwards it worked fine then I installed my new PSU once it finally arrived and I've not haf an issue since.
 

np141592

Cadet
Joined
Nov 12, 2013
Messages
3
Tnx for reply.
I have a 450W PSU for a phenom II x4, regular MB, 8GB, 6x7200 rpm HDD, 2 NICs, no video and few fans. I'll reopen the case to recheck all power connections.
If I'll still have the problem I'll change the PSU with a 600W one I have laying around.
 
Status
Not open for further replies.
Top