Register for the iXsystems Community to get an ad-free experience
Resource icon

How To Rename a ZFS Pool

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

Stux

MVP
Joined
Jun 2, 2016
Messages
4,248
Stux submitted a new resource:

How To Rename a ZFS Pool - zpool import original_name new_name

The basic process to rename a ZFS pool is to export it from the GUI, import it in the CLI with the new name, then export it again, and re-import it in the GUI.

I find I normally want to do this after creating a new pool (with perhaps a different set of disks/layout), replicating my old pool to the new pool, and then I want to rename the new pool to the same as the old pool, and then all the shares work correctly, and its fairly transparent. Mostly.

So, firstly, you need to export your pool...

Read more about this resource...
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,248
New resource. Its a simple thing.

Admins, its currently in Advanced category, but its not really advanced, its just a bit obtuse, if you think appropriate, could you move to Fundamentals?
 
Top