From owner-freebsd-questions@freebsd.org Sat Aug 27 14:04:24 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 EA4E0B76734 for ; Sat, 27 Aug 2016 14:04:24 +0000 (UTC) (envelope-from magnus.ahriman@gmail.com) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 6EEFCF0 for ; Sat, 27 Aug 2016 14:04:24 +0000 (UTC) (envelope-from magnus.ahriman@gmail.com) Received: by mail-lf0-x22c.google.com with SMTP id f93so74185734lfi.2 for ; Sat, 27 Aug 2016 07:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eKnQq09+3V2c64CsjZwcMLpxq7jpn1P1PWC64HF84RM=; b=wnZ6eCbm2C5TixjsWIGl/LrGLA/94XPx4iqmrx/Cq0nLJQicjlTy3l11yRV+q53TWO hga/OkP1N1Qt5tsi7xQZPVX61Zyr8ZRccLC3O6Ii598iO3qPeEf4GMZZLAr24Kjeynxd tBnPErNbHN0DT4Aa0wgIouX7bG7if5LcXgTShc382+dDECMwmxya1i8CT8WV0dr+PNYu xjkMX3n8F0rqHoxbzpFm/DuQoUMfx5myNSJX/GTqPURQZrPcr2ik1gw/8kBYmSk27bgL qq3erUPr4HCtD+ii8WNAVT8wkqiw387iBvEtaJim6hoIniiN4BL7x1nYIos2bqOXkzwl 68TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eKnQq09+3V2c64CsjZwcMLpxq7jpn1P1PWC64HF84RM=; b=Qxl+9T///hxwxSAHQ3z5QWMFUpE35cEgkXHf6YuK1nXfLEHRUPF+go2v9jKT2HUywX rzPeNJ61n4l/OIpvHjKPRZfwbhoyRdN6WgtV69S+UdZiD3ai6pR9kRlvVhmqcDmVXnA0 OLWV95zLHpBDGONINyNY5xdirIVgCQKsBqaeb5DRpw4CV8ZsbG66UkZo+40dMP/W2ifA 8VZUbskpm2aj8RpesevQQSbwq8iLGKB3iLbxsAF/rCVh1nJbIWdWC8NlOKU2e240I3e9 BC37+hmGyuHE3Aqpkg76Ciiuiq/PjoCCvM5tsW4MqFOHkAKJsIUnTohctfsdMeqXgA9B pBlg== X-Gm-Message-State: AE9vXwOvZ3OwhHhm+kKsavthZYfe48TEYELVRguadatPI/AWJui8A0SPDqAZTn84RrI7QvVIpMDy2HwRqEtrYg== X-Received: by 10.46.9.145 with SMTP id 139mr2978751ljj.2.1472306662178; Sat, 27 Aug 2016 07:04:22 -0700 (PDT) MIME-Version: 1.0 References: <3cf460d4-9ebc-c473-a369-5b30f498176d@ohlste.in> In-Reply-To: <3cf460d4-9ebc-c473-a369-5b30f498176d@ohlste.in> From: Magnus Ahriman Date: Sat, 27 Aug 2016 14:04:11 +0000 Message-ID: Subject: Re: How do I mount another system's zfs root partition on new system? 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: Sat, 27 Aug 2016 14:04:25 -0000 Thanks! I managed to RTFM and google the question, but the disk seems broken as it only shows bootpool as available for import. On Sat, Aug 27, 2016 at 3:44 PM Jim Ohlstein wrote: > Hello, > > On 08/27/2016 06:50 AM, Magnus Ahriman wrote: > > Hi all, > > > > I've recently installed a new system due to disk- and other problems. > Now I > > want to mount the old system's zfs root on my new system (under a > different > > path/not as actual root). > > > > What are the actual steps/commands to mount the old zfsroot under a > > mountpoint in my new system? > > # zpool import -o altroot=/mnt oldzpool > > > The root partition was encrypted, will I be asked to enter password upon > > mounting it? > > I would think so. > > -- > Jim Ohlstein >