{"id":957,"date":"2013-01-15T17:41:54","date_gmt":"2013-01-15T13:41:54","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=957"},"modified":"2013-01-15T17:41:54","modified_gmt":"2013-01-15T13:41:54","slug":"remame-move-zones","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=957","title":{"rendered":"\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0437\u043e\u043d \u0432 Solaris"},"content":{"rendered":"<p><code># zoneadm list -vc<br \/>\nID NAME STATUS PATH BRAND IP<br \/>\n0 global running \/ native shared<br \/>\n13 ZONE-01 running \/zones\/ZONE-01 native shared<br \/>\n# zfs list<br \/>\nNAME USED AVAIL REFER MOUNTPOINT<br \/>\nrpool\/zones\/ZONE-01 14.3G 219G 14.3G \/zones\/ZONE-01<br \/>\n<\/code><\/p>\n<p><code># zoneadm -z ZONE-01 halt<br \/>\n# zonecfg -z ZONE-01<br \/>\nzonecfg:ZONE-01&gt; set zonename=ZONE-02<br \/>\nzonecfg:ZONE-02&gt; commit<br \/>\nzonecfg:ZONE-02&gt; exit<br \/>\n# zoneadm -z ZONE-02 move \/zones\/ZONE-02<br \/>\n# zfs rename rpool\/zones\/ZONE-01 rpool\/zones\/ZONE-02<br \/>\n# zoneadm -z ZONE-02 boot<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p># zoneadm list -vc ID NAME STATUS PATH BRAND IP 0 global running \/ native shared 13 ZONE-01 running \/zones\/ZONE-01 native shared # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool\/zones\/ZONE-01 14.3G 219G 14.3G \/zones\/ZONE-01 # zoneadm -z ZONE-01 halt # zonecfg -z ZONE-01 zonecfg:ZONE-01&gt; set zonename=ZONE-02 zonecfg:ZONE-02&gt; commit zonecfg:ZONE-02&gt; exit # zoneadm -z ZONE-02 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,899],"tags":[986,985,987,988,984],"class_list":["post-957","post","type-post","status-publish","format-standard","hentry","category-solaris","category-unix-solaris-zfs","tag-move","tag-noglobal-zones","tag-rename","tag-zoneadm","tag-zones"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=957"}],"version-history":[{"count":3,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/957\/revisions"}],"predecessor-version":[{"id":960,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/957\/revisions\/960"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}