{"id":1400,"date":"2022-05-11T06:45:20","date_gmt":"2022-05-11T06:45:20","guid":{"rendered":"\/blog\/?p=1400"},"modified":"2022-05-11T06:45:20","modified_gmt":"2022-05-11T06:45:20","slug":"add-zfs-dataset-to-solaris-11-zone","status":"publish","type":"post","link":"\/blog\/index.php\/add-zfs-dataset-to-solaris-11-zone\/","title":{"rendered":"Add zfs dataset to Solaris 11 zone"},"content":{"rendered":"\n<p>Set mountpoint to legacy<\/p>\n\n\n\n<p># zfs set mountpoint=legacy z2data\/data<br># zonecfg -z zone2<\/p>\n\n\n\n<p>zonecfg:zone2> add fs<br>zonecfg:zone2:fs> set type=zfs<br>zonecfg:zone2:fs> set special=z2data\/data<br>zonecfg:zone2:fs> set dir=\/data<br>zonecfg:zone2:fs> end<br>zonecfg:zone2> verify<br>zonecfg:zone2> commit<br>zonecfg:zone2> exit<\/p>\n\n\n\n<p># zoneadm -z zone2 reboot<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Set mountpoint to legacy # zfs set mountpoint=legacy z2data\/data# zonecfg -z zone2 zonecfg:zone2> add fszonecfg:zone2:fs> set type=zfszonecfg:zone2:fs> set special=z2data\/datazonecfg:zone2:fs> set dir=\/datazonecfg:zone2:fs> endzonecfg:zone2> verifyzonecfg:zone2> commitzonecfg:zone2> exit # zoneadm -z zone2 reboot<\/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":[],"class_list":["post-1400","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1400"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1400\/revisions"}],"predecessor-version":[{"id":1401,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1400\/revisions\/1401"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1400"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}