{"id":4792,"date":"2019-08-24T23:44:20","date_gmt":"2019-08-24T15:44:20","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4792"},"modified":"2022-05-13T15:20:09","modified_gmt":"2022-05-13T07:20:09","slug":"vgcreate","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vgcreate","title":{"rendered":"vgcreate\u547d\u4ee4 – \u521b\u5efa\u5377\u7ec4\u8bbe\u5907"},"content":{"rendered":"\n

vgcreate\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u521b\u5efa\u5377\u7ec4\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\u4e2dvgcreate\u547d\u4ee4\u7684\u5de5\u4f5c\u5c5e\u4e8e\u7b2c\u4e8c\u4e2a\u73af\u8282\u2014\u2014\u521b\u5efa\u5377\u7ec4\u8bbe\u5907\u3002<\/p>\n\n\n\n

\u5377\u7ec4\uff0c\u987e\u540d\u601d\u4e49\u662f\u5c06\u591a\u4e2a\u7269\u7406\u5377\u7ec4\u6210\u4e00\u4e2a\u6574\u4f53\uff0c\u5c4f\u853d\u4e86\u5e95\u5c42\u7269\u7406\u8bbe\u5907\u7ec6\u8282\uff0c\u8ba9\u7528\u6237\u5728\u540e\u7eed\u7684\u903b\u8f91\u5377\u521b\u5efa\u5de5\u4f5c\u540e\u65e0\u9700\u518d\u8003\u8651\u5177\u4f53\u7684\u786c\u4ef6\u8bbe\u5907\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vgcreate \u53c2\u6570 \u5377\u7ec4<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-l<\/td>\u5377\u7ec4\u4e0a\u5141\u8bb8\u521b\u5efa\u7684\u6700\u5927\u903b\u8f91\u5377\u6570 <\/td><\/tr>
-p<\/td>\u5377\u7ec4\u4e2d\u5141\u8bb8\u6dfb\u52a0\u7684\u6700\u5927\u7269\u7406\u5377\u6570 <\/td><\/tr>
-s<\/td>\u5377\u7ec4\u4e0a\u7684\u7269\u7406\u5377\u7684PE\u5927\u5c0f <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u4f7f\u7528\u4e24\u5757\u786c\u76d8\uff0c\u521b\u5efa\u51fa\u4e00\u5757\u6307\u5b9a\u540d\u79f0\u7684\u5377\u7ec4\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxprobe ~]# vgcreate storage \/dev\/sdb \/dev\/sdc<\/strong>\r\n Volume group \"storage\" successfully created<\/pre>\n","protected":false},"excerpt":{"rendered":"

vgcreate\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u521b\u5efa\u5377\u7ec4\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\u4e2dvgcre […]<\/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\/4792"}],"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=4792"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4792\/revisions"}],"predecessor-version":[{"id":9665,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4792\/revisions\/9665"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}