{"id":5138,"date":"2019-10-13T19:09:01","date_gmt":"2019-10-13T11:09:01","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5138"},"modified":"2022-05-13T14:58:25","modified_gmt":"2022-05-13T06:58:25","slug":"lvcreate","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lvcreate","title":{"rendered":"lvcreate\u547d\u4ee4 – \u521b\u5efa\u903b\u8f91\u5377\u8bbe\u5907"},"content":{"rendered":"\n
lvcreate\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u521b\u5efa\u903b\u8f91\u5377\u8bbe\u5907\u3002LVM\u903b\u8f91\u5377\u7ba1\u7406\u5668\u6280\u672f\u7531\u7269\u7406\u5377\u3001\u5377\u7ec4\u548c\u903b\u8f91\u5377\u7ec4\u6210\uff0c\u5176\u4e2dlvcreate\u547d\u4ee4\u7684\u5de5\u4f5c\u5c5e\u4e8e\u6700\u540e\u4e00\u4e2a\u73af\u8282\u2014\u2014\u521b\u5efa\u903b\u8f91\u5377\u8bbe\u5907\u3002<\/p>\n\n\n\n
\u8bbe\u5b9a\u903b\u8f91\u5377\u5bb9\u91cf\u53ef\u4ee5\u4f7f\u7528-L\u53c2\u6570\u76f4\u63a5\u5199\u5177\u4f53\u503c\uff0c\u4ea6\u53ef\u4ee5\u5199-l\u53c2\u6570\u6307\u5b9aPE\u4e2a\u6570\uff0c\u6bcf\u4e2aPE\u5927\u5c0f\u9ed8\u8ba4\u4e3a4M\uff0c\u56e0\u6b64-L 400M\u548c-l 100\u7684\u6548\u529b\u662f\u7b49\u4ef7\u7684\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f :\u00a0<\/strong> lvcreate \u53c2\u6570 \u903b\u8f91\u5377<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5728\u5df2\u6709\u7684\u5377\u7ec4\u4e2d\uff08storage\uff09\u521b\u5efa\u4e00\u4e2a\u903b\u8f91\u5377\uff08vo\uff09\uff0c\u5927\u5c0f\u4e3a100\u4e2aPE\uff1a<\/p>\n\n\n\n \u5728\u5df2\u6709\u7684\u5377\u7ec4\u4e2d\uff08storage\uff09\u521b\u5efa\u4e00\u4e2a\u903b\u8f91\u5377\uff08vo\uff09\uff0c\u5927\u5c0f\u4e3a400M\uff1a<\/p>\n\n\n\n \u5728\u5df2\u6709\u7684\u5377\u7ec4\u4e2d\uff08storage\uff09\u521b\u5efa\u4e00\u4e2a\u903b\u8f91\u5377\uff08vo\uff09\uff0c\u5927\u5c0f\u4e3a\u5377\u7ec4\u4e2d\u5269\u4f59\u7684\u5168\u90e8\u7a7a\u95f4\uff1a<\/p>\n\n\n\n lvcreate\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u521b\u5efa\u903b\u8f91\u5377\u8bbe\u5907\u3002LVM\u903b\u8f91\u5377\u7ba1\u7406\u5668\u6280\u672f\u7531\u7269\u7406\u5377\u3001\u5377\u7ec4\u548c\u903b\u8f91\u5377\u7ec4\u6210\uff0c\u5176\u4e2dlvcr […]<\/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\/5138"}],"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=5138"}],"version-history":[{"count":11,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5138\/revisions"}],"predecessor-version":[{"id":9657,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5138\/revisions\/9657"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-L<\/td> \u6307\u5b9a\u903b\u8f91\u5377\u7684\u5927\u5c0f\uff08\u5bb9\u91cf\u503c\uff09<\/td><\/tr> -l<\/td> \u6307\u5b9a\u903b\u8f91\u5377\u7684\u5927\u5c0f\uff08PE\u4e2a\u6570\uff09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxprobe ~]# lvcreate -n vo -l 100 storage<\/strong>\n Logical volume \"vo\" created.<\/pre>\n\n\n\n
[root@linuxprobe ~]# lvcreate -n vo -L 400 storage<\/strong>\n Logical volume \"vo\" created.<\/pre>\n\n\n\n
[root@linuxcool ~]# lvcreate -n vo -l 100%FREE storage<\/strong>\nLogical volume \"vo\" created.<\/pre>\n","protected":false},"excerpt":{"rendered":"