Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 10:25:24 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        Sebastian Wolfgarten <sebastian@wolfgarten.com>, freebsd-questions@freebsd.org
Subject:   Re: ZFS migration - New pool lost after reboot
Message-ID:  <72087b33-53f9-e298-1441-4988c2a5ecb3@fechner.net>
In-Reply-To: <0A383C91-FCBA-4B9E-A95A-157A13708125@wolfgarten.com>
References:  <0A383C91-FCBA-4B9E-A95A-157A13708125@wolfgarten.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 28.04.2016 um 23:14 schrieb Sebastian Wolfgarten:
> 5) Mount new pool and prepare for reboot
>
> cp /tmp/zpool.cache /tmp/newpool.cache
> zpool export newpool
> zpool import -c /tmp/newpool.cache -R /mnt newpool
> cp /tmp/newpool.cache /mnt/boot/zfs/zpool.cache
> zfs set mountpoint=/ newpool/ROOT
> reboot

I think you forgot to adapt vfs.zfs.mountfrom= in /boot/loader.conf on 
the new pool?



Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72087b33-53f9-e298-1441-4988c2a5ecb3>