Rename a zfs pool

11:51 am Solaris ZFS

I recently had the requirement to rename a zfs pool. The normally useful documentation was in this case not very useful Never mind, simple answer. To rename a zfs pool from poola to poolb:

anouk:/ # zpool export poola

anouk:/ # zpool import poola poolb

And you’re done. There really isn’t a simpler or better file system than zfs.

One Response

  1. HalcyonBlue Says:

    Thank you! ZFS really is amazing, and this was the one feature that after searching through the docs - seemed to be missing. With recursive ZFS send and snapshot capabilities, and ZFS boot/root in OpenSolaris 2005.08, ZFS is second class to none.

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.