ZFS migration - New pool lost after reboot
Matthias Fechner
idefix at fechner.net
Fri Apr 29 08:25:38 UTC 2016
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
More information about the freebsd-questions
mailing list