CKSUM errors; trying to replace with spare.

Status
Not open for further replies.

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
After a colleague bumped into the server, I'm getting this:

Code:
zpool status
  pool: raid-5x3
 state: ONLINE
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://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub completed after 15h35m with 0 errors on Mon Oct 22 15:46:55 2012
config:

	NAME        STATE     READ WRITE CKSUM
	raid-5x3    ONLINE       0     0     0
	  raidz1    ONLINE       0     0     0
	    ada1p2  ONLINE       0     0     0
	    ada2p2  ONLINE       0     0     4
	    ada4p2  ONLINE       0     0     0
	    ada5p2  ONLINE       0     0     0
	    ada3p2  ONLINE       0     0     0
	spares
	  ada0      AVAIL   

errors: No known data errors


This means I should replace ada2p2, right?

I tried this:

Code:
zpool replace raid-5x3 ada2 ada0
cannot replace ada2 with ada0: no such device in pool


Should I do
Code:
zpool replace raid-5x3 ada2p2 ada0

?

Or can I do this from the GUI?

Or should I just 'zpool clear' ?

Thanks!
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Use the WebGUI in 8.2 or 8.3 RC1.

Storage->Volumes->Volume status

Remove ada0
Replace ada2p2 -> Select ada0
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
The replacing seems to have worked; the new disk is now resilvered.

But now I have
Code:
> zpool status
  pool: raid-5x3
 state: ONLINE
 scrub: resilver completed after 14h48m with 0 errors on Tue Oct 23 09:01:11 2012
config:

	NAME                                              STATE     READ WRITE CKSUM
	raid-5x3                                          ONLINE       0     0     0
	  raidz1                                          ONLINE       0     0     0
	    ada1p2                                        ONLINE       0     0     0
	    replacing                                     ONLINE       0     0     0
	      ada2p2                                      ONLINE       0     0     4
	      gptid/a767b8ef-1c95-11e2-af4c-f46d049aaeca  ONLINE       0     0     0  2.58T resilvered
	    ada4p2                                        ONLINE       0     0     0
	    ada5p2                                        ONLINE       0     0     0
	    ada3p2                                        ONLINE       0     0     0

errors: No known data errors


Why does the new disk have that funky name? In the GUI it appears as ada0p2.
Should I detach it?
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
Also, in the GUI, some of the disks do not say 'member of...' (see attached.)

Do I need to be concerned about that?

Screen Shot 2012-10-23 at 5.29.04 PM.jpg
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
The replacing seems to have worked; the new disk is now resilvered.

But now I have
Code:
> zpool status
  pool: raid-5x3
 state: ONLINE
 scrub: resilver completed after 14h48m with 0 errors on Tue Oct 23 09:01:11 2012
config:

	NAME                                              STATE     READ WRITE CKSUM
	raid-5x3                                          ONLINE       0     0     0
	  raidz1                                          ONLINE       0     0     0
	    ada1p2                                        ONLINE       0     0     0
	    replacing                                     ONLINE       0     0     0
	      ada2p2                                      ONLINE       0     0     4
	      gptid/a767b8ef-1c95-11e2-af4c-f46d049aaeca  ONLINE       0     0     0  2.58T resilvered
	    ada4p2                                        ONLINE       0     0     0
	    ada5p2                                        ONLINE       0     0     0
	    ada3p2                                        ONLINE       0     0     0

errors: No known data errors


Why does the new disk have that funky name? In the GUI it appears as ada0p2.
Should I detach it?

Thats how things are from now on, best practices choice.
Detach the replaced one: ada2.
 
Status
Not open for further replies.
Top