Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2016 08:17:06 -0700
From:      Rares Vernica <rvernica@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Root on ZFS, FreeBSD and Linux back and forth
Message-ID:  <CALQ9KxCG4s8rP=2SUbHs=eJWn0-BQRzgx%2BGta5Spdh4Esyt4gA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I have two hard drives. One has root-on-ZFS created by FreeBSD (on
installation) and one with Linux. I wonder if it is safe and reliable to
use the root-on-ZFS disk back and forth between FreeBSD and Linux. On Linux
I plan to use ZFS-on-Linux. Both FreeBSD and ZFS-on-Linux seem to use
version 5000.

To import the zpool in Linux, it seems it needs to be forced. FreeBSD does
not export it on shutdown and I am not sure how or if I should do it.

How would FreeBSD deal with the zpool if it notices that Linux imported it?
Will FreeBSD force the import on boot? Do I have to take special
precautions for FreeBSD to import the ZFS disk and boot from it once Linux
has touched it?

Also, is ZFS-on-Linux trustworthy enough not to mess up the disk?

Thanks!
Rares



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALQ9KxCG4s8rP=2SUbHs=eJWn0-BQRzgx%2BGta5Spdh4Esyt4gA>