issues with disk. Need to replace?

Status
Not open for further replies.

TwistedNL

Dabbler
Joined
Sep 21, 2012
Messages
12
Hi all,

I've been using Freenas for quit a while now and enjoy it a lot. althought I have some issues with the jails all is going ok until last week.
All of a sudden the following issue showed up in console.
Feb 3 12:55:48 nas smartd[2569]: Device: /dev/ada3, 24 Currently unreadable (pending) sectors
Feb 3 12:55:48 nas smartd[2569]: Device: /dev/ada3, 10 Offline uncorrectable sectors
Did a smart short test and long test but not sure what to do. Do i need to replace the disk (won't be an issue as long how to do it save).
Any help would be appreciated cause I'm just not that much into freebsd or linux.

did a bit off reading in this forum and found some things that should make thing more clear.
I'm talking about a zpool with 4 disks (all kind of sizes and brands) for storage of not really important data.
Movies, series and music. I really would like keep this data because i've been saving this for years but the amount is to much to backup.
I also did a zpool status -v which does not show any errors except for non-native block size on 1 disk. This is there since I started and could not hurt anything according earlier reading.

pool: bulkpool
state: ONLINE
status: One or more devices are configured to use a non-native block size.
Expect reduced performance.
action: Replace affected devices with devices that support the
configured block size, or migrate data to a properly configured
pool.
scan: scrub repaired 0 in 13h26m with 0 errors on Sun Dec 28 13:26:35 2014
config:

NAME STATE READ WRITE CKSUM
bulkpool ONLINE 0 0 0
gptid/37df9564-0030-11e2-8c06-d43d7e27dfda ONLINE 0 0 0
gptid/411b4ddf-0030-11e2-8c06-d43d7e27dfda ONLINE 0 0 0
gptid/9703fe45-00f9-11e2-8fd2-d43d7e27dfda ONLINE 0 0 0 block size: 512B configured, 4096B native
gptid/26a17eca-615c-11e4-be12-d43d7e27dfda ONLINE 0 0 0

errors: No known data errors

Now I also ran a
smartctl -A /dev/ada3 and added the results.
That doesn't make me happy If I interpreter it correctly.

smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p8 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 152 145 021 Pre-fail Always - 9375
4 Start_Stop_Count 0x0032 094 094 000 Old_age Always - 6387
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0
9 Power_On_Hours 0x0032 049 049 000 Old_age Always - 37885
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 68
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 31
193 Load_Cycle_Count 0x0032 134 134 000 Old_age Always - 199578
194 Temperature_Celsius 0x0022 102 085 000 Old_age Always - 50
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 24
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 10
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 199 199 000 Old_age Offline - 378
Thanks Ralph
 
Last edited:

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
You have a drive that's beginning to fail. You could see the details by typing: smartctl -a /dev/ada3 and posting the output in code tags.

Unfortunately, your data is striped. If any disk fails, all your data will be lost.

Start backing up any important data now, especially the family pictures, etc. To "replace" the disk, you'll need to start over from scratch and restore any data you decided to keep (backup).

When you start over, I'd implement some sort of RAIDzX protection. See cyberjock's guide for more information: https://forums.freenas.org/index.ph...ning-vdev-zpool-zil-and-l2arc-for-noobs.7775/
 

TwistedNL

Dabbler
Joined
Sep 21, 2012
Messages
12
Thanks for the reply gpsguy.
I replaced a disk before and I had the luck that I had more free space left then the disksize so I was able to "copy" all data to the disks in de zpool that worked fine (shrink zpool?), removed the faulty disk and added a new one and expand the zpool. This can be done now but can't remember what I did then.

been reading the noob guide for the most now and I think I get what you mean. Every disk I have in this zpool is a standalone vdev where you can only replace disk to make it bigger. As soon as one of those vdevs fails my whole zpool will die.
I have another mirrored zpool (smaller and only 2 disks) that I can unmount to free up 2 sata ports.
I currently have 4 disk, 3 times 2 TB and one (almost new, replaced) 4TB
one of the 2TB green WD disks is failing. Want to replace it with a red WD of 4TB but that wont be smart.
The raidz must be build from start in the correct config/setup of can I add disc afterwards?
I was thinking to create a raidz on the new 4TB disk and copy the data piece by piece.
As soon as there is enough data moved, add the working disk of the current zpool to the new vdev raidz.

No clue how exactly but since the amount of data currently used is about 5.2TB I can not think of a solution to solve this, make a much etter setup with raidz and without losing data.
 
Last edited:

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I'm not going to follow this thread after this as striping disks is just *asking* to lose data.

Your pool is going to be toasted. Yes, there's a hacky way to do disk replacement, but that's not going to save you from this problem. Your disk is bad, and you're likely to have a nonviable nonmountable pool before this is done. So you need to back up your data NOW. Not tomorrow, not next week, not after you try to replace the disk. NOW.

Someone pretty high at iXsystems once posted in the forums something like "if you striped your zpool you deserve what you get for doing that".
 

TwistedNL

Dabbler
Joined
Sep 21, 2012
Messages
12
Thanks cyberjock. And thanks for the great noob manual. I know I've helping myself in trouble, but being a fool 3 years back without knowledge does not mean I would like serieus help now.
I bought a decent machine 2 years ago and the disk behaved great until now. My 8 GB memory isn't enough afterall.
I will try to copy/move as much as data as possible asap to external disk, other servers and normal pc and will set the whole nas up with a new and fresh look.
 
Status
Not open for further replies.
Top