\n
\u5982\u4f55\u8ba1\u7b97\u51fa\u5206\u533a\u652f\u6301\u7684\u6700\u591ainodes\u6570\u91cf\u5462\uff1f<\/h1>\n
\u6bd4\u5982500GB\u786c\u76d8\uff1d524288000kb
\n524288000\u4e2ainodes\uff0c5\u4ebf\u591a\u4e2a\u3002<\/p>\n
\u4ee5\u4e0b\u662f\u81ea\u5b9a\u4e49inodes\u503c\uff0c\u5176\u5b9e\u6b63\u5e38\u60c5\u51b5\u662f\u4e0d\u9700\u8981\u7684\u3002<\/h1>\n
\u56e0\u4e3a60GB\u5206\u533a\u9ed8\u8ba4\u5206\u914d400\u4e07\u4e2ainodes\uff0c\u4e00\u4e2a\u56fe\u7247100KB\u7b97\uff0c400\u4e07\u4e2ainodes\u5b58\u6ee1\u4f1a\u8fbe\u5230400GB\u5c3a\u5bf8\uff0c\u5df2\u7ecf\u8d85\u8fc7\u5206\u533a\u672c\u8eab\u5bb9\u91cf\uff0c\u6240\u4ee5\u4e0d\u7528\u7279\u610f\u81ea\u5b9a\u4e49inodes\u3002<\/p>\n
ext4\u683c\u5f0f\u6700\u4f4e\u7684bytes-per-inode\u503c\u4e3a1024 \u597d\u5427\u6211\u4eec\u6839\u636e\u78c1\u76d8\u5927\u5c0f\u624b\u52a8\u6307\u5b9aInodes\u6700\u5927\u6570\u5427
\nfdisk -l<\/p>\n
\u65b0\u7684\u78c1\u76d8\u662f\/dev\/sdb 32g
\n\u6211\u4eec\u53ef\u4ee5\u770b\u5230\/dev\/sdb \u8fd9\u4e2a\u76d8\u5171\u6709 32212254720 bytes \u53ef\u7528\u90a3\u6211\u4eec\u624b\u5de5\u8ba1\u7b97\u4e0b\u4ed6\u5141\u8bb8\u7684\u6700\u5927\u7684inode\u6570\u76ee31457280 \u597d\u4e86\u7b97\u51fa\u6765\u4e86\u6211\u4eec\u73b0\u5728\u5c31\u53ef\u4ee5\u6307\u5b9aInodes\u503c\u683c\u76d8\u4e86
\nmkfs.ext4 -N 31457280 \/dev\/sdb
\n\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u7528 mkfs.ext4 -i 1024 \/dev\/sdb mkfs.ext4 -i 2048 \/dev\/sdb mkfs.ext4 -i 4096 \/dev\/sdb \u8fd9\u6837\u6765\u683c\u76d8\u8c03\u6574Inodes\u503c
\n\u6302\u76d8
\nmount \/dev\/xvdd \/home\/1
\n\u67e5\u770bInodes\u4f7f\u7528\u6570df -i
\n\u597d\u4e86\u3002\u3002\u662f\u4e0d\u662f\u5df2\u7ecf\u5343\u4e07\u7ea7\u522b\u4e86\u3002\u3002\u57fa\u672c\u7b49\u4e8e\u65e0\u9650\u3002\u3002\u3002
\n\u6ce8\u610f\u66f4\u591a\u7684Inodes\u503c\u4f1a\u5360\u7528\u78c1\u76d8\u7684\u5bb9\u91cf\u5927\u7ea6\u662f\u767e\u5206\u4e4b\u4e00\u3002\u4e3a\u4e86\u83b7\u53d6\u66f4\u591a\u7684\u53ef\u7528\u6587\u4ef6\u6570\u76f8\u4fe1\u5927\u5bb6\u4e5f\u4e0d\u4f1a\u5728\u4e4e\u90a3\u51e0\u767eM\u7684\u78c1\u76d8\u7a7a\u95f4\u5427\u3002\u597d\u4e86\u672c\u6b21\u6559\u7a0b\u5230\u6b64\u4e3a\u6b62\u3002\u3002\u8840\u7684\u6559\u8bad\u554a\uff0c\u5410\u69fd\u554aext4 \u683c\u5f0f\u4e0b100G\u7684\u78c1\u76d8\u9ed8\u8ba4\u683c\u76d8\u624d\u7ed9\u4e86\u6211600w\u7684\u53ef\u7528\u6587\u4ef6\u6570\u5410\u8840\u603b\u4e48\u53ef\u80fd\u6ee1\u8db3\u4e07\u6076\u7684html\u6587\u4ef6\u548c\u7f29\u7565\u56fe\u6587\u4ef6\u7684\u9700\u6c42\u5462<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"
Ext3 \u76ee\u524d\u53ea\u652f\u6301 32,000 \u4e2a\u5b50\u76ee\u5f55\uff0c\u800c Ext4 \u672c\u8eab\u652f\u6301\u65e0\u9650\u6570\u91cf\u7684\u5b50\u76ee\u5f55\uff0c\u524d\u63d0\u662f\u5206\u533ainodes\u6570 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[335,336,337],"class_list":["post-1180","post","type-post","status-publish","format-standard","hentry","category-wljs","tag-ext4","tag-inodes","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=1180"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1180\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=1180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=1180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}