{"id":694,"date":"2022-01-05T18:04:14","date_gmt":"2022-01-05T16:04:14","guid":{"rendered":"https:\/\/exchangetimes.net\/?p=694"},"modified":"2022-01-05T18:07:03","modified_gmt":"2022-01-05T16:07:03","slug":"how-to-change-a-pool-name-in-truenas","status":"publish","type":"post","link":"http:\/\/exchangetimes.net\/?p=694","title":{"rendered":"How to change a pool name in TrueNas"},"content":{"rendered":"\n<p>Today I installed and started setting up <a href=\"https:\/\/www.truenas.com\" target=\"_blank\" rel=\"noopener\">TrueNas<\/a> as a backup for my home server. As per usual, being eager to get things done and to start playing I found that I&#8217;d like to change the pool names of my pools after I have set them up.<\/p>\n<p>Thanks to danb35 on the <a href=\"https:\/\/www.truenas.com\/community\/\" target=\"_blank\" rel=\"noopener\">TrueNas forums<\/a> for providing the short and sweet answer on how to change the pool name in <a href=\"https:\/\/www.truenas.com\/community\/threads\/changing-pool-name.82673\/\" target=\"_blank\" rel=\"noopener\">this post<\/a> on the forums.<\/p>\n<p>I successfully change the pool names and below are a step by step on how I did it using the above posts instructions:<\/p>\n<ul>\n<li>Login to your TrueNas<\/li>\n<li>Click on <em><strong>Storage<\/strong><\/em><\/li>\n<li>Click on <em><strong>Pools<\/strong><\/em><\/li>\n<li>Click on the gear icon on the right of the pool you want to rename<\/li>\n<li>Click on <em><strong>Export\/Disconnect<\/strong><\/em><\/li>\n<\/ul>\n<p><a href=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-05-17-21-00.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-695 alignleft\" src=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-05-17-21-00-260x300.png\" alt=\"Warning of export pool in TrueNas\" width=\"260\" height=\"300\" srcset=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-05-17-21-00-260x300.png 260w, http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-05-17-21-00.png 530w\" sizes=\"auto, (max-width: 260px) 100vw, 260px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>click on <strong>EXPORT\/DISCONNECT<\/strong> to disconnect the pool<br \/><br \/><\/li>\n<\/ul>\n<p>On the left menu, browse to the bottom of the page and click on <em><strong>shell<\/strong><\/em><\/p>\n<p>Type the below commands:<\/p>\n<p><code>zpool import the_old_pool_name the_new_pool_name<\/code><\/p>\n<p><code>zpool export the_new_pool_name<\/code><\/p>\n<p><a href=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/renamePool.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-696\" src=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/renamePool-300x101.png\" alt=\"cli screenshot of renaming the pool\" width=\"300\" height=\"101\" srcset=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/renamePool-300x101.png 300w, http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/renamePool.png 519w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><br \/><br \/>Import the new pool \/ pool who&#8217;s name you changed:<\/p>\n<ul>\n<li>on the left menu, scroll up till you see <em><strong>Pools<\/strong><\/em><\/li>\n<li>click on <em><strong>Pools<\/strong><\/em><\/li>\n<li>click on <em><strong>ADD<\/strong><\/em><\/li>\n<li>choose <em><strong>Import an existing pool<br \/><a href=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/importExistingPool.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-697\" src=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/importExistingPool-300x256.png\" alt=\"picture of the import pool dialog\" width=\"300\" height=\"256\" srcset=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/importExistingPool-300x256.png 300w, http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/importExistingPool.png 348w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/strong><\/em><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>click <em><strong>NEXT<\/strong><\/em><\/li>\n<li>choose <em><strong>No, continue with import<br \/><a href=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/noEncryption.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-698\" src=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/noEncryption-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/noEncryption-300x175.png 300w, http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/noEncryption.png 507w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/strong><\/em><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>click <em><strong>NEXT<\/strong><\/em><\/li>\n<li>click next to <em><strong>Pool<\/strong><\/em> and select the pool you want to import<br \/><a href=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/choosePool.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-700\" src=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/choosePool-300x189.png\" alt=\"\" width=\"300\" height=\"189\" srcset=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/choosePool-300x189.png 300w, http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/choosePool.png 434w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/><br \/><br \/><br \/><br \/><br \/><br \/><br \/><br \/><a href=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/selectedPoolNext.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-699\" src=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/selectedPoolNext-300x168.png\" alt=\"\" width=\"300\" height=\"168\" srcset=\"http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/selectedPoolNext-300x168.png 300w, http:\/\/exchangetimes.net\/wp-content\/uploads\/2022\/01\/selectedPoolNext.png 431w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>click <em><strong>NEXT<\/strong><\/em><\/li>\n<li>click on <em><strong>IMPORT<\/strong><\/em><\/li>\n<\/ul>\n<p>You will now see your pool in the GUI with the new name<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I installed and started setting up TrueNas as a backup for my home server. As per usual, being eager to get things done and to start playing I found that I&#8217;d like to change the pool names of my pools after I have set them up. Thanks to danb35 on the TrueNas forums for providing the short and sweet answer on how to change the pool name in this post on the forums. I successfully change the pool names and below are a step by step on how I did it using the above posts instructions: Login to your TrueNas Click on Storage Click on Pools Click on the gear icon on the right of the pool you want to rename Click on Export\/Disconnect \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 click on EXPORT\/DISCONNECT to disconnect the pool On the left menu, browse to the bottom of the page and click on shell Type the below commands: zpool import the_old_pool_name the_new_pool_name zpool export the_new_pool_name \u00a0 \u00a0 Import the new pool \/ pool who&#8217;s name you changed: on the left menu, scroll up till you see Pools click on Pools click on ADD choose Import an existing pool \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 click NEXT choose No, continue with import \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 click NEXT click next to Pool and select the pool you want to import \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 click NEXT click on IMPORT You will now see your pool in the GUI with the new name \u00a0 \u00a0 \u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[587],"tags":[590,588,591,589],"class_list":["post-694","post","type-post","status-publish","format-standard","hentry","category-truenas","tag-change-pool-name-in-truenas","tag-how-to-change-a-pool-name-in-truenas","tag-rename-pool-in-truenas","tag-truenas"],"_links":{"self":[{"href":"http:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=694"}],"version-history":[{"count":8,"href":"http:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions"}],"predecessor-version":[{"id":709,"href":"http:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions\/709"}],"wp:attachment":[{"href":"http:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}