Missing SSD driving causing pool to fail

Status
Not open for further replies.

roderick1st

Cadet
Joined
Nov 13, 2012
Messages
6
Hi all,

Hoping for a bit of help!

My FreeNAS box crashed this afternoon and refused to start until I had removed on of the SSD drives I had installed which had obviously had a failure.

I currently have 4 traditional drives (2TB each) and 2 SSD drive one for ZIL and one for L2ARC.

Im not sure which of the cache SSD's it was which failed and I haven't replaced it yet but is there a way to bring the Pool back online without it or have I set it up incorrectly where there is no chance of recovery? Sorry to be vague about which disk is now missing as it was a couple of years ago when I set it all up.


Code:
[root@freenas ~]# zpool import																									
   pool: Storage																													
	 id: 8882450676816422605																										
  state: UNAVAIL																													
status: One or more devices are missing from the system.																		 
action: The pool cannot be imported. Attach the missing																			
		devices and try again.																									
   see: http://illumos.org/msg/ZFS-8000-6X																						
config:																															
																																	
		Storage										 UNAVAIL  missing device													
		  mirror-0									  ONLINE																	
			gptid/c07d5909-6176-11e5-b9f8-e4115bac48ac  ONLINE																	
			gptid/c0c91657-6176-11e5-b9f8-e4115bac48ac  ONLINE																	
		  mirror-1									  ONLINE																	
			gptid/c11b5df5-6176-11e5-b9f8-e4115bac48ac  ONLINE																	
			gptid/c16dfa53-6176-11e5-b9f8-e4115bac48ac  ONLINE																	
		cache																													 
		  gptid/c1a61b46-6176-11e5-b9f8-e4115bac48ac																				
																																	
		Additional devices are known to be part of this pool, though their														
		exact configuration cannot be determined.		


Code:
[root@freenas ~]# camcontrol devlist																								
<ST32000645NS 0004>				at scbus0 target 0 lun 0 (ada0,pass0)															
<ST32000645NS 0004>				at scbus0 target 1 lun 0 (ada1,pass1)															
<ST32000645NS 0004>				at scbus1 target 0 lun 0 (ada2,pass2)															
<ST32000645NS 0004>				at scbus1 target 1 lun 0 (ada3,pass3)															
<SanDisk SDSSDA120G U21010RL>	  at scbus3 target 0 lun 0 (ada4,pass4)															
<JetFlash Transcend 4GB 1100>	  at scbus5 target 0 lun 0 (pass5,da0)


Code:
[root@freenas ~]# gpart show																										
=>	 34  7907261  da0  GPT  (3.8G)																								
	   34	 1024	1  bios-boot  (512K)																						
	 1058		6	   - free -  (3.0K)																						 
	 1064  7906224	2  freebsd-zfs  (3.8G)																						
  7907288		7	   - free -  (3.5K)																						 
																																	
=>		34  3907029101  ada0  GPT  (1.8T)																						
		  34		  94		- free -  (47K)																					
		 128	 4194304	 1  freebsd-swap  (2.0G)																				
	 4194432  3902834696	 2  freebsd-zfs  (1.8T)																				
  3907029128		   7		- free -  (3.5K)																					
																																	
=>		34  3907029101  ada1  GPT  (1.8T)																						
		  34		  94		- free -  (47K)																					
		 128	 4194304	 1  freebsd-swap  (2.0G)																				
	 4194432  3902834696	 2  freebsd-zfs  (1.8T)																				
  3907029128		   7		- free -  (3.5K)																					
																																	
=>		34  3907029101  ada2  GPT  (1.8T)																						
		  34		  94		- free -  (47K)																					
		 128	 4194304	 1  freebsd-swap  (2.0G)																				
	 4194432  3902834696	 2  freebsd-zfs  (1.8T)																				
  3907029128		   7		- free -  (3.5K)																					
																																	
=>		34  3907029101  ada3  GPT  (1.8T)																						
		  34		  94		- free -  (47K)																					
		 128	 4194304	 1  freebsd-swap  (2.0G)																				
	 4194432  3902834696	 2  freebsd-zfs  (1.8T)																				
  3907029128		   7		- free -  (3.5K)																					
																																	
=>	   34  234441581  ada4  GPT  (112G)																						 
		 34		 94		- free -  (47K)																					 
		128  234441480	 1  freebsd-zfs  (112G)																				 
  234441608		  7		- free -  (3.5K)


Code:
[root@freenas ~]# glabel status																									
									  Name  Status  Components																	
gptid/e0df20cf-615d-11e5-a740-e4115bac48ac	 N/A  da0p1																		 
gptid/c06af1a7-6176-11e5-b9f8-e4115bac48ac	 N/A  ada0p1																		
gptid/c07d5909-6176-11e5-b9f8-e4115bac48ac	 N/A  ada0p2																		
gptid/c112a3c8-6176-11e5-b9f8-e4115bac48ac	 N/A  ada1p1																		
gptid/c11b5df5-6176-11e5-b9f8-e4115bac48ac	 N/A  ada1p2																		
gptid/c0bc2d54-6176-11e5-b9f8-e4115bac48ac	 N/A  ada2p1																		
gptid/c0c91657-6176-11e5-b9f8-e4115bac48ac	 N/A  ada2p2																		
gptid/c161894f-6176-11e5-b9f8-e4115bac48ac	 N/A  ada3p1																		
gptid/c16dfa53-6176-11e5-b9f8-e4115bac48ac	 N/A  ada3p2																		
gptid/c1a61b46-6176-11e5-b9f8-e4115bac48ac	 N/A  ada4p1

Any help would be hugely appreciated.

Thanks,

Rod.
 

tvsjr

Guru
Joined
Aug 29, 2015
Messages
959

roderick1st

Cadet
Joined
Nov 13, 2012
Messages
6
Thanks tvsjr,

I jumped the gun a little and did the following on the console :

Code:
zpool import -m -f -F  Storage


Which brought the pool back as degraded. I then read through your suggested posts and removed the missing cache as described which has now brought the pool to a Healthy status.

However I now have an issue where the mount point ie /mnt/Storage is not there when trying to do a SMB share. Any suggestions?
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Detach the SSDs, then export the pool from the CLI and import it again from the GUI.
 
Status
Not open for further replies.
Top