From owner-freebsd-questions@freebsd.org Tue Aug 2 15:17:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EFAEBAC558 for ; Tue, 2 Aug 2016 15:17:08 +0000 (UTC) (envelope-from rvernica@gmail.com) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C67817A5 for ; Tue, 2 Aug 2016 15:17:08 +0000 (UTC) (envelope-from rvernica@gmail.com) Received: by mail-qk0-x22e.google.com with SMTP id p74so177476484qka.0 for ; Tue, 02 Aug 2016 08:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=hJbNGJWf9/vGj5/jTf3VIGSu7Z62921vZ5sksKQx/Qs=; b=fapl2fA1lnW76KS51Fmr6MOzMsYI8j7DCoQX0BKLUh2yDsK0hMm0mW8SkdGhcyErlJ pBwzxv0pHaIpyxf6uoD7PT0EPFrRJ1WXmk+Z0cYn21sCUyUOVSxfXE+d06Wo1FloO8g8 mzUGVHcpxtjEDVbI1NkN1h6iirVm7bvNKTrlJnwiwsZmfADG3s8ka7IUSuD/GF29YY4G Kr9M+9heZo2bWJRfV2ZSvSWMAjMg/yItuMP7J4NUd+HDznAziKV2tNGJfJAJRnpP24Li ATvg1k0dk4jMx9GVLzpjbX6RzxQpdnEcPLI0GNGjOAY+PXoDlwMSDzjx3iJ8lyKj90gV kQiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hJbNGJWf9/vGj5/jTf3VIGSu7Z62921vZ5sksKQx/Qs=; b=Wv+WYWhpQh8CyupCCC97efA4dJ0DKJLkGV2aQshjnNJ+//3QBG8Mf8dFHIlMUI769V ZQwENDzWw1rb72a27xTV1XuXxO76282urzWhAgLrIWjoZ9FlwnI9td5uO9JLzHBu8Zvd lAjyN4wLRxHX2sBfuZ1UkuUxGOdeYQZRqLxaNMbvrQuHDKFxxciZ1ePrTntwVljMKnkL K7s6QF/BBScQ6qLSeapAN2CvxgoFRM74ziEgQl04JRlK/lrbfKGRgrK80cN4Ii0XQecv WDXyri8a4h5Uo3NIXdXgBTNBkEMrSp/pKeMoaizdxetBJ3p5b2aVoOz2daa0Ij+BtJT0 SIiw== X-Gm-Message-State: AEkooutAaaQttvi1zqLvusi9GPxuBNAGeR+19avTBvZjXAA3f2fQKUHD7OXQuJgs/PKANxs6MU+MX48J4jvA6Q== X-Received: by 10.55.107.130 with SMTP id g124mr73028440qkc.121.1470151026948; Tue, 02 Aug 2016 08:17:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.44.68 with HTTP; Tue, 2 Aug 2016 08:17:06 -0700 (PDT) From: Rares Vernica Date: Tue, 2 Aug 2016 08:17:06 -0700 Message-ID: Subject: Root on ZFS, FreeBSD and Linux back and forth To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 15:17:08 -0000 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