{"id":7906,"date":"2020-06-13T15:25:40","date_gmt":"2020-06-13T07:25:40","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7906"},"modified":"2020-06-13T15:25:41","modified_gmt":"2020-06-13T07:25:41","slug":"lvmdiskscan","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lvmdiskscan","title":{"rendered":"lvmdiskscan\u547d\u4ee4 – \u626b\u63cf\u53ef\u89c1LVM2\u6240\u6709\u8bbe\u5907"},"content":{"rendered":"\n

lvmdiskscan\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5728\u7cfb\u7edf\u4e2d\u4e3aLVM\u7269\u7406\u5377\u626b\u63cf\u6240\u6709\u7684SCSI\u3001IDE\u78c1\u76d8\u3001\u591a\u79cd\u8bbe\u5907\u548c\u5176\u4ed6\u5757\u8bbe\u5907\u3002<\/p>\n\n\n\n

lvmdiskscan\u547d\u4ee4\u4f1a\u626b\u63cf\u6240\u6709\u53ef\u89c1\u7684LVM2\u8bbe\u5907\uff0c\u800cLVM2\u6bd4LVM1\u652f\u6301\u4e86\u66f4\u591a\u7684\u903b\u8f91\u5377\u7c7b\u578b\uff0c\u652f\u6301\u4e86cluster lvm\u529f\u80fd\uff0c\u63d0\u4f9b\u4e86\u57fa\u4e8e\u6587\u672c\u683c\u5f0f\u7684\u5143\u6570\u636e\u4fe1\u606f\uff0c\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u547d\u4ee4\u96c6\u548c\u64cd\u4f5c\u547d\u4ee4\u3002<\/p>\n\n\n\n

lvmdiskscan\u547d\u4ee4\u62a5\u544a\u7684\u5927\u5c0f\u5c31\u662f\u5b9e\u9645\u8bbe\u5907\u7684\u5927\u5c0f\u3002\u901a\u5e38\u8fd8\u53ef\u4ee5\u901a\u8fc7lvmdiskscan\u547d\u4ee4\u6765\u67e5\u770b\u90a3\u4e9b\u8bbe\u5907\u88ab\u505a\u6210\u4e86\u7269\u7406\u5377\u3002<\/p>\n\n\n\n

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

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

-l<\/td>\u53ea\u62a5\u544a\u7269\u7406\u5377<\/td><\/tr>
-v<\/td>\u957f\u683c\u5f0f\u663e\u793a<\/td><\/tr>
-h<\/td>\u5e2e\u52a9<\/td><\/tr>
-d<\/td>\u8c03\u8bd5\u6a21\u5f0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u626b\u63cf\u53ef\u89c1LVM2\u6240\u6709\u8bbe\u5907\uff0c\u53ea\u62a5\u544a\u7269\u7406\u5377\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lvmdiskscan -l<\/pre>\n\n\n\n

\u626b\u63cf\u6240\u6709\u53ef\u89c1LVM2\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lvmdiskscan<\/pre>\n\n\n\n

\u626b\u63cf\u53ef\u89c1LVM2\u6240\u6709\u8bbe\u5907\uff0c\u4ee5\u957f\u683c\u5f0f\u663e\u793a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lvmdiskscan -v<\/pre>\n","protected":false},"excerpt":{"rendered":"

lvmdiskscan\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5728\u7cfb\u7edf\u4e2d\u4e3aLVM\u7269\u7406\u5377\u626b\u63cf\u6240\u6709\u7684SCSI\u3001IDE\u78c1\u76d8\u3001\u591a\u79cd\u8bbe\u5907\u548c\u5176\u4ed6\u5757\u8bbe […]<\/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\/7906"}],"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=7906"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7906\/revisions"}],"predecessor-version":[{"id":7938,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7906\/revisions\/7938"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}