{"id":2152,"date":"2011-12-29T10:04:11","date_gmt":"2011-12-29T08:04:11","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2152"},"modified":"2025-11-26T09:54:29","modified_gmt":"2025-11-26T07:54:29","slug":"boot-environment","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2152","title":{"rendered":"Boot Environment"},"content":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u0442\u043e <strong>Boot Envirement (BE)<\/strong> &#8211; \u044d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0440\u0435\u0434\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u041e\u0421. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f \u041e\u0421, \u043d\u043e \u0443\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u041f\u041e, \u0441\u0432\u043e\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0442.\u0434.<\/p>\n<p>\u041f\u0440\u043e <strong>FreeBSD<\/strong> \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443.<\/p>\n<p><em><strong><span style=\"color: #008000;\">\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043d\u0434<\/span><\/strong><\/em>: <strong>Solaris 11<\/strong><\/p>\n<p><!--more--><strong><span style=\"color: #ff0000;\">1) \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435.<\/span><\/strong><\/p>\n<p>\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0442\u0430\u043a:<\/p>\n<blockquote><p><span style=\"color: #ff6600;\">A\u00a0<strong>boot environment<\/strong>\u00a0is a bootable Oracle Solaris environment consisting of a root dataset and, optionally, other datasets mounted underneath it. Exactly one boot environment can be active at a time.<\/span><\/p><\/blockquote>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0442\u0430\u043a\u043e\u0435: <strong>BE<\/strong> &#8211; \u042d\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u0430\u044f \u0441\u0440\u0435\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u0440\u0435\u043d\u0435\u0432\u043e\u0439 <strong>dataset<\/strong> \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0434\u0440\u0443\u0433\u0438\u0435 <strong>dataset&#8217;\u044b<\/strong> \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0435\u0441\u044f \u043d\u0438\u0436\u0435 \u0435\u0433\u043e.<\/p>\n<p>\u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 <strong>BE<\/strong> \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u0430\u043b\u043e \u043c\u0435\u0441\u0442\u0430. \u041f\u043e \u043c\u0435\u0440\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432 \u043d\u0435\u0433\u043e \u0432\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u0445. <strong>BE<\/strong> &#8211; \u043f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u043a\u043b\u043e\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0414\u0430\u043b\u0435\u0435 \u044d\u0442\u0438 2 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0436\u0438\u0432\u0443\u0442 \u0441\u0432\u043e\u0438\u043c\u0438 \u0436\u0438\u0437\u043d\u044f\u043c\u0438. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0441\u043e <strong>snapshot&#8217;\u0430\u043c\u0438<\/strong> \u0432 <strong>VMware<\/strong>.<\/p>\n<p>\u0414\u043b\u044f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043b\u0443\u0436\u0438\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <strong>beadm<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f: \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435, \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p><strong><em><span style=\"color: #ff6600;\">\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f:<\/span><\/em><\/strong><\/p>\n<ul>\n<li><span style=\"color: #808000;\">\u0423\u0442\u0438\u043b\u0438\u0442\u0430 beadm \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 zfs<\/span><\/li>\n<li><span style=\"color: #808000;\">beadm \u043c\u043e\u0436\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043d\u0438\u043c\u043a\u0430\u043c\u0438, \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0447\u0435\u0440\u0435\u0437 beadm. \u0415\u0441\u043b\u0438 \u0441\u043d\u0438\u043c\u043e\u043a \u0441\u0434\u0435\u043b\u0430\u043d \u0447\u0435\u0440\u0435\u0437 zfs \u0443\u0442\u0438\u043b\u0438\u0442\u044b, \u0442\u043e beadm \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c<\/span><\/li>\n<\/ul>\n<p><strong><span style=\"color: #ff0000;\">2) \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 BE<\/span><\/strong><\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a <strong>BE<\/strong> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <strong>beadm list<\/strong><\/p>\n<pre># beadm list\nBE               Active Mountpoint Space   Policy Created\n--               ------ ---------- -----   ------ -------\nsolaris          NR     \/          4.40G   static 2011-11-09 19:27\nsolaris-backup-1 -      -          148.0K  static 2011-12-06 18:53<\/pre>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c 2 <strong>BE.<\/strong> \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430 <strong>Active<\/strong>:<\/p>\n<ul>\n<li><span style=\"color: #808000;\"><tt>R<\/tt>\u00a0\u2013 \u0430\u043a\u0442\u0438\u0432\u0435\u043d \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0431\u0443\u0442\u0430.<\/span><\/li>\n<li><span style=\"color: #808000;\"><tt>N<\/tt>\u00a0\u2013 \u0441\u0435\u0439\u0447\u0430\u0441 \u0430\u043a\u0442\u0438\u0432\u0435\u043d.<\/span><\/li>\n<li><span style=\"color: #808000;\"><tt>NR<\/tt>\u00a0\u2013 \u0430\u043a\u0442\u0438\u0432\u0435\u043d \u0441\u0435\u0439\u0447\u0430\u0441 \u0438 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0431\u0443\u0442\u0430.<\/span><\/li>\n<li><span style=\"color: #808000;\"><tt>\u201c-\u201d<\/tt>\u00a0\u2013 \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d.<\/span><\/li>\n<li><span style=\"color: #808000;\"><tt>\u201c!\u201d<\/tt>\u00a0\u2013 \u043d\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 BE \u0432 \u043d\u0435\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u0437\u043e\u043d\u0435 .<\/span><\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre># beadm list -s\nBE\/Snapshot                    Space   Policy Created\n-----------                    -----   ------ -------\nsolaris\n   solaris@2011-12-06-16:53:17 129.89M static 2011-12-06 18:53\n   solaris@2011-12-25-20:46:09 57.13M  static 2011-12-25 22:46\n   solaris@install             9.57M   static 2011-11-09 19:33\nsolaris-backup-1<\/pre>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u0438\u043c, \u0447\u0442\u043e<\/p>\n<p><em><span style=\"color: #ff6600;\">\u0441\u043d\u0430\u043f\u0448\u043e\u0442 (<strong>snaphot<\/strong>) &#8211; \u044d\u0442\u043e \u043e\u0431\u0440\u0430\u0437 BE \u0438\u043b\u0438 datase&#8217;a \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f. \u0421\u043d\u0430\u043f\u0448\u043e\u0442 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u043c, \u043d\u043e \u0441 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 BE<\/span><\/em><\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0435\u0449\u0451 \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435, \u043a\u0430\u043a \u043a\u043b\u043e\u043d.<\/p>\n<p><em><span style=\"color: #ff6600;\">\u041a\u043b\u043e\u043d &#8211; \u044d\u0442\u043e BE, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e BE. \u041a\u043b\u043e\u043d \u0443\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u043c<\/span><\/em><\/p>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c, \u0447\u0442\u043e \u0436\u0435 \u0442\u0430\u043a\u043e\u0435 <strong>dataset<\/strong><\/p>\n<p><em><span style=\"color: #ff6600;\">dataset &#8211; \u043e\u0431\u0449\u0435\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 ZFS-\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u043a\u043b\u043e\u043d\u044b, \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b, \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/span><\/em><\/p>\n<p><strong><span style=\"color: #ff0000;\">3) \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 BE.<\/span><\/strong><\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p><code>#beadm create &lt;bename&gt;[@snapshot] [-p pool] [-a]<\/code><\/p>\n<p>\u0433\u0434\u0435<strong> -a<\/strong> \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 <strong>BE<\/strong>. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <strong>BE<\/strong> \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043f\u0443\u043b\u0435. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c &#8211; \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>&#8216;-p&#8217;<\/strong>.<\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u043e\u0435 <strong>BE<\/strong> (\u0435\u0441\u043b\u0438 \u0432\u044b \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f):<\/p>\n<p><code>#beadm activate &lt;bename&gt;<\/code><\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0441\u043c\u0435\u044e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0438\u043c\u0435\u044e\u0449\u0435\u0435\u0441\u044f <strong>BE<\/strong> \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a \u0436\u0435 \u0438 \u0432 \u043c\u0435\u043d\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430. \u0422\u043e \u0435\u0441\u0442\u044c \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f \u0432 \u043d\u043e\u0432\u044b\u0439 <strong>BE<\/strong> &#8211; \u043c\u043e\u0436\u043d\u043e \u043b\u0438\u0431\u043e \u0435\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043b\u0438\u0431\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432 \u043c\u0435\u043d\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430.<\/p>\n<p>\u0410 \u0435\u0441\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432 \u043d\u043e\u0432\u044b\u0439 <strong>BE<\/strong> \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439:<\/p>\n<p><code>#reboot -- 'rpool\/zfsbe2'<\/code><\/p>\n<p>\u0433\u0434\u0435, <strong>rpool\/zfsbe2<\/strong> &#8211; \u043d\u0443\u0436\u043d\u044b\u0439 <strong>BE<\/strong>.<\/p>\n<p>\u0438\u043b\u0438 \u0442\u0430\u043a, \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043d\u0443\u0436\u043d\u043e\u0433\u043e <strong>BE<\/strong>:<\/p>\n<p><code>#reboot -e &lt;bename&gt;<\/code><\/p>\n<p>\u041d\u043e \u0434\u043b\u044f <strong>KZ (kernel zone)<\/strong> \u0442\u0430\u043a\u043e\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0417\u0430\u0442\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431.<\/p>\n<p><strong><span style=\"color: #ff0000;\">4) \u0417\u043e\u043d\u044b<\/span><\/strong><\/p>\n<p>\u0422\u0430\u043a \u0436\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0439 \u043d\u043e\u0432\u043e\u0441\u0442\u044c\u044e \u0431\u0443\u0434\u0435\u0442 \u0443\u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e\u00a0<strong>BE<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u0434\u043b\u044f \u043d\u0435\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043e\u043d (\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0440\u0435\u043b\u0438\u0437\u0430\u00a0<strong>11\/11<\/strong>), \u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u043c\u0438, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u0437\u043e\u043d\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 <strong>BE<\/strong> \u043d\u0435\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043e\u043d. \u0417\u0430\u0442\u043e \u0432 \u043d\u0435\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043e\u043d\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c <strong>BE<\/strong> \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439, \u043d\u043e \u0432\u0441\u0435, \u043a\u0440\u043e\u043c\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 <strong>&lt;rootBEname&gt;-N<\/strong>, \u0433\u0434\u0435 <strong>N<\/strong>-\u043d\u043e\u043c\u0435\u0440.<\/p>\n<p>\u0414\u043b\u044f <strong>KZ<\/strong> \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443. \u0414\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e BE \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430:<\/p>\n<pre># zoneadm -z kzone2 boot -- -L\n[Connected to zone 'kzone2' console]\n1 kz-130118 (rpool\/ROOT\/kz-130118)\n2 kz-1 (rpool\/ROOT\/kz-1)\n3 solaris-5 (rpool\/ROOT\/solaris-5)\n4 solaris-7 (rpool\/ROOT\/solaris-7)\nSelect environment to boot: [ 1 - 4 ]:<\/pre>\n<p>\u0418\u043b\u0438 \u0442\u0430\u043a, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 <strong>BE<\/strong><\/p>\n<p><code>#zoneadm -z zonename boot -- -Z BE<code> &lt;bename&gt;<\/code><\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">5) \u0420\u0430\u0437\u043d\u043e\u0435.<\/span><\/strong><\/p>\n<p><strong>BE<\/strong> \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u0441 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0424\u0421. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430<\/p>\n<p><code>#beadm mount &lt;bename&gt; &lt;mountpoint&gt;<\/code><\/p>\n<p>\u0412 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 <strong>pkg<\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043b\u044e\u0447 <strong>-R<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0440\u0435\u043d\u044c, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e \u0441\u0443\u0442\u0438 \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c <strong>BE<\/strong>.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 <strong>BE<\/strong> \u043c\u043e\u0436\u043d\u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u043a\u0430\u0437\u0456\u0432\u0430\u0442\u044c \u0438 <strong>zfs<\/strong>. \u041f\u0440\u0438\u043c\u0435\u0440<\/p>\n<p><code>#zoneadm -z kzone1 boot -- -Z rpool\/ROOT\/solaris-backup-1<\/code><\/p>\n<h2><strong><span style=\"color: #0000ff;\">FreeBSD<\/span><\/strong><\/h2>\n<p>\u0412\u043e <strong>FreeBSD beadm<\/strong> \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u0440\u0442\u0430 (<strong>\/usr\/ports\/sysutils\/beadm<\/strong>). \u041f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 <strong>Solaris<\/strong>. \u0412\u043e\u0442 <a href=\"http:\/\/forums.freebsd.org\/showthread.php?t=31662\" target=\"_blank\" rel=\"nofollow noopener\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438 <a href=\"https:\/\/vermaden.wordpress.com\/2025\/11\/25\/zfs-boot-environments-explained\/\">\u0437\u0434\u0435\u0441\u044c<\/a>\u00a0\u043d\u0435\u043f\u043b\u043e\u0445\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 &#8211; \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0431\u041e\u043b\u044c\u0448\u0438\u0445 \u043e\u043f\u0446\u0438\u0439, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a <strong>chroot<\/strong>, <strong>export<\/strong>, <strong>import<\/strong><\/p>\n<p>\u0422\u043e\u043b\u044c\u043a\u043e \u0443\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u043d \u043d\u0430 <strong>ZFS root only<\/strong> \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445.<\/p>\n<p>\u0432 <strong>12<\/strong>-\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 <a href=\"https:\/\/klarasystems.com\/articles\/managing-boot-environments\/\">bectl<\/a><\/p>\n<h2><strong><span style=\"color: #0000ff;\">Linux<\/span><\/strong><\/h2>\n<p>\u0417\u0434\u0435\u0441\u044c \u0448\u0442\u0430\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043d\u0435\u0442, \u043d\u043e \u0435\u0441\u0442\u044c <a href=\"https:\/\/github.com\/kamacite-linux\/beadm\">\u041f\u041e<\/a> \u043d\u0430 <strong>github<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u0442\u043e Boot Envirement (BE) &#8211; \u044d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0440\u0435\u0434\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u041e\u0421. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f \u041e\u0421, \u043d\u043e \u0443\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u041f\u041e, \u0441\u0432\u043e\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0442.\u0434. \u041f\u0440\u043e FreeBSD \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043d\u0434: Solaris 11<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,24],"tags":[],"class_list":["post-2152","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2152"}],"version-history":[{"count":19,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2152\/revisions"}],"predecessor-version":[{"id":6652,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2152\/revisions\/6652"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}