{"id":7538,"date":"2020-05-23T19:52:00","date_gmt":"2020-05-23T11:52:00","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7538"},"modified":"2020-05-23T19:52:14","modified_gmt":"2020-05-23T11:52:14","slug":"vgmerge","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vgmerge","title":{"rendered":"vgmerge\u547d\u4ee4 – \u5408\u5e76\u4e24\u4e2a\u5377\u7ec4"},"content":{"rendered":"\n

vgmerge\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5408\u5e76\u4e24\u4e2a\u73b0\u6709\u7684\u5377\u7ec4\u3002<\/p>\n\n\n\n

\u5982\u679c\u7269\u7406\u76d8\u533a\u5927\u5c0f\u76f8\u7b49\uff0c\u5e76\u4e14\u4e24\u4e2a\u5377\u7ec4\u7684\u7269\u7406\u548c\u903b\u8f91\u5377\u6458\u8981\u90fd\u7b26\u5408\u76ee\u6807\u5377\u7ec4\u540d\u79f0\u7684\u8981\u6c42\uff0c\u5219\u975e\u6d3b\u52a8\u6e90\u5377\u7ec4\u540d\u79f0\u5c06\u5408\u5e76\u5230\u76ee\u6807\u5377\u7ec4\u540d\u79f0\u4e2d\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vgmerge [\u53c2\u6570] [\u76ee\u7684\u5377\u7ec4\u540d] [\u6e90\u5377\u7ec4\u540d]<\/p>\n\n\n\n

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

-l<\/td>\u663e\u793a\u5408\u5e76\u7684\u76ee\u7684\u5377\u7ec4\u540d\uff0c\u7c7b\u4f3c\u4e8evgdisplay -v\u547d\u4ee4<\/td><\/tr>
-t<\/td>\u8fdb\u884c\u4e00\u4e2a\u6d4b\u8bd5\u8fd0\u884c\u800c\u4e0d\u505a\u4efb\u4f55\u771f\u6b63\u7684\u6539\u53d8<\/td><\/tr>
-A<y|n><\/td>\u662f\u5426\u542f\u7528\u81ea\u52a8\u5907\u4efd<\/td><\/tr>
-d<\/td>\u542f\u7528\u8c03\u8bd5\u6a21\u5f0f<\/td><\/tr>
-v<\/td>\u663e\u793a\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5c06\u5377\u7ec4vg2\u5408\u5e76\u5230\u5377\u7ec4vg1\u4e2d\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vgmerge -v vg1 vg2<\/pre>\n\n\n\n

\u6a21\u62df\u6d4b\u8bd5\u5408\u5e76\u5377\u7ec4\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vgmerge -t vg3 vg4<\/pre>\n\n\n\n

\u663e\u793a\u5408\u5e76\u7684\u5b8c\u6bd5\u7684\u5377\u7ec4\u540d\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vgmerge -l vg5 vg6<\/pre>\n","protected":false},"excerpt":{"rendered":"

vgmerge\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5408\u5e76\u4e24\u4e2a\u73b0\u6709\u7684\u5377\u7ec4\u3002 \u5982\u679c\u7269\u7406\u76d8\u533a\u5927\u5c0f\u76f8\u7b49\uff0c\u5e76\u4e14\u4e24\u4e2a\u5377\u7ec4\u7684\u7269\u7406\u548c\u903b\u8f91\u5377\u6458\u8981\u90fd\u7b26\u5408 […]<\/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\/7538"}],"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=7538"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7538\/revisions"}],"predecessor-version":[{"id":7564,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7538\/revisions\/7564"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}