2 drives failed, need to rebuild, FreeNAS 11.0-U3

Status
Not open for further replies.

GlassVial

Dabbler
Joined
Sep 25, 2016
Messages
16
2 drives failed and both have been replaced, but I can't seem to figure out how to rebuild my ZFS RAIDZ2 (RAID6) array, I found some tutorials but they were outdated, help is appreciated!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I can't seem to figure out how to rebuild my ZFS RAIDZ2 (RAID6) array,
The manual and the resources didn't help? Replacing a failed disk is pretty well documented--what parts were you having trouble with?
 

GlassVial

Dabbler
Joined
Sep 25, 2016
Messages
16
I don't have any disks showing offline, I didn't know I had to manually put the disks to offline status first, so do I have to re-install the failed disks again, tell the system they're offline then replace or what?

https://imgur.com/Cf4LmIx

Ignore the 2 UNAVAIL entries, those are cache drives.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Post the results of zpool status in code tags. Please post it here - not on an external site.

As @danb35 said, that screenshot isn't useful.
 

GlassVial

Dabbler
Joined
Sep 25, 2016
Messages
16
Code:
pool: RAIDVOL																													
 state: DEGRADED																													
status: One or more devices could not be opened.  Sufficient replicas exist for													
	   the pool to continue functioning in a degraded state.																	  
action: Attach the missing device and online it using 'zpool online'.															  
   see: http://illumos.org/msg/ZFS-8000-2Q																						
  scan: scrub repaired 0 in 7h39m with 0 errors on Sun Jul 22 07:39:52 2018														
config:																															
																																  
	   NAME					  STATE	 READ WRITE CKSUM																		
	   RAIDVOL				   DEGRADED	 0	 0	 0																		
		 raidz2-0				DEGRADED	 0	 0	 0																		
		   gpt/Z3034P9S		  ONLINE	   0	 0	 0																		
		   gpt/Z303A5X6		  ONLINE	   0	 0	 0																		
		   gpt/Z3039XDC		  ONLINE	   0	 0	 0																		
		   gpt/Z303BQZ6		  ONLINE	   0	 0	 0																		
		   gpt/S3012492		  ONLINE	   0	 0	 0																		
		   gpt/S3014MG6		  ONLINE	   0	 0	 0																		
		   12957645068860790416  UNAVAIL	  0	 0	 0  was /dev/gpt/S30146TK												
		   6186955783130228155   UNAVAIL	  0	 0	 0  was /dev/gpt/S300KH6E												
		   gpt/S300MPSS		  ONLINE	   0	 0	 0																		
		   gpt/S300MR50		  ONLINE	   0	 0	 0																		
		   gpt/S300MBM6		  ONLINE	   0	 0	 0																		
		   gpt/S300MDLB		  ONLINE	   0	 0	 0																		
	   logs																														
		 mirror-1				ONLINE	   0	 0	 0																		
		   gpt/ssd128z		   ONLINE	   0	 0	 0																		
		   gpt/ssd128-2z		 ONLINE	   0	 0	 0																		
	   cache																													  
		 gpt/ssd128c			 ONLINE	   0	 0	 0																		
		 gpt/ssd128-2c		   ONLINE	   0	 0	 0																		
																																  
errors: No known data errors																										
																																  
  pool: freenas-boot																												
 state: ONLINE																													
  scan: scrub repaired 0 in 0h26m with 0 errors on Sat Jul 28 04:11:51 2018														
config:																															
																																  
	   NAME										  STATE	 READ WRITE CKSUM													
	   freenas-boot								  ONLINE	   0	 0	 0													
		 gptid/05879fb4-3e31-11e6-bdd2-00266c379981  ONLINE	   0	 0	 0													
																																  
errors: No known data errors														


Edit: I made some notes, the serial numbers above ending in 46TK and KH6E are the 2 drives that died.
 

GlassVial

Dabbler
Joined
Sep 25, 2016
Messages
16
I think I got it, it's Resilvering now, I told it to replace the disks for the unavailable drives (there was no option to toggle them offline) and I told it to replace one each with the new drives I had installed. It gave me some message about a partition or something, and I checked the box to force it. This is probably going to take awhile!

Thanks for the help @gpsguy, your tip with the zpool status was really helpful!
 
Status
Not open for further replies.
Top