Migrating ZFS on Linux pools to FreeBSD

Matthew Seaman matthew at FreeBSD.org
Thu Feb 4 08:31:03 UTC 2016


On 04/02/2016 00:01, Ruben Schade wrote:
> I'm migrating a home HP Gen8 Microserver from Debian Jessie to FreeBSD
> 10.2. I have two mirrored ZFS pools created with the ZFS on Linux port,
> and want to access them on FreeBSD.
> 
> I understand FreeBSD's ZFS implementation is more mature and pre-dates
> the Linux port, and some web searches indicate the two may not be
> entirely compatible. Most recommendations seem to be not to run Linux
> and FreeBSD off the same pools, for example:
> 
> https://forums.freebsd.org/threads/installing-freebsd-in-an-existing-zfs-pool.54831/
> 
> 
> Does the same hold true for just data stores, and ones that are being
> migrated over without being accessed by Linux again? Are there any
> practical limitations to just using a ZFS pool created on Linux?
> 
> If there’s reasonable doubt of issues I'll just rebuilt the pools under
> FreeBSD, but would be great if I didn't need to do that. It'd be cool if
> it’s just a # zpool upgrade away hah :)

So long as the ZFS pool only has feature flags enabled that are
supported on both systems, then you should be able to mount your
linux-created pool on FreeBSD.  A good way to test that is to boot a
live FreeBSD image from the install media.  See if you can import the
pool and then access the contents.

	Cheers,

	Matthew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 957 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160204/42cf13c1/attachment.sig>


More information about the freebsd-questions mailing list