{"id":7532,"date":"2020-05-23T19:51:06","date_gmt":"2020-05-23T11:51:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7532"},"modified":"2020-05-23T19:51:07","modified_gmt":"2020-05-23T11:51:07","slug":"vgexport","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vgexport","title":{"rendered":"vgexport\u547d\u4ee4 – \u5bfc\u51fa\u5377\u7ec4"},"content":{"rendered":"\n
vgexport\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5bfc\u51fa\u5377\u7ec4\u3002<\/p>\n\n\n\n
vgexport\u547d\u4ee4\u5141\u8bb8\u8bbe\u7f6e\u7cfb\u7edf\u672a\u77e5\u7684\u975e\u6d3b\u52a8\u5377\u7ec4\u540d\u79f0\u3002 \u4e5f\u53ef\u4ee5\u5c06\u8be5\u5377\u7ec4\u4e2d\u7684\u6240\u6709\u7269\u7406\u5377\u79fb\u52a8\u5230\u4e0d\u540c\u7684\u7cfb\u7edf\u4e2d\uff0c\u4ee5\u4fbf\u4ee5\u540e\u4f7f\u7528vgimport\u547d\u4ee4\u5bfc\u5165\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vgexport [\u53c2\u6570] [\u5377\u7ec4\u540d]<\/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 \u5bfc\u51fa\u5377\u7ec4vgl\uff1a<\/p>\n\n\n\n \u5bfc\u51fa\u6240\u6709\u6d3b\u52a8\u5377\u7ec4\uff1a<\/p>\n\n\n\n \u5bfc\u51fa\u5e26\u6709map\u6587\u4ef6\u7684\u5377\u7ec4\uff1a<\/p>\n\n\n\n vgexport\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5bfc\u51fa\u5377\u7ec4\u3002 vgexport\u547d\u4ee4\u5141\u8bb8\u8bbe\u7f6e\u7cfb\u7edf\u672a\u77e5\u7684\u975e\u6d3b\u52a8\u5377\u7ec4\u540d\u79f0\u3002 \u4e5f\u53ef\u4ee5\u5c06\u8be5 […]<\/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\/7532"}],"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=7532"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7532\/revisions"}],"predecessor-version":[{"id":7579,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7532\/revisions\/7579"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u5bfc\u51fa\u6240\u6709\u6d3b\u52a8\u7684\u5377\u7ec4<\/td><\/tr> -p<\/td> \u4e0d\u4ece\u7cfb\u7edf\u4e2d\u4e2d\u5c06\u5377\u7ec4\u76f8\u5173\u7684\u4fe1\u606f\u53bb\u6389<\/td><\/tr> -s<\/td> \u5411\u6620\u5c04\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5377\u7ec4\u6807\u8bc6\u7b26 (VGID)<\/td><\/tr> -m<\/td> \u4ea7\u751f\u4e00\u4e2amap\u6587\u4ef6<\/td><\/tr> -v<\/td> \u663e\u793a\u8be6\u7ec6\u8fc7\u7a0b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# vgexport linuxcool_vg<\/pre>\n\n\n\n
[root@linuxcool ~]# vgexport -a<\/pre>\n\n\n\n
[root@linuxcool ~]# vgexport -s -p -m \/tmp\/vglinuxcool.map \/dev\/vglinuxcool<\/pre>\n","protected":false},"excerpt":{"rendered":"