{"id":294125,"date":"2024-11-03T20:04:28","date_gmt":"2024-11-03T12:04:28","guid":{"rendered":"https:\/\/lrxjmw.cn\/lczxtzcydcpx.html"},"modified":"2024-11-03T20:04:28","modified_gmt":"2024-11-03T12:04:28","slug":"lczxtzcydcpx","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lczxtzcydcpx.html","title":{"rendered":"Linux \u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5e38\u7528\u7684\u78c1\u76d8\u4fee\u590d\u5de5\u5177\u53ca\u5176\u91cd\u8981\u6027"},"content":{"rendered":"
\u5728Linux<\/a>\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u78c1\u76d8\u4fee\u590d\u5de5\u5177\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u80fd\u591f\u6709\u6548\u5e94\u5bf9\u78c1\u76d8\u53ef\u80fd\u51fa\u73b0\u7684\u591a\u79cd\u95ee\u9898\uff0c\u6bd4\u5982\u574f\u9053\u3001\u6587\u4ef6\u7cfb\u7edf\u9519\u8bef\u7b49\u3002\u8fd9\u6837\u7684\u529f\u80fd\u4fdd\u969c\u4e86\u78c1\u76d8\u6570\u636e\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u8bbf\u95ee\u6027\u3002\u8fd9\u5bf9\u4e8e\u4fdd\u8bc1Linux<\/a>\u7cfb\u7edf\u7684\u7a33\u5b9a\u8fd0\u884c\u5177\u6709\u6781\u5176\u91cd\u8981\u7684\u610f\u4e49\u3002<\/p>\n \u5e38\u89c1\u7684\u78c1\u76d8\u4fee\u590d\u5de5\u5177<\/b><\/p>\n Linux\u7cfb\u7edf\u91cc\uff0c\u6709\u8bb8\u591a\u5e38\u7528\u7684\u78c1\u76d8\u4fee\u590d\u8f6f\u4ef6\u3002\u6bd4\u5982Fsck\uff0c\u5b83\u64c5\u957f\u68c0\u6d4b\u548c\u4fee\u6b63\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u95ee\u9898\u3002\u4e00\u65e6\u6587\u4ef6\u7cfb\u7edf\u51fa\u73b0\u903b\u8f91\u4e0a\u7684\u9519\u8bef\uff0cFsck\u4fbf\u80fd\u53d1\u73b0\u5e76\u4fee\u6b63\u8bf8\u5982\u6587\u4ef6\u94fe\u63a5\u9519\u8bef\u3001\u7a7a\u95f2\u5757\u5217\u8868\u9519\u8bef\u7b49\u95ee\u9898\u3002\u6b64\u5916\uff0cScrub\u4e5f\u662f\u4e00\u6b3e\u4e13\u95e8\u7528\u4e8e\u68c0\u67e5\u548c\u4fee\u590d\u78c1\u76d8\u574f\u9053\u7684\u5de5\u5177\u3002\u4f7f\u7528Scrub\uff0c\u6211\u4eec\u80fd\u591f\u53ca\u65f6\u53d1\u73b0\u78c1\u76d8\u8868\u9762\u53ef\u80fd\u5b58\u5728\u7684\u7269\u7406\u635f\u574f\uff0c\u6709\u6548\u9884\u9632\u6570\u636e\u4e22\u5931\u3002<\/p>\n \u5728\u5b9e\u9645\u5de5\u4f5c\u548c\u751f\u6d3b\u4e2d\uff0c\u9047\u5230\u78c1\u76d8\u8bfb\u53d6\u901f\u5ea6\u6162\u6216I\/O\u9519\u8bef\u9891\u53d1\u7684\u60c5\u51b5\uff0c\u4e0d\u59a8\u8003\u8651\u4f7f\u7528Fsck\u6216Scrub\u3002\u8fd9\u4e24\u79cd\u5de5\u5177\u80fd\u5e2e\u52a9\u4f60\u68c0\u67e5\uff0c\u770b\u770b\u95ee\u9898\u662f\u5426\u51fa\u5728\u78c1\u76d8\u6587\u4ef6\u7cfb\u7edf\u6216\u574f\u9053\u4e0a\u3002<\/p>\n Fsck\u7684\u5de5\u4f5c\u539f\u7406<\/b><\/p>\n Fsck\u901a\u8fc7\u626b\u63cf\u6587\u4ef6\u7cfb\u7edf\u7684\u5143\u6570\u636e\u4fe1\u606f\u8fdb\u884c\u64cd\u4f5c\u3002\u9996\u5148\uff0c\u5b83\u4f1a\u6838\u5bf9\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u8d85\u7ea7\u5757\uff0c\u8d85\u7ea7\u5757\u4e2d\u5305\u542b\u4e86\u6587\u4ef6\u7cfb\u7edf\u7684\u5173\u952e\u4fe1\u606f\u3002\u4e00\u65e6\u8d85\u7ea7\u5757\u51fa\u73b0\u9519\u8bef\uff0c\u53ef\u80fd\u4f1a\u4f7f\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002\u63a5\u7740\uff0cFsck\u4f1a\u68c0\u67e5inode\uff0cinode\u4e2d\u4fdd\u5b58\u7740\u6587\u4ef6\u7684\u5404\u79cd\u5c5e\u6027\u548c\u76f8\u5173\u4fe1\u606f\u3002\u5982\u679cinode\u6570\u636e\u51fa\u73b0\u9519\u8bef\uff0c\u53ef\u80fd\u4f1a\u9020\u6210\u76f8\u5e94\u6587\u4ef6\u65e0\u6cd5\u8fdb\u884c\u6b63\u5e38\u7684\u8bfb\u5199\u64cd\u4f5c\u3002<\/p>\n \u5728Linux\u670d\u52a1\u5668\u8fd0\u7ef4\u4e2d\u78c1\u76d8\u4fee\u590d\u5de5\u5177 linux<\/strong>\uff0c\u7cfb\u7edf\u7ba1\u7406\u5458\u5e38\u9047\u7cfb\u7edf\u542f\u52a8\u6545\u969c\u6216\u6587\u4ef6\u8bbf\u95ee\u969c\u788d\uff0c\u8fd9\u65f6\uff0c\u4ed6\u4eec\u5e38\u4f1a\u6000\u7591\u662f\u6587\u4ef6\u7cfb\u7edf\u51fa\u4e86\u95ee\u9898\u3002\u800cFsck\uff0c\u4fbf\u6210\u4e3a\u6392\u67e5\u6b64\u7c7b\u95ee\u9898\u7684\u5173\u952e\u5de5\u5177\u3002<\/p>\n Scrub\u7684\u4f18\u52bf<\/b><\/p>\n Scrub\u7684\u663e\u8457\u4f18\u70b9\u5728\u4e8e\u5176\u78c1\u76d8\u574f\u9053\u68c0\u6d4b\u7684\u9ad8\u6548\u6027\u3002\u5b83\u80fd\u6df1\u5165\u5230\u78c1\u76d8\u7684\u5404\u4e2a\u5b58\u50a8\u533a\u57df\u8fdb\u884c\u6570\u636e\u6821\u9a8c\u3002\u76f8\u8f83\u5176\u4ed6\u5de5\u5177\uff0cScrub\u80fd\u66f4\u7cbe\u786e\u5730\u627e\u51fa\u78c1\u76d8\u8868\u9762\u53ef\u80fd\u5b58\u5728\u7684\u635f\u574f\u70b9\u3002<\/p>\n \u78c1\u76d8\u4f7f\u7528\u4e45\u4e86\u6216\u9047\u5230\u7a81\u7136\u65ad\u7535\u8fd9\u7c7b\u5f02\u5e38\u60c5\u51b5\uff0cScrub\u7684\u6df1\u5ea6\u78c1\u76d8\u68c0\u6d4b\u529f\u80fd\u5c31\u663e\u5f97\u7279\u522b\u5173\u952e\u3002\u5b83\u80fd\u63d0\u524d\u63ed\u793a\u6f5c\u5728\u7684\u98ce\u9669\uff0c\u9632\u6b62\u6570\u636e\u5371\u673a\u7684\u6269\u5927\u3002<\/p>\n <\/p>\n \u5982\u4f55\u9009\u62e9\u5408\u9002\u5de5\u5177<\/b><\/p>\n \u9047\u5230\u78c1\u76d8\u95ee\u9898\u4e3b\u8981\u5728\u6587\u4ef6\u7cfb\u7edf\u9519\u8bef\u4e0alinux\u7cfb\u7edf\u5e94\u7528\uff0c\u6bd4\u5982\u6587\u4ef6\u5220\u4e0d\u6389\u3001\u6587\u4ef6\u4e0d\u5b8c\u6574\u7b49\u60c5\u51b5\uff0cFsck\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u5b83\u5728\u4fee\u590d\u6587\u4ef6\u7cfb\u7edf\u903b\u8f91\u5173\u7cfb\u65b9\u9762\u7279\u522b\u5728\u884c\u3002<\/p>\n \u4e00\u65e6\u7269\u7406\u5b66\u9886\u57df\u4e2d\u7684\u78c1\u76d8\u5065\u5eb7\u51fa\u73b0\u95ee\u9898\uff0c\u6bd4\u5982\u8bfb\u5199\u64cd\u4f5c\u51fa\u73b0\u5f02\u5e38\u3001\u54cd\u5e94\u901f\u5ea6\u53d8\u5f97\u7f13\u6162\uff0c\u90a3\u4e48\u57fa\u672c\u4e0a\u53ef\u4ee5\u5224\u65ad\u662f\u78c1\u76d8\u51fa\u73b0\u4e86\u574f\u9053\u7b49\u95ee\u9898\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528Scrub\u5de5\u5177\u5c31\u66f4\u4e3a\u9002\u5b9c\u3002\u8fd9\u9700\u8981\u6839\u636e\u78c1\u76d8\u51fa\u73b0\u95ee\u9898\u7684\u8868\u9762\u73b0\u8c61\u548c\u6f5c\u5728\u539f\u56e0\u6765\u51b3\u5b9a\u3002<\/p>\n <\/p>\n \u4f7f\u7528\u78c1\u76d8\u4fee\u590d\u5de5\u5177\u7684\u6ce8\u610f\u4e8b\u9879<\/b><\/p>\n