{"id":4669,"date":"2019-08-21T14:22:49","date_gmt":"2019-08-21T06:22:49","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4669"},"modified":"2019-08-25T00:24:32","modified_gmt":"2019-08-24T16:24:32","slug":"lvresize","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lvresize","title":{"rendered":"lvresize\u547d\u4ee4 – \u8c03\u6574LVM\u903b\u8f91\u5377\u7a7a\u95f4\u5927\u5c0f"},"content":{"rendered":"\n

lvresize\u547d\u4ee4\u7528\u4e8e\u8c03\u6574LVM\u903b\u8f91\u5377\u7684\u7a7a\u95f4\u5927\u5c0f\uff0c\u53ef\u4ee5\u589e\u5927\u7a7a\u95f4\u548c\u7f29\u5c0f\u7a7a\u95f4\u3002\u4f7f\u7528lvresize\u547d\u4ee4\u8c03\u6574\u903b\u8f91\u5377\u7a7a\u95f4\u5927\u5c0f\u548c\u7f29\u5c0f\u7a7a\u95f4\u65f6\u9700\u8981\u8c28\u614e\uff0c\u56e0\u4e3a\u5b83\u6709\u53ef\u80fd\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>lvresize [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570:<\/strong><\/p>\n\n\n\n
-L<\/td>\u6307\u5b9a\u903b\u8f91\u5377\u7684\u5927\u5c0f, \u5355\u4f4d\u4e3a\u201ckKmMgGtT\u201d\u5b57\u8282 <\/td><\/tr>
-l<\/td>\u6307\u5b9a\u903b\u8f91\u5377\u7684\u5927\u5c0f\uff08LE\u6570\uff09<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5c06\u903b\u8f91\u5377\u7a7a\u95f4\u589e\u52a0200M\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lvresize -L +200M \/dev\/vg1000\/lvol0\nExtending logical volume lvol0 to 280.00 MB Logical volume lvol0 successfully resized <\/pre>\n","protected":false},"excerpt":{"rendered":"

lvresize\u547d\u4ee4\u7528\u4e8e\u8c03\u6574LVM\u903b\u8f91\u5377\u7684\u7a7a\u95f4\u5927\u5c0f\uff0c\u53ef\u4ee5\u589e\u5927\u7a7a\u95f4\u548c\u7f29\u5c0f\u7a7a\u95f4\u3002\u4f7f\u7528lvresize\u547d\u4ee4\u8c03\u6574\u903b\u8f91\u5377 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4669"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=4669"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4669\/revisions"}],"predecessor-version":[{"id":4821,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4669\/revisions\/4821"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}