{"id":143,"date":"2008-09-05T22:44:48","date_gmt":"2008-09-06T05:44:48","guid":{"rendered":"http:\/\/www.sysop.ca\/?p=143"},"modified":"2018-10-01T06:30:25","modified_gmt":"2018-10-01T13:30:25","slug":"solaris-8-containers-with-nested-filesystems","status":"publish","type":"post","link":"http:\/\/www.sysop.ca\/?p=143","title":{"rendered":"Solaris 8 containers with nested filesystems"},"content":{"rendered":"<p>I am working with solaris 8 containers on solaris 10 at work. Today I was working with a container that had some zfs partitions mounted in it and wanted to move it to another machine. When I tried to detach the container I received the following error message.<\/p>\n<blockquote><p>T2000# zoneadm -z myzone detach<br \/>\nzoneadm: zone &#8216;myzone&#8217;: These file-systems are mounted on subdirectories of \/zone_roots\/myzone.<\/p>\n<p>zoneadm: zone &#8216;myzone&#8217;:   \/zone_roots\/myzone\/vol0<\/p>\n<p>zoneadm: zone &#8216;myzone&#8217;:   \/zone_roots\/myzone\/data<\/p>\n<p>T2000# umount \/zone_roots\/myzone\/vol0\/<br \/>\nT2000# umount \/zone_roots\/myzone\/data<br \/>\nT2000# zoneadm -z myzone detach<br \/>\nT2000#\n<\/p><\/blockquote>\n<p>I googled to see if there was an obvious answer but found none. It turns out I simply had to unmount the two filesystems before detaching the container. Simple fix but it caused me some serious head scratching for a few minutes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am working with solaris 8 containers on solaris 10 at work. Today I was working with a container that had some zfs partitions mounted in it and wanted to move it to another machine. When I tried to detach the container I received the following error message. T2000# zoneadm -z myzone detach zoneadm: zone &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.sysop.ca\/?p=143\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Solaris 8 containers with nested filesystems&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1,7],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-general","category-unix"],"_links":{"self":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":6,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":426,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions\/426"}],"wp:attachment":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}