Importing a zfs pool on freenas from another system

utbigmac41

Cadet
Joined
Jun 7, 2017
Messages
2
Hey guys,

Ok background, so I had freenas 9.10.1 running with a raid0 zfs pool 3x 3TB HDDs (don't worry I have everything backed up nightly on a separate server running raid 5... so worst case I give up and rebuild it). So I went to update freenas to 11.2 and something happened with the upgrade and it took me a couple weeks to get 11.2 freshly installed on the same machine. So right now I have a fresh install of Freenas 11.2 on the server and the 3x 3TB HDDs are sitting there never having been messed with since i know one of the nice features with using freenas is the portable nature of the zfs pools. I am trying to import this pool ("ARRIA_pool") into the system so that it is usable again.

After searching the forums here are the outputs from some of the commands that people regularly ask for so that we can skip that step.
Hopefully that is enough but if not let me know I feel like its something small but Im just lost. Thanks.

1) //after running this, the pool is obviously there
[root@freenas ~]# zpool import
pool: ARIIA_pool
id: 1270737766853060949
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-EY
config:

ARIIA_pool ONLINE
gptid/20a0d1ad-4bed-11e7-ba83-001517e336e4 ONLINE
gptid/21743ee7-4bed-11e7-ba83-001517e336e4 ONLINE
gptid/2256e066-4bed-11e7-ba83-001517e336e4 ONLINE
cache
366604565601447460

2) //ok makes sense that since the last system died and I didnt export the pool that it still thinks it could be used somewhere else
[root@freenas ~]# zpool import ARIIA_pool
cannot import 'ARIIA_pool': pool may be in use from other system, it was last accessed by freenas.local (hostid: 0xa5e9a498) on Sat
Mar 9 09:40:02 2019
use '-f' to import anyway

3) //uh.. what
[root@freenas ~]# zpool import -f ARIIA_pool
cannot import 'ARIIA_pool': one or more devices is currently unavailable

4) //everything seems fine... at least to me
[root@freenas ~]# gpart show
=> 34 234441581 ada0 GPT (112G)
34 1024 1 bios-boot (512K)
1058 6 - free - (3.0K)
1064 234440544 2 freebsd-zfs (112G)
234441608 7 - free - (3.5K)

=> 34 5860533101 ada1 GPT (2.7T)
34 94 - free - (47K)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338696 2 freebsd-zfs (2.7T)
5860533128 7 - free - (3.5K)

=> 34 5860533101 ada2 GPT (2.7T)
34 94 - free - (47K)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338696 2 freebsd-zfs (2.7T)
5860533128 7 - free - (3.5K)

=> 34 5860533101 ada3 GPT (2.7T)
34 94 - free - (47K)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338696 2 freebsd-zfs (2.7T)
5860533128 7 - free - (3.5K)

5) //disks are not on current system
[root@freenas ~]# zpool status
pool: freenas-boot
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
ada0p2 ONLINE 0 0 0

errors: No known data errors
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,466
The lack of the L2ARC device shouldn't keep you from importing the pool, but where is it? And are you sure there are no other disks in the pool?
 

utbigmac41

Cadet
Joined
Jun 7, 2017
Messages
2
Yes I am positive that it is just the 3 x 3TB drives. Well in the original setup I was caching on an SSD but one of the issues I was having with the upgrade is it just would not take with a usb as the OS drive so i decided to use the SSD instead. Totaly forgot I was caching on it ( I was really flustered since it was taking me so long to figure out). So that makes sense that the cache is gone because part of it probably got erased during the install. But like you said not having the cache shouldnt be the end of the world... right.
 
Top