{"id":8765,"date":"2020-09-22T17:51:18","date_gmt":"2020-09-22T09:51:18","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8765"},"modified":"2020-09-22T17:51:18","modified_gmt":"2020-09-22T09:51:18","slug":"metarename%e5%91%bd%e4%bb%a4-%e9%87%8d%e5%91%bd%e5%90%8d%e5%85%83%e7%bb%84%e4%bb%b6%e6%88%96%e5%88%87%e6%8d%a2%e5%88%86%e5%b1%82%e5%85%83%e7%bb%84%e4%bb%b6%e5%90%8d%e7%a7%b0","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/metarename%e5%91%bd%e4%bb%a4-%e9%87%8d%e5%91%bd%e5%90%8d%e5%85%83%e7%bb%84%e4%bb%b6%e6%88%96%e5%88%87%e6%8d%a2%e5%88%86%e5%b1%82%e5%85%83%e7%bb%84%e4%bb%b6%e5%90%8d%e7%a7%b0","title":{"rendered":"metarename\u547d\u4ee4 -\u91cd\u547d\u540d\u5143\u7ec4\u4ef6\u6216\u5207\u6362\u5206\u5c42\u5143\u7ec4\u4ef6\u540d\u79f0"},"content":{"rendered":"\n
\u91cd\u547d\u540d\u5143\u7ec4\u4ef6\u6216\u5207\u6362\u5206\u5c42\u5143\u7ec4\u4ef6\u540d\u79f0<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>metarename[\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 \u5c06\u540d\u4e3ad10\u7684\u5143\u8bbe\u5907\u91cd\u547d\u540d\u4e3aaccount_records\uff1a<\/p>\n\n\n\n \u4ece\u73b0\u6709\u7684\u540d\u4e3ad1\u7684\u5e26\u5b89\u88c5\u4e86\u6587\u4ef6\u7cfb\u7edf\/ home2\u7684\u6761\u5e26\u521b\u5efa\u53cc\u5411\u955c\u50cf\uff1a<\/p>\n\n\n\n \u5220\u9664\u4e00\u4e2a\u540d\u4e3ad10\u7684trans\u5143\u8bbe\u5907\uff0c\u5176\u6302\u8f7d\u70b9\u4e3a\/ myhome\uff0c\u6761\u5e26\u5316\u7684\u4e3b\u8bbe\u5907\u540d\u4e3ad2\uff0c\u8bb0\u5f55\u8bbe\u5907\uff08\u4e5f\u662f\u6761\u5e26\uff09\u540d\u4e3ad5\uff1a<\/p>\n\n\n\n \u91cd\u547d\u540d\u5143\u7ec4\u4ef6\u6216\u5207\u6362\u5206\u5c42\u5143\u7ec4\u4ef6\u540d\u79f0 \u8bed\u6cd5\u683c\u5f0f\uff1ametarename[\u53c2\u6570] \u5e38\u7528\u53c2\u6570\uff1a -f \u5f3a\u5236\u8f6c\u6362\u8de8\u5143\u8bbe\u5907\u6210 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8765"}],"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=8765"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8765\/revisions"}],"predecessor-version":[{"id":8767,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8765\/revisions\/8767"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-f<\/td> \u5f3a\u5236\u8f6c\u6362\u8de8\u5143\u8bbe\u5907\u6210\u5458<\/td><\/tr> -h<\/td> \u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr> \u2013s\u00a0setname<\/var><\/td> \u6307\u5b9a\u5c06\u5728\u5176\u4e0a\u4f7f\u7528metarename\u7684\u78c1\u76d8\u96c6\u7684\u540d\u79f0<\/td><\/tr> -x<\/td> \u4ea4\u6362\u5143\u8bbe\u5907\u540d\u79f0metadevice1<\/var>\u548cmetadevice2<\/var><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool~]\uff03metarename d10 account_records<\/pre>\n\n\n\n
[root@linuxcool~]# metainit d2 1 1 c13d0s1 \n# metainit -f d20 -m d1 \n# umount \/home2 \n# metarename -x d20 d1 \n# metattach d1 d2 # mount \/home2<\/pre>\n\n\n\n
[root@linuxcool~]# umount \/myhome \n# metadetach d10 \n# metarename -f -x d10 d2 \n# metaclear d2 # metaclear d5 \n# fsck \/dev\/md\/dsk\/d10 # mount \/myhome<\/pre>\n","protected":false},"excerpt":{"rendered":"