{"id":5257,"date":"2019-10-27T19:37:33","date_gmt":"2019-10-27T11:37:33","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5257"},"modified":"2022-05-13T15:07:14","modified_gmt":"2022-05-13T07:07:14","slug":"pvcreate","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/pvcreate","title":{"rendered":"pvcreate\u547d\u4ee4 – \u521b\u5efa\u7269\u7406\u5377\u8bbe\u5907"},"content":{"rendered":"\n
pvcreate\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u521b\u5efa\u7269\u7406\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\u4e2dpvcreate\u547d\u4ee4\u7684\u5de5\u4f5c\u5c5e\u4e8e\u7b2c\u4e00\u4e2a\u73af\u8282\u2014\u2014\u521b\u5efa\u7269\u7406\u5377\u8bbe\u5907\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>pvcreate \u53c2\u6570 \u7269\u7406\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 \u5c06\u6307\u5b9a\u7684\u67d0\u4e2a\u78c1\u76d8\u8bbe\u5907\u521b\u5efa\u4e3a\u7269\u7406\u5377\u8bbe\u5907\uff1a<\/p>\n\n\n\n \u5c06\u6307\u5b9a\u7684\u591a\u4e2a\u78c1\u76d8\u8bbe\u5907\u521b\u5efa\u4e3a\u7269\u7406\u5377\u8bbe\u5907\uff1a<\/p>\n\n\n\n pvcreate\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u521b\u5efa\u7269\u7406\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\u4e2dpvcr […]<\/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\/5257"}],"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=5257"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5257\/revisions"}],"predecessor-version":[{"id":9661,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5257\/revisions\/9661"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-f<\/td> \u5f3a\u5236\u521b\u5efa\u7269\u7406\u5377\uff0c\u4e0d\u9700\u8981\u7528\u6237\u786e\u8ba4<\/td><\/tr> -u<\/td> \u6307\u5b9a\u8bbe\u5907\u7684UUID<\/td><\/tr> -y<\/td> \u6240\u6709\u7684\u95ee\u9898\u90fd\u56de\u7b54yes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxprobe ~]# pvcreate \/dev\/sdb<\/strong>\r\n Physical volume \"\/dev\/sdb\" successfully created.<\/pre>\n\n\n\n
[root@linuxcool ~]# pvcreate \/dev\/sdc{1,2,3,4}<\/strong>\n Physical volume \"\/dev\/sdc1\" successfully created.\n Physical volume \"\/dev\/sdc2\" successfully created.\n Physical volume \"\/dev\/sdc3\" successfully created.\n Physical volume \"\/dev\/sdc4\" successfully created.<\/pre>\n","protected":false},"excerpt":{"rendered":"