Date: Sat, 27 Aug 2016 14:04:11 +0000 From: Magnus Ahriman <magnus.ahriman@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: How do I mount another system's zfs root partition on new system? Message-ID: <CAM4nNt-VevT2d7cyq05kEqDaAFq8BBuJBR%2BP6%2Bgn-gQu=FYBXg@mail.gmail.com> In-Reply-To: <3cf460d4-9ebc-c473-a369-5b30f498176d@ohlste.in> References: <CAM4nNt8Aivpauh5ZtChBYLAo1R_2aMiQrOJq6o82-sPpCXS-2g@mail.gmail.com> <3cf460d4-9ebc-c473-a369-5b30f498176d@ohlste.in>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jim@ohlste.in> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM4nNt-VevT2d7cyq05kEqDaAFq8BBuJBR%2BP6%2Bgn-gQu=FYBXg>