How to Import a Volume from a degraded state on FreeNAS 9.3?

Status
Not open for further replies.

seanci

Cadet
Joined
Aug 29, 2017
Messages
2
Code:
I7 4790k
16 gb Ram Corsair vengeance 2400 mhz ddr3
asus maximus VI Hero
 hx750i PSU


WD Green 3tb drives x 6 (Mirrored)

FreeNAS-9.3-STABLE-201412090314


Code:
[root@freenas ~]# zpool import												
   pool: Media																
	 id: 12090416692805278326												  
  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:																		
																				
		Media										   UNAVAIL  missing device
		  mirror-0									  ONLINE				
			gptid/d40316b0-8ea2-11e7-9d12-448a5b9035cd  ONLINE				
			gptid/d50561e7-8ea2-11e7-9d12-448a5b9035cd  ONLINE				
		  mirror-1									  DEGRADED				
			gptid/3e5c371e-9073-11e7-97ea-448a5b9035cd  ONLINE				
			17682982770039370						   UNAVAIL  cannot open	
																				
		Additional devices are known to be part of this pool, though their	
		exact configuration cannot be determined.



Hey guys, so i just upgraded my server to the specs listed above. Freenas would not recognize the pool. So i tried as follows:

Code:
[root@freenas ~]# glabel status												
									  Name  Status  Components				
gptid/d3f6b02b-8ea2-11e7-9d12-448a5b9035cd	 N/A  ada0p1					
gptid/d40316b0-8ea2-11e7-9d12-448a5b9035cd	 N/A  ada0p2					
gptid/d4f883a4-8ea2-11e7-9d12-448a5b9035cd	 N/A  ada1p1					
gptid/d50561e7-8ea2-11e7-9d12-448a5b9035cd	 N/A  ada1p2					
gptid/3e471957-9073-11e7-97ea-448a5b9035cd	 N/A  ada2p1					
gptid/3e5c371e-9073-11e7-97ea-448a5b9035cd	 N/A  ada2p2					
gptid/550bb14e-a414-11e7-8d2b-448a5b9035cd	 N/A  ada3p1					
gptid/551ca349-a414-11e7-8d2b-448a5b9035cd	 N/A  ada3p2					
gptid/dec7fefe-021b-11e8-b546-448a5b9035cd	 N/A  ada4p1					
gptid/dedf3787-021b-11e8-b546-448a5b9035cd	 N/A  ada4p2					
gptid/ddf98e85-021b-11e8-b546-448a5b9035cd	 N/A  ada5p1					
gptid/de0ac5ef-021b-11e8-b546-448a5b9035cd	 N/A  ada5p2					
gptid/90fdc65b-8d0f-11e7-922f-448a5b9035cd	 N/A  da0p1					  
gptid/910e4106-8d0f-11e7-922f-448a5b9035cd	 N/A  da0p2


that looked off already so i checked this:
Code:
[root@freenas ~]# camcontrol devlist											
<WDC WD30EZRS-00J99B0 80.00A80>	at scbus0 target 0 lun 0 (pass0,ada0)		
<WDC WD30EZRX-00MMMB0 80.00A80>	at scbus1 target 0 lun 0 (pass1,ada1)		
<WDC WD30EZRX-00SPEB0 80.00A80>	at scbus2 target 0 lun 0 (pass2,ada2)		
<WDC WD30EZRX-00MMMB0 80.00A80>	at scbus3 target 0 lun 0 (pass3,ada3)		
<WDC WD30EZRX-00DC0B0 80.00A80>	at scbus4 target 0 lun 0 (pass4,ada4)		
<WDC WD30EZRX-00MMMB0 80.00A80>	at scbus5 target 0 lun 0 (pass5,ada5)		
<SanDisk Cruzer Glide 1.00>		at scbus7 target 0 lun 0 (da0,pass6) 


which shows my drives connected.
The nas was showing ada2 and ada1 had offline uncorrectable sectors and currently unreadable(pending) sectors.

Ive tried removing the bad sector drives and importing the volume read only but it just triggers a reboot during import.
Ive tried importing the entire pool read only with no success.

Any suggestions? I know im doing something wrong.

Thanks for the help!
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
What is the output of zpool status
 

seanci

Cadet
Joined
Aug 29, 2017
Messages
2
What is the output of zpool status
Code:
[root@freenas ~]# zpool status												 
  pool: freenas-boot															
 state: ONLINE																 
  scan: scrub repaired 0 in 0h1m with 0 errors on Sat Feb 24 03:46:49 2018	 
config:																		 
																				
		NAME										  STATE	 READ WRITE CKSUM
		freenas-boot								  ONLINE	   0	 0	 0
		  gptid/910e4106-8d0f-11e7-922f-448a5b9035cd  ONLINE	   0	 0	 0
																				
errors: No known data errors
 
Status
Not open for further replies.
Top