Importing an existing pool

balanga

Patron
Joined
Jul 10, 2014
Messages
271
I'm trying to import an existing pool following the instructions here:-


Select Import Existing Pool and click NEXT.

When selecting Import an existing pool, the Create new pool rather than Import an existing pool becomes highlighted... but anyhow click NEXT

The wizard asks if the pool has legacy GELI encryption.

Select No, continue with import and click NEXT.


Unable to select No. The only available option is Yes... but anyhow click NEXT

TrueNAS detects any pools that are present but unconnected.


No pool detected and no opportunity to enter name of existing pool

Choose the ZFS pool to import and click NEXT.

Review the Pool Import Summary and click IMPORT.


I know I have a pool called nas because I ran zpool import -f -R /mnt nas and managed to mount my nas pool on /mnt, but I can't find any way to import it via the GUI.

What have I overlooked?
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You're nearly there...

You will first need to re-import the pool to correct the mountpoint.

zpool export nas
zpool import -f -R /mnt/nas nas
zpool export nas

Then import with the GUI.
 

no1ninja

Dabbler
Joined
Jan 22, 2013
Messages
24
You're nearly there...

You will first need to re-import the pool to correct the mountpoint.

zpool export nas
zpool import -f -R /mnt/nas nas
zpool export nas

Then import with the GUI.
Please help me.... I need to do this, but entering the above into shell, just gave me errors. How do I do this?

I have zfs partition that has imported fine, but can't do anything with it because the system complains about anything i try is not in its mount point


My trueNAS shell does not understand the above commands
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I have zfs partition that has imported fine, but can't do anything with it because the system complains about anything i try is not in its mount point
Can you be a bit more specific about what happens when you run:

zpool status

zfs list
 
Top