{"id":240,"date":"2026-09-17T22:32:44","date_gmt":"2026-09-17T20:32:44","guid":{"rendered":"https:\/\/www.codenicer.com\/?p=240"},"modified":"2026-09-17T22:32:44","modified_gmt":"2026-09-17T20:32:44","slug":"temporary-mounting-zpool-from-different-os","status":"publish","type":"post","link":"https:\/\/www.codenicer.com\/?p=240","title":{"rendered":"Temporary mounting zpool from different OS"},"content":{"rendered":"\n<p>In case you have different zfs instances, and you need to read one from another, but without altering its metadata. It can be done like this (assuming that other zpool is named &#8220;zroot&#8221;):<\/p>\n\n\n\n<p><code># make sure that \/zroot exists, following command will mount<br># all but \/ROOT\/default<br>zpool import -o readonly=on -f -R \/zroot zroot<br># zroot\/ROOT\/default might need special request<br>zfs mount zroot\/ROOT\/default<br># at this point everything within zroot zpool is mounted<br># under \/zroot hierarchy, and it can be read<br># ...<br># once done with it export it (this will umount all of it)<br># if it complains about being busy, just repeat the command<br>zpool export zroot<\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In case you have different zfs instances, and you need to read one from another, but without altering its metadata. It can be done like this (assuming that other zpool is named &#8220;zroot&#8221;): # make sure that \/zroot exists, following command will mount# all but \/ROOT\/defaultzpool import -o readonly=on -f -R \/zroot zroot# zroot\/ROOT\/default might [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,25,56,126,152],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-freebsd","tag-linux","tag-mount","tag-zfs","tag-zpool"],"_links":{"self":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=240"}],"version-history":[{"count":1,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":241,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions\/241"}],"wp:attachment":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}