SOLVED Migration of volume from Corral to 11

Status
Not open for further replies.

metal

Dabbler
Joined
May 6, 2017
Messages
12
Hi

As i was (am) new to FreeNAS, I went straight for a Corral installation when it came out. Everything went well and I set up datasets, Windows shares and docker with no problems. Then a few days ago the whole system suddenly became unavailable. I could ping the server but that was all - none of the shares worked and I tried rebooting etc but it would not boot.

Then I saw what had happened to the Corral project. So I have installed 11 (fine) and tried to import my existing volume. Version 11 saw the old volume and has imported it (sort of) but shows a critical error - The volume Pool state is UNKNOWN. I am now seeking some help before I do something terminal - have I lost all my data (a few TB)?

I have (nearly) all of my data backed up separately but really don't want to start again.

My specs are
ASRock E3C226D2I
4x 3TB WD Red
16GB ECC RAM
Intel G3258

All help most gratefully received - thank you
 
Last edited by a moderator:

metal

Dabbler
Joined
May 6, 2017
Messages
12
That was quick!

Code:
		  raidz1-0									  ONLINE	   0	 0	
0																			
			gptid/d0d5c2c4-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			
			gptid/d187d11f-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			
			gptid/d223c0b7-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			
			gptid/d380dc1c-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			
																				
errors: No known data errors													
																				
  pool: freenas-boot															
state: ONLINE																
  scan: none requested														
config:																		
																				
		NAME		STATE	 READ WRITE CKSUM								
		freenas-boot  ONLINE	   0	 0	 0								
		  da0p2	 ONLINE	   0	 0	 0								
																				
errors: No known data errors
 
Last edited by a moderator:
D

dlavigne

Guest
In which screen did you see the UNKNOWN status? That output shows the pool is ONLINE. Or, do you have a second pool you are trying to import?
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
It appears on the home GUI page - there is a red flashing light in the top right hand corner marked "Critical".

When I go to Storage - Volume Manager I can see the disks but not the volume as I configured it under Corral.

what I am nervous about is configuring the disks as a new volume - presumably that kills all of the existing data?

thank you for your help
 
D

dlavigne

Guest
what I am nervous about is configuring the disks as a new volume - presumably that kills all of the existing data?

Yup, you don't want to do that!

Please post a screenshot of what you're seeing in Storage -> View Volumes.
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
Please see below

upload_2017-5-6_17-57-21.png
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
It says
cannot open 'Pool': no such pool
 

Attachments

  • upload_2017-5-6_18-50-55.png
    upload_2017-5-6_18-50-55.png
    165.1 KB · Views: 221

metal

Dabbler
Joined
May 6, 2017
Messages
12
It says that when I try and export

zpool status returns

Code:
		  raidz1-0									  ONLINE	   0	 0	
0																			 
			gptid/d0d5c2c4-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			 
			gptid/d187d11f-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			 
			gptid/d223c0b7-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			 
			gptid/d380dc1c-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	
0																			 
																				
errors: No known data errors													
																				
  pool: freenas-boot															
state: ONLINE																 
  scan: none requested														 
config:																		 
																				
		NAME		STATE	 READ WRITE CKSUM								 
		freenas-boot  ONLINE	   0	 0	 0								
		  da0p2	 ONLINE	   0	 0	 0								 
																				
errors: No known data errors												   


zpool import returns nothing

thank you for your help
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
zpool status returns
That isn't the full output of zpool status; it doesn't have the header showing the pool's name. Try zpool status | more.
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
Code:
[root@freenas ~]# zpool status | more																							   
  pool: Pool 1																													 
state: ONLINE																													 
  scan: none requested																											 
config:																															 
																																	
		NAME											STATE	 READ WRITE CKSUM												 
		Pool 1										  ONLINE	   0	 0	 0												 
		  raidz1-0									  ONLINE	   0	 0	 0												 
			gptid/d0d5c2c4-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	 0												 
			gptid/d187d11f-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	 0												 
			gptid/d223c0b7-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	 0												 
			gptid/d380dc1c-1961-11e7-b8c7-d050991a0825  ONLINE	   0	 0	 0												 
																																	
errors: No known data errors																										
																																	
  pool: freenas-boot																												
state: ONLINE																													 
  scan: none requested																											 
config:																															 
																																	
		NAME		STATE	 READ WRITE CKSUM																					 
		freenas-boot  ONLINE	   0	 0	 0																					
		  da0p2	 ONLINE	   0	 0	 0																					 
																																	
errors: No known data errors																										
--More--(END)					  
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
OK, there's your problem. Your pool is called "Pool 1", while the GUI thinks it's called "Pool". Try detaching the pool in the GUI (click the pool at the screen you posted, then the icon at the bottom with a red X), zpool export "Pool 1", and then Import Volume from the GUI.

Edit: It's entirely possible that the space in the pool name is causing problems. Since you're going from Corral to 11, you're having to reconfigure everything anyway, so it'd probably be better to rename the pool. After doing zpool export "Pool 1", do zpool import "Pool 1" Pool1, then zpool export Pool1. Then do Import Volume from the GUI. The zpool import command will rename the pool from Pool 1 to Pool1.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Rename it to get rid of the space.
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
thank you both

I'm still having trouble though

Code:
[root@freenas ~]# zpool export "Pool 1"										 
cannot open 'Pool 1': no such pool											 
[root@freenas ~]# zpool export "Pool1"										 
cannot open 'Pool1': no such pool											   
[root@freenas ~]#															   
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
That's because we missed something: You have a trailing space in the name!

This is a typical zpool status output:
Code:
[root@freenas] ~# zpool status
  pool: Bender
state: ONLINE
  scan: scrub repaired 0 in 4h27m with 0 errors on Mon Apr 24 04:27:16 2017
config:

		NAME											STATE	 READ WRITE CKSUM
		Bender										  ONLINE	   0	 0	 0
		  raidz2-0									  ONLINE	   0	 0	 0
			gptid/72bd3559-1378-11e4-89b2-0cc47a073ee2  ONLINE	   0	 0	 0
			gptid/737a0605-1378-11e4-89b2-0cc47a073ee2  ONLINE	   0	 0	 0
			gptid/743c2465-1378-11e4-89b2-0cc47a073ee2  ONLINE	   0	 0	 0
			gptid/74f846c6-1378-11e4-89b2-0cc47a073ee2  ONLINE	   0	 0	 0
			gptid/75b0c49c-1378-11e4-89b2-0cc47a073ee2  ONLINE	   0	 0	 0
			gptid/766d8f4f-1378-11e4-89b2-0cc47a073ee2  ONLINE	   0	 0	 0

errors: No known data errors

Note the single space between pool: and Bender.

You'll need:
zpool export " Pool 1"
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
My pool name is tank.
I just thought what the hell, let's see how the cli likes the numeral 1 after the pool name...

Code:
root@testbench:~ # zpool status tank1
cannot open 'tank1': no such pool
root@testbench:~ #

Let's add a space...

Code:
root@testbench:~ # zpool status tank 1
  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 21 23:06:32 2017
config:

  NAME  STATE  READ WRITE CKSUM
  tank  ONLINE  0  0  0
  mirror-0  ONLINE  0  0  0
  gptid/f3f241be-1f17-11e7-8301-001b2199cee8  ONLINE  0  0  0
  gptid/4510419a-26f4-11e7-a30b-001b2199cee8  ONLINE  0  0  0
  mirror-1  ONLINE  0  0  0
  gptid/5051a809-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/5071af2c-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  mirror-2  ONLINE  0  0  0
  gptid/513c2d57-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  gptid/532581a5-19b4-11e7-95a5-001b2199cee8  ONLINE  0  0  0
  spares
  gptid/9f9cfcc6-2765-11e7-a369-001b2199cee8  AVAIL

errors: No known data errors


It was a repeated never ending output until I killed it...
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
I'm not seeing the difference in spacing. I see the first character of OP's pool name aligned under the first 'e' in 'root@freenas'. However, I wouldn't be surprised if the space in the name is causing trouble:
The pool name must begin with a letter, and can only contain alphanumeric characters as well as underscore ("_"), dash ("-"), and period (".").
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Damn it, it's the state that's shifted for some reason. So much for that, and what a waste of an 11 000th post.
 
Status
Not open for further replies.
Top