ZFS Pool from FreeNAS to Proxmox 4.x

icewaere

New Member
May 21, 2015
5
0
1
Hi,

after a few months i created a Zfs Pool on FreeNas 9.3stable.

now i want migrate / insert to Proxmox 4.x

On FreeNAS i have done "zpool export" so all fine finish.

Now on Proxmox if i do "fdisk -l" i see all the 6x2tb hdd´s as /dev/sda sdb....
and with fdisk /dev/sda "p" i see sda1p1 swap and sda1p2 zfs

I have tryed "zpool import" and "zpool import -D" but i get always: no pools available to import

So plz i hope that anyone can hlp me to import my Pool.

regards ice
 
Last edited:
Ah, i see, you already created a thread here ;) Didn't tried it yet, but i'll can do next week. Probably you can create a KVM inside Proxmox, passthrough the drives directly to the KVM, install latest FreeNAS and check if you can import the pool there (and then probably upgrade the pool).
 
Hi,

ok i have checked and install newest FreeNAS 9.10stable as KVM.
After install finish and FreeNAS Wizard starts Pool was detected and ready for use.

i have done "zpool upgrade -v" and "zpool upgrade -a". And ZFS v28 is shown.

next i do "zpool export name" and checked again on Proxmox to import but
again pool not available ;/

regards ice
 
thx but dont works too ;/

tested:
zpool import -d /dev/sda mypool
zpool import -d /dev/sda1 mypool
zpool import -d /dev/sda1p1 mypool
zpool import -d /dev/sda1p2 mypool
 
The -d parameter expects a directory argument, not a block device. But I think the problem is that you have a weird partition structure. It looks as if your /dev/sdX devices have a /dev/sdX1 partition which are further partitioned but the Linux ZFS framework expects the ZFS vdevs to be on the first partition level (eg. the pool would consist of /dev/sda[123456]). Unless you're able to somehow fix your partition scheme, I don't really know what you could do with this...