{"id":8758,"date":"2020-09-22T17:29:16","date_gmt":"2020-09-22T09:29:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8758"},"modified":"2020-09-22T22:08:24","modified_gmt":"2020-09-22T14:08:24","slug":"metaparam","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/metaparam","title":{"rendered":"metaparam\u547d\u4ee4 – \u4fee\u6539\u5143\u8bbe\u5907\u7684\u53c2\u6570"},"content":{"rendered":"\n

metaparam\u547d\u4ee4\u7528\u4e8e\u663e\u793a\u6216\u4fee\u6539\u5143\u6570\u636e\u7684\u5f53\u524d\u53c2\u6570\u3002\u5982\u679c\u4ec5\u5c06metadevice\u6307\u5b9a\u4e3ametaparam\u547d\u4ee4\u7684\u53c2\u6570\uff0c\u5219\u4f1a\u663e\u793a\u5f53\u524d\u8bbe\u7f6e\u3002<\/p>\n\n\n\n

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

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

--<\/strong>h<\/td>\u663e\u793a\u4f7f\u7528\u60c5\u51b5\u6d88\u606f<\/td><\/tr>
\u2013s setname<\/var><\/td>\u6307\u5b9a\u8fd0\u884cmetaparam\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\u70ed\u5907\u7528\u6c60user_pool\u4e0eRAID5\u5143\u8bbe\u5907user_raid\u5173\u8054\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# metaparam -h user_pool user_raid<\/pre>\n\n\n\n

\u5c06\u955c\u50cfd50\u4e0a\u7684read\u9009\u9879\u4ece\u9ed8\u8ba4\u7684roundrobin\u66f4\u6539\u4e3ageometric\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# metaparam -r geometric d50<\/pre>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

metaparam\u547d\u4ee4\u7528\u4e8e\u663e\u793a\u6216\u4fee\u6539\u5143\u6570\u636e\u7684\u5f53\u524d\u53c2\u6570\u3002\u5982\u679c\u4ec5\u5c06metadevice\u6307\u5b9a\u4e3ametaparam\u547d\u4ee4 […]<\/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\/8758"}],"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=8758"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8758\/revisions"}],"predecessor-version":[{"id":8934,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8758\/revisions\/8934"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}