{"id":7526,"date":"2020-05-23T19:50:47","date_gmt":"2020-05-23T11:50:47","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7526"},"modified":"2020-05-23T19:50:48","modified_gmt":"2020-05-23T11:50:48","slug":"pvmove","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/pvmove","title":{"rendered":"pvmove\u547d\u4ee4 – \u79fb\u52a8\u7269\u7406\u76d8\u533a"},"content":{"rendered":"\n
pvmove\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5c06\u6e90\u7269\u7406\u5377\u4e0a\u7684\u7269\u7406\u76d8\u533a\u79fb\u52a8\u5230\u4e00\u4e2a\u6216\u591a\u4e2a\u5176\u4ed6\u7684\u76ee\u6807\u7269\u7406\u5377\u3002<\/p>\n\n\n\n
\u4f7f\u7528pvmove\u547d\u4ee4\u65f6\u53ef\u4ee5\u6307\u5b9a\u4e00\u4e2a\u6e90\u65e5\u5fd7\u6216\u5377\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ea\u6709\u903b\u8f91\u5377\u4f7f\u7528\u7684\u533a\u624d\u4f1a\u88ab\u79fb\u52a8\u5230\u76ee\u6807\u7269\u7406\u5377\u4e0a\u7684\u7a7a\u95f2\u6216\u6307\u5b9a\u7684\u533a\u3002\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u7684\u7269\u7406\u5377\uff0c\u5219\u4f7f\u7528\u5377\u7ec4\u7684\u9ed8\u8ba4\u89c4\u5219\u5206\u914d\u3002<\/p>\n\n\n\n
\u5982\u679cpvmove\u547d\u4ee4\u6267\u884c\u65f6\u7531\u4e8e\u4efb\u4f55\u539f\u56e0\u4e2d\u65ad\uff08\u4f8b\u5982\u673a\u5668\u5d29\u6e83\uff09\uff0c\u90a3\u4e48\u91cd\u65b0\u542f\u52a8\u4e0a\u4e00\u4e2a\u68c0\u67e5\u70b9\u6b63\u5728\u8fdb\u884c\u7684\u4efb\u4f55\u64cd\u4f5c\u65f6pvmove\u547d\u4ee4\u4f1a\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u3002\u53ef\u4ee5\u4e00\u6b21\u8fd0\u884c\u591a\u4e2apvmove\u547d\u4ee4\uff0c\u524d\u63d0\u4ece\u4e0d\u540c\u7684\u6e90\u7269\u7406\u5377\u79fb\u52a8\u6570\u636e\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>pvmove [\u53c2\u6570] [\u6e90\u7269\u7406\u5377] [\u76ee\u6807\u7269\u7406\u5377]<\/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 \u79fb\u52a8\u7269\u7406\u5377\/dev\/sda5\u4e0a\u7684\u6240\u6709\u7684\u7269\u7406\u76d8\u533a\uff1a<\/p>\n\n\n\n \u5c06\u6e90\u7269\u7406\u5377\/dev\/sda5\u4e0a\u7684\u7269\u7406\u76d8\u533a\u79fb\u52a8\u5230\u7269\u7406\u5377\/dev\/sda6\u4e0a\uff1a<\/p>\n\n\n\n \u5c06\u6e90\u7269\u7406\u5377\/dev\/sda5\u4e0a\u7684\u7269\u7406\u76d8\u533a1000~1999\u79fb\u52a8\u5230\u7269\u7406\u5377\/dev\/sda6\u4e0a\uff1a<\/p>\n\n\n\n \u4e2d\u6b62\u6b63\u5728\u8fdb\u884c\u7684\u4efb\u4f55\u79fb\u52a8\uff1a<\/p>\n\n\n\n pvmove\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5c06\u6e90\u7269\u7406\u5377\u4e0a\u7684\u7269\u7406\u76d8\u533a\u79fb\u52a8\u5230\u4e00\u4e2a\u6216\u591a\u4e2a\u5176\u4ed6\u7684\u76ee\u6807\u7269\u7406\u5377\u3002 \u4f7f\u7528pvmove\u547d\u4ee4\u65f6\u53ef […]<\/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\/7526"}],"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=7526"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7526\/revisions"}],"predecessor-version":[{"id":7599,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7526\/revisions\/7599"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-- -abort<\/td> \u4e2d\u6b62\u6b63\u5728\u8fdb\u884c\u7684\u4efb\u4f55\u79fb\u52a8<\/td><\/tr> -- -noudevsync<\/td> \u7981\u7528udev\u540c\u6b65<\/td><\/tr> -i<\u65f6\u95f4\u95f4\u9694><\/td> \u4ee5\u56fa\u5b9a\u7684\u65f6\u95f4\u95f4\u9694\u62a5\u544a\u8fdb\u5ea6\u767e\u5206\u6bd4\uff0c\u5355\u4f4d\u4e3a\u79d2<\/td><\/tr> -b<\/td> \u5728\u540e\u53f0\u8fd0\u884c\u5b88\u62a4\u8fdb\u7a0b<\/td><\/tr> -n<\u903b\u8f91\u5377><\/td> \u4ece\u6e90\u7269\u7406\u5377\u53ea\u79fb\u52a8\u5c5e\u4e8e\u903b\u8f91\u5377\u4e2d\u7684\u76d8\u533a\uff0c\u800c\u4e0d\u662f\u6240\u6709\u5206\u914d\u76d8\u533a\u5230\u76ee\u6807\u7269\u7406\u5377<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# pvmove \/dev\/sda5<\/pre>\n\n\n\n
[root@linuxcool ~]# pvmove \/dev\/sda5 \/dev\/sda6<\/pre>\n\n\n\n
[root@linuxcool ~]# pvmove \/dev\/sda5:1000-1999 \/dev\/sda6<\/pre>\n\n\n\n
[root@linuxcool ~]# pvmove --abort<\/pre>\n","protected":false},"excerpt":{"rendered":"