disk replacement

Status
Not open for further replies.

HRS

Dabbler
Joined
Aug 4, 2014
Messages
39
Hi

I have a raidz2 array of 6 WD Red 3TB drives.
I've recently upgraded the system (replaced the mother board) and upgraded to FreeNas 11.

I am receiving the following error:
"The volume volume1 state is DEGRADED: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected."

tried clearing the error (zpool clear volume_name), followed by scrubbing the pool but the error message returns.

when I run 'zpool status -v', i get the following:
pool: volume1
state: DEGRADED
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://illumos.org/msg/ZFS-8000-9P
scan: scrub repaired 8.51M in 3h22m with 0 errors on Wed Aug 9 06:26:26 2017
config:

NAME STATE READ WRITE CKSUM
volume1 DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
gptid/c890406f-13f8-11e4-a66e-d05099192b2f ONLINE 0 0 0
gptid/82bfc1d7-1c29-11e4-bce1-d05099192b2f ONLINE 0 0 0
gptid/ca2fd8e8-13f8-11e4-a66e-d05099192b2f ONLINE 0 0 0
gptid/cb0ef8de-13f8-11e4-a66e-d05099192b2f ONLINE 0 0 40
gptid/cbddf557-13f8-11e4-a66e-d05099192b2f DEGRADED 0 0 1.50K too many errors
gptid/ccadec6b-13f8-11e4-a66e-d05099192b2f ONLINE 0 0 0

errors: No known data errors

1. Does it mean that the drive has to be replaced?
2. Identifying the failed disk - should I follow the procedure outlined in this link?
3. What is the exact procedure required for disk replacement? (do I need to reattach the new drive? resilver?) please send the list of commands
4. Could I replace the 3TB drive with a 4TB or 6TB, even if only 3TB would be currently used, so that when other drives will be replaced in the future the capacity could be increased?
 

Spud

Contributor
Joined
Oct 23, 2011
Messages
117
Hi

gptid/cbddf557-13f8-11e4-a66e-d05099192b2f DEGRADED 0 0 1.50K too many errors

errors: No known data errors

1. Does it mean that the drive has to be replaced?
2. Identifying the failed disk - should I follow the procedure outlined in this link?
3. What is the exact procedure required for disk replacement? (do I need to reattach the new drive? resilver?) please send the list of commands
4. Could I replace the 3TB drive with a 4TB or 6TB, even if only 3TB would be currently used, so that when other drives will be replaced in the future the capacity could be increased?

Open a shell and see what smartctl -A /dev/the_drive_in_question

And yes you can replace the 3TB drive with a larger drive.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
smartctl -A /dev/the_drive_in_question
smartctl -a /dev/adawhatever

Uppercase "A" trims out too much useful information.
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478

HRS

Dabbler
Joined
Aug 4, 2014
Messages
39
Thanks all

I've experienced a "miracle". The drive seems to have returned to life.
It is strange. After a couple of days of consistent drive errors, it suddenly went away and the system is "green" for last few days.

Anyway, thanks to all of you I know what to do when the errors return

And, Spud, you mentioned that I can replace drives to larger drives.
Coud you describe what happens to the 6 drive raidz2 pool as drives are replaced incrementally (e.g. 3TB with 4TB or 6TB)
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Coud you describe what happens to the 6 drive raidz2 pool as drives are replaced incrementally (e.g. 3TB with 4TB or 6TB)
Nothing until the last drive is replaced; when the last drive is replaced, the vdev's (and thus the pool's) capacity increases accordingly.
 

Spud

Contributor
Joined
Oct 23, 2011
Messages
117
Thanks all

Coud you describe what happens to the 6 drive raidz2 pool as drives are replaced incrementally (e.g. 3TB with 4TB or 6TB)

One other thing to check before you start replacing the drives is "zpool get autoexpand" make sure its on.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Thanks all

I've experienced a "miracle". The drive seems to have returned to life.
It is strange. After a couple of days of consistent drive errors, it suddenly went away and the system is "green" for last few days.

This is a good time to refresh your backups, before the drive gives up the ghost for good...

And you should provide the requested smartctl info too...

Anyway, thanks to all of you I know what to do when the errors return

And, Spud, you mentioned that I can replace drives to larger drives.
Coud you describe what happens to the 6 drive raidz2 pool as drives are replaced incrementally (e.g. 3TB with 4TB or 6TB)

Once all drives are replaced, the vdev will automatically expand (assuming autoexpand property is set to the default of true). It expands based on the smallest drive in the vdev, so if you have 3TB drives, replace half with 4TB drives, and the rest with 6TB drives, then the vdev will autoexpand as if all drives were 4TB. When the 4TB drives are then replaced with 6TB drives, it will again expand.
 
Status
Not open for further replies.
Top