{"id":126,"date":"2008-11-05T12:16:30","date_gmt":"2008-11-05T04:16:30","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=126"},"modified":"2010-03-02T10:58:22","modified_gmt":"2010-03-02T02:58:22","slug":"zfs-hdd","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2008\/11\/05\/zfs-hdd\/","title":{"rendered":"zfs \u786c\u789f\u96a8\u4f60\u4fbf"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[\u83ef\u8a9e, cmn-Hant-TW]  <\/strong><\/p><p>3.5 \u540b\u7684\u591a\u5c64\u786c\u789f\u62bd\u53d6\u76d2\u5f88\u65b9\u4fbf\uff0c\u4f46\u662f\u8981\u78ba\u5b9a\u63d2\u4e0b\u53bb\u7684\u786c\u789f\u662f ad6 ad8 ad10 \u7684\u54ea\u9846\u5c31\u5f88\u96e3\u53bb\u8a18\u4e86\u3002\u6240\u4ee5\u901a\u5e38\u9700\u8981\u6a19\u793a\u6e05\u695a\uff0c\u7136\u5f8c\u7dda\u4e5f\u8981\u5206\u6e05\u695a\u5f8c\u4f9d\u5e8f\u63a5\u5230\u4e3b\u6a5f\u677f\u4e0a\uff0c\u9019\u6a23\u624d\u4e0d\u6703\u5f04\u4e82\u3002<\/p>\n<p>\u4e0d\u904e\u5982\u679c\u662f\u62ff\u4f86\u7d66 zfs \u7528\u7684\u8a71\uff0c\u90a3\u5c31\u4e0d\u7528\u7ba1\u90a3\u9ebc\u591a\u4e86\uff0c\u53cd\u6b63\u53ea\u8981\u4f60\u7684\u786c\u789f\u9084\u5728\u4ed6\u5c31\u53ef\u4ee5\u8655\u7406\uff0c\u4e82\u63d2\u4e5f\u7121\u59a8\u3002\u7576\u7136\u4e86\uff0c\u5982\u679c\u662f IDE \u7684\u62bd\u53d6\u76d2\u7684\u8a71\u90a3\u5c31\u8981\u6ce8\u610f master\/slave \u7684\u554f\u984c\uff0c\u9019\u662f\u786c\u9ad4\u7684\u9650\u5236\u3002<\/p>\n<p>\u9644\u5e36\u4e00\u63d0\uff0c\u5728 FreeBSD 7.1 \u4e0b\uff0c\u7528\u9810\u8a2d\u503c\u8dd1\u539f\u5247\u4e0a\u662f\u4e0d\u6703\u51fa\u554f\u984c\u7684\uff0c\u4e0d\u904e\u5982\u679c\u4e00\u76f4\u5403\u5230 kmem too small \u7684 panic \u7684\u8a71\uff0c\u90a3\u5c31\u628a vm.kmem_size \u62c9\u5230 1G\uff0c\u6216\u662f\u628a vfs.zfs.arc_max \u5f04\u5c0f\u4e00\u9ede\uff0c\u9019\u4e9b\u90fd\u53ef\u4ee5\u5728 \/boot\/loader.conf \u88e1\u9762\u8a2d\u5b9a\u3002(sysctl \u53ea\u80fd\u770b\u4e0d\u80fd\u8a2d)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u83ef\u8a9e, cmn-Hant-TW] 3.5 \u540b\u7684\u591a\u5c64\u786c\u789f\u62bd\u53d6\u76d2\u5f88\u65b9\u4fbf\uff0c\u4f46\u662f\u8981\u78ba\u5b9a\u63d2\u4e0b\u53bb\u7684\u786c\u789f\u662f ad6 ad8 ad10 \u7684\u54ea\u9846\u5c31\u5f88\u96e3\u53bb\u8a18\u4e86\u3002\u6240\u4ee5\u901a\u5e38\u9700\u8981\u6a19\u793a\u6e05\u695a\uff0c\u7136\u5f8c\u7dda\u4e5f\u8981\u5206\u6e05\u695a\u5f8c\u4f9d\u5e8f\u63a5\u5230\u4e3b\u6a5f\u677f\u4e0a\uff0c\u9019\u6a23\u624d\u4e0d\u6703\u5f04\u4e82\u3002 \u4e0d\u904e\u5982\u679c\u662f\u62ff\u4f86\u7d66 zfs \u7528\u7684\u8a71\uff0c\u90a3\u5c31\u4e0d\u7528\u7ba1\u90a3\u9ebc\u591a\u4e86\uff0c\u53cd\u6b63\u53ea\u8981\u4f60\u7684\u786c\u789f\u9084\u5728\u4ed6\u5c31\u53ef\u4ee5\u8655\u7406\uff0c\u4e82\u63d2\u4e5f\u7121\u59a8\u3002\u7576\u7136\u4e86\uff0c\u5982\u679c\u662f IDE \u7684\u62bd\u53d6\u76d2\u7684\u8a71\u90a3\u5c31\u8981\u6ce8\u610f master\/slave \u7684\u554f\u984c\uff0c\u9019\u662f\u786c\u9ad4\u7684\u9650\u5236\u3002 \u9644\u5e36\u4e00\u63d0\uff0c\u5728 FreeBSD 7.1 \u4e0b\uff0c\u7528\u9810\u8a2d\u503c\u8dd1\u539f\u5247\u4e0a\u662f\u4e0d\u6703\u51fa\u554f\u984c\u7684\uff0c\u4e0d\u904e\u5982\u679c\u4e00\u76f4\u5403\u5230 kmem too small \u7684 panic \u7684\u8a71\uff0c\u90a3\u5c31\u628a vm.kmem_size \u62c9\u5230 1G\uff0c\u6216\u662f\u628a vfs.zfs.arc_max \u5f04\u5c0f\u4e00\u9ede\uff0c\u9019\u4e9b\u90fd\u53ef\u4ee5\u5728 \/boot\/loader.conf \u88e1\u9762\u8a2d\u5b9a\u3002(sysctl \u53ea\u80fd\u770b\u4e0d\u80fd\u8a2d)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[107],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-zfs"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":3,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":760,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/126\/revisions\/760"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}