Jay Taylor's notes

back to listing index

Duplicate ZFS pool over ssh FreeBSD

[web search]
Original source (mebsd.com)
Tags: tutorial zfs mebsd.com
Clipped on: 2017-11-04

Me, BSD

♤.ws

-

emoji url

Image (Asset 1/12) alt= Import and Export to make sure all changes are written to the disk and the copy the cache to the new pool.

# zpool export data

Again if you are using zpool v28 then add the cache file path

# zpool import -o altroot=/mnt -o cachefile=/boot/zfs/zpool.cache data

Other wise

# zpool import -o altroot=/mnt data

Then:

# cp /boot/zfs/zpool.cache /mnt/boot/zfs/

Now you can reboot :)

Tags:

You may also like...

Log in with
or sign up with Disqus
?

Disqus is a discussion network

  • Disqus never moderates or censors. The rules on this community are its own.
  • Don't be a jerk or do anything illegal. Everything is easier that way.

Read full terms and conditions

Be the first to comment.

    IPv6 Hit Statistics

    Still using IPv4?
    73.231.253.6
    • This server has received 29,216,212 hits
      IPv495.72%
      IPv64.28%

    mebsd.com's Recent Tweets

    Recent Posts

    Recent Comments

    Archives

    Categories

    Image (Asset 4/12) alt=