{"id":232,"date":"2018-05-03T23:25:41","date_gmt":"2018-05-04T04:25:41","guid":{"rendered":"https:\/\/servertricks.com\/?p=232"},"modified":"2018-05-03T23:26:08","modified_gmt":"2018-05-04T04:26:08","slug":"convert-zfs-disk-pool-to-use-id","status":"publish","type":"post","link":"https:\/\/servertricks.com\/index.php\/2018\/05\/03\/convert-zfs-disk-pool-to-use-id\/","title":{"rendered":"Convert ZFS disk pool to use id"},"content":{"rendered":"<p>So you created the ZPOOL using the easy way and now your ZPOOL contains devices like &#8220;\/dev\/sdd\/blah blah&#8221;<\/p>\n<p>Well it is super easy to fix. <\/p>\n<p>First export the ZPOOL:<br \/>\n<code>zpool export NAMEOFZPOOL<\/code><\/p>\n<p>Then import the ZPOOL by disk id:<br \/>\n<code>zpool import -d \/dev\/disk\/by-id NAMEOFZPOOL<\/code><\/p>\n<p>Finally check the status of the ZPOOL and verify it was imported and listing the devices correctly<br \/>\n<code>zpool status<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you created the ZPOOL using the easy way and now your ZPOOL contains devices like &#8220;\/dev\/sdd\/blah blah&#8221; Well it is super easy to fix. First export the ZPOOL: zpool export NAMEOFZPOOL Then import the ZPOOL by disk id: zpool import -d \/dev\/disk\/by-id NAMEOFZPOOL Finally check the status of the ZPOOL and verify it was [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[11,10],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-14-04","tag-16-04"],"_links":{"self":[{"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":2,"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":251,"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/posts\/232\/revisions\/251"}],"wp:attachment":[{"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/servertricks.com\/index.php\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}