{"id":8789,"date":"2020-09-22T17:51:18","date_gmt":"2020-09-22T09:51:18","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8789"},"modified":"2020-09-22T21:04:08","modified_gmt":"2020-09-22T13:04:08","slug":"metattach","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/metattach","title":{"rendered":"metattach\u547d\u4ee4 – \u9644\u52a0\u6216\u5206\u79bb\u5143\u8bbe\u5907"},"content":{"rendered":"\n

metattach\u5c06\u5b50\u955c\u50cf\u6dfb\u52a0\u5230\u955c\u50cf\uff0c\u589e\u957f\u5143\u8bbe\u5907\u6216\u589e\u957f\u8f6f\u5206\u533a\u3002\u65e0\u9700\u4e2d\u65ad\u670d\u52a1\u5373\u53ef\u5b8c\u6210\u5143\u8bbe\u5907\u7684\u589e\u957f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>metattach[\u53c2\u6570]<\/p>\n\n\n\n

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

\u2013A <\/strong>alignment<\/var><\/td>\u8bbe\u7f6e\u8f6f\u5206\u533a\u8303\u56f4\u5bf9\u9f50\u7684\u503c<\/td><\/tr>
\u2013f<\/td>\u5f3a\u5236\u5206\u79bb\u5177\u6709\u9700\u8981\u7ef4\u62a4\u6216\u7e41\u5fd9\u7684\u7ec4\u4ef6\u7684\u5143\u8bbe\u5907<\/td><\/tr>
-h<\/td>\u663e\u793a\u7528\u6cd5\u6d88\u606f<\/td><\/tr>
\u2013s setname<\/var><\/td>\u6307\u5b9a\u5728\u5176\u4e0a\u8fd0\u884cmetattach\u547d\u4ee4\u6216metadetach\u547d\u4ee4\u7684\u78c1\u76d8\u96c6\u7684\u540d\u79f0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5c06\u5355\u4e2a\u65b0\u5207\u7247\u8fde\u63a5\u5230\u73b0\u6709\u5143\u8bbe\u5907Volume.1\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# metattach Volume.1 \/dev\/dsk\/c0t1d0s2<\/pre>\n\n\n\n

\u5c06\u65e5\u5fd7\u8bb0\u5f55\u8bbe\u5907\u4e0e\u8de8\u4e2d\u7ee7\u8bbe\u5907d9\u5206\u79bb\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# metadetach d9<\/pre>\n\n\n\n

\u901a\u8fc7\u9644\u52a0\u53e6\u4e00\u4e2a\u7247\u6765\u6269\u5c55RAID5\u5143\u8bbe\u5907d45\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# metattach d45 \/dev\/dsk\/c3t0d0s2<\/pre>\n\n\n\n

\u4f8b\u5c06\u5b50\u955c\u50cfd2\u4e0e\u955c\u50cfd4\u5206\u79bb\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# metadetach d4 d2<\/pre>\n","protected":false},"excerpt":{"rendered":"

metattach\u5c06\u5b50\u955c\u50cf\u6dfb\u52a0\u5230\u955c\u50cf\uff0c\u589e\u957f\u5143\u8bbe\u5907\u6216\u589e\u957f\u8f6f\u5206\u533a\u3002\u65e0\u9700\u4e2d\u65ad\u670d\u52a1\u5373\u53ef\u5b8c\u6210\u5143\u8bbe\u5907\u7684\u589e\u957f\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1am […]<\/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\/8789"}],"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=8789"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8789\/revisions"}],"predecessor-version":[{"id":8928,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8789\/revisions\/8928"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}