{"id":7908,"date":"2020-06-13T15:26:22","date_gmt":"2020-06-13T07:26:22","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7908"},"modified":"2020-06-13T15:26:24","modified_gmt":"2020-06-13T07:26:24","slug":"lvmdump","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lvmdump","title":{"rendered":"lvmdump\u547d\u4ee4 – \u8f6c\u50a8LVM2\u6709\u5173\u7684\u5404\u79cd\u4fe1\u606f"},"content":{"rendered":"\n

lvmdump\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u7528\u6765\u8f6c\u50a8LVM2\u6709\u5173\u7684\u5404\u79cd\u4fe1\u606f\u3002<\/p>\n\n\n\n

LVM2\u662f\u5728linux\u4e0a\u63d0\u4f9b\u903b\u8f91\u5377\u7ba1\u7406\u529f\u80fd\u7684\u7528\u6237\u7a7a\u95f4\u5de5\u5177\u96c6\u3002\u5b83\u53ef\u4ee5\u4e0e\u539f\u59cbLVM\u5de5\u5177\u96c6\u5411\u4e0b\u517c\u5bb9\u3002<\/p>\n\n\n\n

\u8981\u4f7f\u7528LVM2\u9700\u8981\u4e09\u4e2a\u6761\u4ef6\uff1a\u5185\u6838\u4e2d\u7684device-mapper\uff0c\u7528\u6237\u7a7a\u95f4device-mapper\u652f\u6301\u5e93\uff08libdevmapper\uff09\u548c\u7528\u6237\u7a7a\u95f4LVM2\u5de5\u5177\u3002<\/p>\n\n\n\n

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

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

-d<\u76ee\u5f55><\/td>\u8f6c\u50a8\u5230\u4e00\u4e2a\u76ee\u5f55\uff0c\u800c\u4e0d\u662f\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u7684tar\u538b\u7f29\u5305<\/td><\/tr>
-c<\/td>\u5982\u679c clvmd \u6b63\u5728\u8fd0\u884c\uff0c\u4e5f\u6536\u96c6\u96c6\u7fa4\u6570\u636e<\/td><\/tr>
-a<\/td>\u9ad8\u7ea7\u96c6\u5408<\/td><\/tr>
-s<\/td>\u6536\u96c6\u7cfb\u7edf\u4fe1\u606f\u548c\u4e0a\u4e0b\u6587<\/td><\/tr>
-p<\/td>\u8f6c\u50a8\u5305\u542b\u5f53\u524d\u7531\u5b88\u62a4\u7a0b\u5e8f\u76d1\u89c6\u7684\u6240\u6709\u6b63\u5728\u8fdb\u884c\u7684\u64cd\u4f5c\u4ee5\u53ca\u90e8\u5206\u5386\u53f2\u8bb0\u5f55<\/td><\/tr>
-m<\/td>\u4ece\u7cfb\u7edf\u53ef\u89c1\u7684\u6240\u6709pvs\u4e2d\u751f\u62101:1\u7684\u5143\u6570\u636e\u533a\u57df\u8f6c\u50a8<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u8f6c\u50a8LVM2\u6709\u5173\u7684\u5404\u79cd\u4fe1\u606f\uff1a<\/p>\n\n\n\n

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

\u6536\u96c6\u7cfb\u7edf\u4fe1\u606f\u548c\u4e0a\u4e0b\u6587\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lvmdump -s<\/pre>\n\n\n\n

\u5c06\u4fe1\u606f\u8f6c\u50a8\u5230\u4e00\u4e2a\u76ee\u5f55\uff1a<\/p>\n\n\n\n

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

lvmdump\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u7528\u6765\u8f6c\u50a8LVM2\u6709\u5173\u7684\u5404\u79cd\u4fe1\u606f\u3002 LVM2\u662f\u5728linux\u4e0a\u63d0\u4f9b\u903b\u8f91\u5377\u7ba1\u7406\u529f\u80fd\u7684\u7528 […]<\/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\/7908"}],"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=7908"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7908\/revisions"}],"predecessor-version":[{"id":7931,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7908\/revisions\/7931"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}