Zpool Import failed

Status
Not open for further replies.

dafuqqi

Dabbler
Joined
Sep 27, 2017
Messages
22
Hi everyone , I tried to import my Zpool from my older hdd to a fresh FreeNas install and i get this error =>
Code:
[root@freenas ~]# zpool import -f powar																							 
cannot import 'powar': one or more devices is currently unavailable																 
[root@freenas ~]# ^C																												
[root@freenas ~]#	

What can I do ?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Hi everyone , I tried to import my Zpool from my older hdd to a fresh FreeNas install and i get this error =>
Code:
[root@freenas ~]# zpool import -f powar																							 
cannot import 'powar': one or more devices is currently unavailable																 
[root@freenas ~]# ^C																												
[root@freenas ~]#	

What can I do ?
You need all the devices (disks) no way around it.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

dafuqqi

Dabbler
Joined
Sep 27, 2017
Messages
22
I used to have a 500GB drive + 15.5GB flashdrive ( i used extended volume ) and now i plugged in both of them but I still get that error
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
I used to have a 500GB drive + 15.5GB flashdrive ( i used extended volume ) and now i plugged in both of them but I still get that error
You put a USB flash drive together with a hard drive in a stripe?
I don't know if anybody can help you with this. It is so totally in opposition to the rules that are there to protect your data.
I hope you have a backup.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

dafuqqi

Dabbler
Joined
Sep 27, 2017
Messages
22
Yep i've made a backup before , anyway the files weren't that important , i just wanted to try :D
 

dafuqqi

Dabbler
Joined
Sep 27, 2017
Messages
22
Run the command zpool import and post the results.
I get this =>
Code:
[root@freenas ~]# zpool import												 
   pool: powar																 
	 id: 11919693953794974639												   
  state: UNAVAIL																
status: The pool was last accessed by another system.						 
action: The pool cannot be imported due to damaged devices or data.			
   see: http://illumos.org/msg/ZFS-8000-EY									 
config:																		
																				
		powar										 UNAVAIL  missing device   
		  gptid/439f7143-a140-11e7-b362-00241d826b05  ONLINE					
[root@freenas ~]# ^C															
[root@freenas ~]#		   
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
So there was also a USB stick joined to it? Is that plugged in? Try camcontrol devlist and also gpart show
 

dafuqqi

Dabbler
Joined
Sep 27, 2017
Messages
22
Yes , there was also an usb drive ! Both (hdd+flash) are plugged in ! I will try now camcontrol devlist and gpart show and i'll post here the results :)
 

dafuqqi

Dabbler
Joined
Sep 27, 2017
Messages
22
Ok so here are results for : camcontrol devlist =>
Code:
[root@freenas ~]# camcontrol devlist											
<WDC WD5000BPVT-75HXZT3 01.01A01>  at scbus2 target 1 lun 0 (pass0,ada0)		
<SanDisk Ultra Fit 1.00>		   at scbus4 target 0 lun 0 (pass1,da0)		 
<Kingston DataTraveler 3.0 >	   at scbus5 target 0 lun 0 (pass2,da1)		 
<Generic USB SD Reader 1.00>	   at scbus6 target 0 lun 0 (pass3,da2)		 
<Generic USB CF Reader 1.01>	   at scbus6 target 0 lun 1 (pass4,da3)		 
<Generic USB SM Reader 1.02>	   at scbus6 target 0 lun 2 (pass5,da4)		 
<Generic USB MS Reader 1.03>	   at scbus6 target 0 lun 3 (pass6,da5)		 
[root@freenas ~]#	 

SanDisk is the OS , Kingston was the flash drive
And here are the results for gpart show
Code:
[root@freenas ~]# gpart show																										
=>	   40  976773088  ada0  GPT  (466G)																						   
		 40		 88		- free -  (44K)																					   
		128	4194304	 1  freebsd-swap  (2.0G)																				 
	4194432  972578688	 2  freebsd-zfs  (464G)																				   
  976773120		  8		- free -  (4.0K)																					 
																																	
=>	  40  30031176  da0  GPT  (14G)																							   
		40	  1024	1  bios-boot  (512K)																						
	  1064  30030144	2  freebsd-zfs  (14G)																					   
  30031208		 8	   - free -  (4.0K)																						 
																																	
=>	  64  30218715  da1  GPT  (14G)																							   
		64	   252	1  ms-basic-data  (126K)																					
	   316	  5760	2  efi  (2.8M)																							 
	  6076   1099240	3  ms-basic-data  (537M)																					
   1105316	   604	   - free -  (302K)																						 
   1105920  29110272	4  ms-basic-data  (14G)																					 
  30216192	  2587	   - free -  (1.3M)																						 
																																	
=>  63  5697  da1p2  MBR  (2.8M)																									
	63  5697		 - free -  (2.8M)																							   
																																	
=>  63  5697  gpt/EFI%20boot%20partition  MBR  (2.8M)																			   
	63  5697							  - free -  (2.8M)																		 
																																	
=>  63  5697  gptid/0c47c98a-6b28-456e-8c6d-90ee853fcc00  MBR  (2.8M)															   
	63  5697											  - free -  (2.8M)														 
																																	
[root@freenas ~]# ^C																												
[root@freenas ~]#																												   
						   
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
It looks like the flash drive has been used for something else, as it has a few Microsoft type partitions. Was the flash drive overwritten or loaded with data or an operating system or installer?
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
Well, something seems to have gotten to it.
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
It wasn't overwritten but i plugged the drive into my computer
You formatted it when you plugged it into windows. Since it was stripped into the pool all your data is gone. No clue what the heck you tried to do with a USB flash drive but don't do that again.
 
Status
Not open for further replies.
Top