How do I mount another system's zfs root partition on new system?
Magnus Ahriman
magnus.ahriman at gmail.com
Sat Aug 27 14:04:25 UTC 2016
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 at 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
>
More information about the freebsd-questions
mailing list