From owner-freebsd-fs@freebsd.org Wed Feb 15 14:39:35 2017 Return-Path: Delivered-To: freebsd-fs@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 20FBFCDF2F8 for ; Wed, 15 Feb 2017 14:39:35 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 C986A1A44 for ; Wed, 15 Feb 2017 14:39:34 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: by mail-yw0-x22b.google.com with SMTP id v200so82603108ywc.3 for ; Wed, 15 Feb 2017 06:39:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9m+VGJvQmpeAS0TsZkGtUntohx4GV+16j1SjWXgNs0c=; b=TQCfFDwRSB8zYamIQsnNXcPQ+CqCbS2MSzaZTRjn91lhxf1n0Q1Ad+WiCWTItWrFJK 9aZOPe4Rf0pKhqUYydwzSIR/ZNbRNKFZ2g19uzG6rMypS/Q80IKCRQr+E0cSnbMd0vhK trf6rsmWrN+BQtJR+GR4n48pVk7uX/zkdPHWG5Qu37E4qdqxH4pH3XlxQPqVMFhBG7Bx e2/34RqfAWv7aOSsp1KvsjFHKDFq8PTCK7f6enRSx+0tBbHAv9SWYOHPIHgOluqKzMOX b2nhp141F6/NxXZ2x7bn0ePa6K3OT6pGOWGZqoSLs5BmzZSHGofE4U0eaplyAoZQo1to 9tiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9m+VGJvQmpeAS0TsZkGtUntohx4GV+16j1SjWXgNs0c=; b=WlHcCyBoI/bgnZKDOWjDnZsF5pmCiRKNp1e/j2JBsZWE+/bqNhlqd8Yetbr1gECsuu dyvNLNLWO4/hog/1ex+sFpj5GCAWw94HC0Df9aRc2r1v8CsoUTMU10BA66us7WCAyBDa IPmz6qPPQ7eLCAQ5ho/BPVtzxVekfD3RXhFXxe5Yns3NHtiot1EZCqYd0XNiFOpOljYT /922165HiYfzx+3oAIrBWqRBfs0Jb2L5FDkz0Rg5P3+WerZOewJspI4n/wbu1J5sSGPR WPuC7sEH3mDWSIjWPde15lOQDG4PYIwshQiyWXx5KeAFuhZAjqF4hcrph/JAIx6dN20t ZG/Q== X-Gm-Message-State: AMke39lrJTeX1tYB+kyHI4Tw356Ofi8kzO5/vvExB+t54WIkVwnE8B/d4PED0iqDts384Nd0o6+4+3BNwFT8sg== X-Received: by 10.13.238.1 with SMTP id x1mr24827264ywe.342.1487169573695; Wed, 15 Feb 2017 06:39:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.251.71 with HTTP; Wed, 15 Feb 2017 06:39:33 -0800 (PST) From: Peter Pauly Date: Wed, 15 Feb 2017 09:39:33 -0500 Message-ID: Subject: Moving a bootable ZFS USB between systems To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 14:39:35 -0000 I installed FreeBSD 11 with an encrypted GELI root and ZFS (zroot) on a USB stick. My intention was to boot off of it on several systems. It works fine on the original system but not on a second system. I get this message: Mounting from zfs:zroot/ROOT/default failed with error 5. The USB stick is da0. The geli part looks like it works, but the zfs mount fails. Should I be able to move the stick between systems or do I need to do a zpool export zroot first? If so, where is the best place to put this (rc.shutdown?) I asked this question on freebsd-questions and didn't get a response. Thanks for your help.