{"id":2420,"date":"2013-11-10T01:36:18","date_gmt":"2013-11-09T17:36:18","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=2420"},"modified":"2013-11-10T01:37:33","modified_gmt":"2013-11-09T17:37:33","slug":"growfs-in-freebsd-10","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2013\/11\/10\/growfs-in-freebsd-10\/","title":{"rendered":"FreeBSD 10 \u7684 growfs"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[\u83ef\u8a9e, cmn-Hant-TW]  <\/strong><\/p><p>FreeBSD 10 \u7684 growfs \u53ef\u4ee5\u76f4\u63a5\u628a\u4f7f\u7528\u4e2d\u7684\u78c1\u789f\u5340\u8b8a\u5927\uff0c\u9019\u8b93\u4e0d\u5c11\u4e8b\u60c5\u8b8a\u5f97\u7c21\u55ae\u8a31\u591a<br \/>\n\u4f8b\u5982\u8981\u5728 VMWare \u88e1\u9762\u628a\u4e00\u9846\u865b\u64ec\u78c1\u789f (da1) \u8b8a\u5927\uff0c\u53ea\u8981\u628a\u90a3\u9846\u78c1\u789f\u8abf\u5927\u4e00\u9ede\uff0c\u7136\u5f8c\u5728\u6b63\u5e38\u958b\u6a5f\u4e0b\uff0c\u5f9e FreeBSD \u88e1\u9762\u4e0b\u9019\u4e9b\u6307\u4ee4<\/p>\n<pre lang=\"bash\">gpart recover da1\r\ngpart resize -i 1 da1\r\ngrowfs da1p1<\/pre>\n<p>\u6700\u5f8c\u6309 yes \u5c31\u53ef\u4ee5\u628a da1 \u7684\u7b2c\u4e00\u500b\u5206\u5272\u5340 da1p1 \u8b8a\u6210\u65b0\u7684\u5927\u5c0f\u4e00\u6a23\u5927\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u83ef\u8a9e, cmn-Hant-TW] FreeBSD 10 \u7684 growfs \u53ef\u4ee5\u76f4\u63a5\u628a\u4f7f\u7528\u4e2d\u7684\u78c1\u789f\u5340\u8b8a\u5927\uff0c\u9019\u8b93\u4e0d\u5c11\u4e8b\u60c5\u8b8a\u5f97\u7c21\u55ae\u8a31\u591a \u4f8b\u5982\u8981\u5728 VMWare \u88e1\u9762\u628a\u4e00\u9846\u865b\u64ec\u78c1\u789f (da1) \u8b8a\u5927\uff0c\u53ea\u8981\u628a\u90a3\u9846\u78c1\u789f\u8abf\u5927\u4e00\u9ede\uff0c\u7136\u5f8c\u5728\u6b63\u5e38\u958b\u6a5f\u4e0b\uff0c\u5f9e FreeBSD \u88e1\u9762\u4e0b\u9019\u4e9b\u6307\u4ee4 gpart recover da1 gpart resize -i 1 da1 growfs da1p1 \u6700\u5f8c\u6309 yes \u5c31\u53ef\u4ee5\u628a da1 \u7684\u7b2c\u4e00\u500b\u5206\u5272\u5340 da1p1 \u8b8a\u6210\u65b0\u7684\u5927\u5c0f\u4e00\u6a23\u5927\u4e86<\/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":[4591,4573],"class_list":["post-2420","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-freebsd","tag-growfs"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/2420","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=2420"}],"version-history":[{"count":4,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/2420\/revisions"}],"predecessor-version":[{"id":2424,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/2420\/revisions\/2424"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=2420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=2420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=2420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}