{"id":3918,"date":"2019-07-27T00:02:18","date_gmt":"2019-07-26T16:02:18","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3918"},"modified":"2019-07-28T10:46:07","modified_gmt":"2019-07-28T02:46:07","slug":"vgrename","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vgrename","title":{"rendered":"vgrename\u547d\u4ee4 – \u91cd\u547d\u540d\u5377\u7ec4"},"content":{"rendered":"\n
\u5728Linux\u4e0b\u4f7f\u7528\u65b0\u786c\u76d8\u5b89\u88c5\u7cfb\u7edf\uff0c\u5b89\u88c5\u597d\u4ee5\u540e\u518d\u6302\u8f7d\u539f\u6765\u7684\u786c\u76d8\uff0c\u5206\u533a\u683c\u5f0f\u5168\u4e3a\u7cfb\u7edf\u9ed8\u8ba4\u5206\u533a\uff0c\u7cfb\u7edf\u9ed8\u8ba4\u4f7f\u7528\u7684\u662flvm\u683c\u5f0f\uff0c\u5e76\u4e14\u9ed8\u8ba4\u7684\u5377\u90fd\u662f VolGroup00\u3002\u6211\u4eec\u6b64\u65f6\u5c31\u9700\u8981\u4f7f\u7528vgrename\u547d\u4ee4\u6765\u91cd\u547d\u540d\u5377\u7ec4\uff0c\u6765\u89e3\u51b3\u91cd\u540d\u7684\u51b2\u7a81\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vgrename [\u53c2\u6570]<\/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 \u91cd\u547d\u540d\u5377\u7ec4\/dev\/vg1\u4e3a\/dev\/vg2\uff1a<\/p>\n\n\n\n \u91cd\u547d\u540d\u5377\u7ec4vg1\u4e3avg2\uff1a<\/p>\n\n\n\n \u5728Linux\u4e0b\u4f7f\u7528\u65b0\u786c\u76d8\u5b89\u88c5\u7cfb\u7edf\uff0c\u5b89\u88c5\u597d\u4ee5\u540e\u518d\u6302\u8f7d\u539f\u6765\u7684\u786c\u76d8\uff0c\u5206\u533a\u683c\u5f0f\u5168\u4e3a\u7cfb\u7edf\u9ed8\u8ba4\u5206\u533a\uff0c\u7cfb\u7edf\u9ed8\u8ba4\u4f7f\u7528\u7684\u662flvm […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3918"}],"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=3918"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3918\/revisions"}],"predecessor-version":[{"id":4456,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3918\/revisions\/4456"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-d <\/td> \u542f\u7528\u8c03\u8bd5\u6a21\u5f0f <\/td><\/tr> -t <\/td> \u542f\u7528\u6d4b\u8bd5\u6a21\u5f0f <\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# vgrename \/dev\/vg1 \/dev\/vg2\n Volume group \"vg1\" successfullyrenamed to \"vg2\"<\/pre>\n\n\n\n
[root@linuxcool ~]# vgrename vg1 vg2\n Volume group \"vg1\" successfully renamed to \"vg2\"<\/pre>\n","protected":false},"excerpt":{"rendered":"