SOLVED Migration of volume from Corral to 11

Status
Not open for further replies.

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
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.
What's really impressive is the 2,138 thanks you have received!
Congratulations :cool:
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If there are additional spaces somewhere in the pool name, another option that comes to mind is to address the pool by its numeric ID. The problem is that I don't know how to determine that for a mounted pool ( zpool import will do it for a pool that's offline). Any ideas, wizards? @Arwen? @Stux?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Let's try this: zpool list -o name,guid.

Edit: This will return a numeric identifier for each pool. What I don't know (as the zpool(8) manpage isn't clear to me) is whether it's the same numeric identifier that can be used with other operations. But there's a way to find out. Once that gives you the long number for Pool 1, try zpool export (long number), followed by zpool import (long number) Pool1, and then zpool export Pool1.
 
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
If there are additional spaces somewhere in the pool name, another option that comes to mind is to address the pool by its numeric ID. The problem is that I don't know how to determine that for a mounted pool ( zpool import will do it for a pool that's offline). Any ideas, wizards? @Arwen? @Stux?
Good idea, that should work even if name parsing is borked.
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
I'm now really confused!

When I originally created the pool I'm pretty sure I named it Pool1. I might be wrong - it could have been Pool 1. I'm pretty certain I did not create it with a leading or trailing space.

Anyway I have tried importing all combinations. Nothing happened - just errors - until just now. When I tried to import "Pool 1" it looked like something happened but it did not confirm anything. When i tried again - I get

Code:
[root@freenas ~]# zpool import "Pool 1"										
cannot import 'Pool 1': a pool with that name is already created/imported,	
and no additional pools with that name were found							  
[root@freenas ~]# 


So all sorted? No

Nothing shows in volume manager and nothing is available to import

Untitled.jpg
 
Last edited by a moderator:

metal

Dabbler
Joined
May 6, 2017
Messages
12
Code:
[root@freenas ~]# zpool list -o name,guid									   
NAME		   GUID															 
Pool 1		634957860767911285												
freenas-boot  2565826027417151195																									 
[root@freenas ~]# zpool export (634957860767911285)							 
bash: syntax error near unexpected token `('									
[root@freenas ~]# zpool export 634957860767911285							   
cannot open '634957860767911285': name must begin with a letter				 
[root@freenas ~]#


sorry no good
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Nvm

Sent from my Nexus 5X using Tapatalk
 

metal

Dabbler
Joined
May 6, 2017
Messages
12
Thank you SO much everyone. I have sorted it

Even though it appeared to import the volume it did not recognise this in volume manager. I have manged to rename the volume as Pool in the CLI (I couldn't do this yesterday) and now all fine.

I'm most grateful for your help
 
Status
Not open for further replies.
Top