{"id":3551,"date":"2013-06-27T15:44:11","date_gmt":"2013-06-27T12:44:11","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3551"},"modified":"2025-05-20T16:00:13","modified_gmt":"2025-05-20T13:00:13","slug":"panic-solarispanic-zfs-allocating-allocated-segment","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3551","title":{"rendered":"panic: Solaris(panic): zfs: allocating allocated segment"},"content":{"rendered":"<p>\u0422\u0430\u043a\u0443\u044e \u043f\u0430\u043d\u0438\u043a\u0443 \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e, \u043a\u043e\u0433\u0434\u0430 <strong>FreeBSD<\/strong> \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0439 \u043f\u0443\u043b <strong>raidz1<\/strong>. \u0414\u0430, \u0432 \u043d\u0451\u043c 1 (\u0438\u0437 3-\u043e\u0445) \u0434\u0438\u0441\u043a \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u0432\u043e\u0434 \u043f\u0430\u043d\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u044f\u0434\u0440\u0443! \u0412\u0441\u044f\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u0436\u0438\u0432\u0438\u0442\u044c \u043f\u0443\u043b \u0438\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0434\u043e\u0441\u0442\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u043d\u0435\u0433\u043e \u0438\u0437-\u043f\u043e\u0434 <strong>FreeBSD (LiveCD 8\/9)<\/strong> \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0438\u0441\u044c \u0443\u0441\u043f\u0435\u0445\u043e\u043c. \u0417\u0430\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0432\u0448\u0438\u0441\u044c \u0441 <strong>Solaris 11.1<\/strong> \u043f\u0443\u043b \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u043b\u0441\u044f \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0435\u0433\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0431\u044b\u043b\u0438 \u0441\u0442\u044f\u043d\u0443\u0442\u044b.<\/p>\n<p><!--more--><\/p>\n<p>\u041f\u043e\u0445\u043e\u0436\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u0430\u0436 2009\u00a0<a href=\"http:\/\/lists.freebsd.org\/pipermail\/freebsd-current\/2009-February\/003039.html\" rel=\"nofollow\">http:\/\/lists.freebsd.org\/pipermail\/freebsd-current\/2009-February\/003039.html<\/a>\u00a0\u043d\u043e \u043d\u0430 \u043d\u0435\u0439 \u0437\u0430\u0431\u0438\u043b\u0438.<\/p>\n<p>\u0421\u0442\u0440\u0430\u043d\u043d\u043e \u0434\u0440\u0443\u0433\u043e\u0435: \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0443\u043b &#8220;\u043f\u043e\u0431\u044b\u0432\u0430\u043b&#8221; \u0432 \u043b\u0430\u043f\u0430\u0445 <strong>Solaris<\/strong> \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0431\u0443\u0442\u0430 \u0443 \u043d\u0435\u0433\u043e \u0431\u044b\u043b \u0441\u0442\u0430\u0442\u0443\u0441 <strong>online<\/strong>! \u041c\u0438\u0441\u0442\u0438\u043a\u0430. \u041d\u043e \u043f\u0443\u043b \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043e\u043f\u0430\u0441\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0431\u0435\u0437 \u0441\u0431\u043e\u0439\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430.<\/p>\n<p><span style=\"color: #008000;\"><em><strong>Update 13.06.2018<\/strong><\/em><\/span><\/p>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0442\u043e\u0438\u043b\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 <strong>recovery<\/strong> (\u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \u0432\u044b\u0431\u0440\u0430\u0442\u044c 3):<\/p>\n<p><code>OK set vfs.zfs.recover=1<br \/>\nOK boot<\/code><\/p>\n<p>\u0414\u043b\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043d\u0435\u0441\u0442\u0438 \u0432 <strong>\/boot\/loader.conf<\/strong> \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<p><code>vfs.zfs.recovery=1<\/code><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435.<\/p>\n<ul>\n<li>\u0434\u043b\u044f <strong>Solaris\/OpenIndiana\/Illumos\/&#8230;<\/strong> \u043d\u0430\u043b\u0435\u0442\u0443 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a:<\/li>\n<\/ul>\n<p><code># echo \"aok\/W 1\" | mdb -kw<br \/>\n# echo \"zfs_recover\/W 1\" | mdb -kw<\/code><\/p>\n<p>\u0434\u043b\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043d\u043e\u0441\u0438\u043c \u0432 <strong>\/etc\/system<\/strong>:<\/p>\n<p><code>set zfs:zfs_recover=1<br \/>\nset aok=1<\/code><\/p>\n<ul>\n<li>\u0434\u043b\u044f <strong>Linux<\/strong> \u043d\u0430\u043b\u0435\u0442\u0443 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a:<\/li>\n<\/ul>\n<p><code># echo 1 &gt; \/sys\/module\/zfs\/parameters\/zfs_recover<\/code><\/p>\n<p><span style=\"color: #ff6600;\"><em><strong>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438<\/strong><\/em><\/span><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"o0OErJG6II\"><p><a href=\"https:\/\/sigtar.com\/2009\/10\/19\/opensolaris-zfs-recovery-after-kernel-panic\/\">Opensolaris &#8211; ZFS recovery after kernel panic<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Opensolaris &#8211; ZFS recovery after kernel panic&#8221; &#8212; sigtar.com\" src=\"https:\/\/sigtar.com\/2009\/10\/19\/opensolaris-zfs-recovery-after-kernel-panic\/embed\/#?secret=k2vGWiRPUZ#?secret=o0OErJG6II\" data-secret=\"o0OErJG6II\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0430\u043a\u0443\u044e \u043f\u0430\u043d\u0438\u043a\u0443 \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e, \u043a\u043e\u0433\u0434\u0430 FreeBSD \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0439 \u043f\u0443\u043b raidz1. \u0414\u0430, \u0432 \u043d\u0451\u043c 1 (\u0438\u0437 3-\u043e\u0445) \u0434\u0438\u0441\u043a \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u0432\u043e\u0434 \u043f\u0430\u043d\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u044f\u0434\u0440\u0443! \u0412\u0441\u044f\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u0436\u0438\u0432\u0438\u0442\u044c \u043f\u0443\u043b \u0438\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0434\u043e\u0441\u0442\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u043d\u0435\u0433\u043e \u0438\u0437-\u043f\u043e\u0434 FreeBSD (LiveCD 8\/9) \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0438\u0441\u044c \u0443\u0441\u043f\u0435\u0445\u043e\u043c. \u0417\u0430\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0432\u0448\u0438\u0441\u044c \u0441 Solaris 11.1 \u043f\u0443\u043b \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u043b\u0441\u044f \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0435\u0433\u043e [&hellip;]<\/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-3551","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\/3551","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=3551"}],"version-history":[{"count":4,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3551\/revisions"}],"predecessor-version":[{"id":5488,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3551\/revisions\/5488"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}