{"id":291396,"date":"2024-05-04T21:17:54","date_gmt":"2024-05-04T13:17:54","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxtwjkbylyyh.html"},"modified":"2024-05-04T21:17:54","modified_gmt":"2024-05-04T13:17:54","slug":"lxtwjkbylyyh","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtwjkbylyyh.html","title":{"rendered":"Linux\u7cfb\u7edf\u6587\u4ef6\u62f7\u8d1d\u539f\u7406\u4e0e\u4f18\u5316\u7b56\u7565\u8be6\u89e3\uff1a\u6df1\u5165\u89e3\u6790cp\u4e0ersync\u6307\u4ee4"},"content":{"rendered":"
Linux<\/a>\u7cfb\u7edf<\/a>\u5bf9\u62f7\u662f\u4e00\u9879\u6d89\u53ca\u591a\u65b9\u6280\u672f\u8981\u7d20\u7684\u590d\u6742\u4efb\u52a1\u3002\u81ea\u57fa\u7840\u6587\u4ef6\u590d\u5236\u81f3\u6570\u636e\u4f20\u8f93\u4f18\u5316\u7686\u56ca\u62ec\u5176\u4e2d\uff0c\u6d89\u53ca\u6587\u4ef6\u7cfb\u7edf\u3001\u5185\u6838\u673a\u5236\u548c\u7f51\u7edc\u4f20\u8f93\u7b49\u5173\u952e\u73af\u8282\u3002\u672c\u7bc7\u6587\u7ae0\u5c06\u6df1\u5165\u89e3\u6790\u5bf9\u62f7\u539f\u7406\u3001\u5e38\u7528\u5de5\u5177\u53ca\u4f18\u5316\u7b56\u7565\uff0c\u52a9\u60a8\u6d1e\u6089\u8fd9\u4e00\u6280\u672f\u9886\u57df\u7684\u5965\u79d8\u3002<\/p>\n 1.\u6587\u4ef6\u62f7\u8d1d\u57fa\u7840<\/b><\/p>\n \u6587\u4ef6\u590d\u5236\u4e3a\u5de5\u4f5c\u4e2d\u9891\u7e41\u884c\u4e3a\u3002Linux\u73af\u5883\u4e0b\uff0c\u4e3b\u8981\u4f7f\u7528'cp'\u4e0e'rsync'\u4e24\u6307\u4ee4\u8fdb\u884c\u6587\u4ef6\u590d\u5236\u3002\u524d\u8005\u7b80\u4fbf\u6613\u61c2\uff0c\u9002\u5408\u672c\u5730\u6587\u4ef6\u590d\u5236\uff1b\u540e\u8005\u5219\u5177\u5907\u6587\u4ef6\u540c\u6b65\u53ca\u589e\u91cf\u4f20\u8f93\u3001\u65ad\u70b9\u7eed\u4f20\u7b49\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u672c\u5730\u81f3\u8fdc\u7a0b\u4e3b\u673a\u95f4\u7684\u6587\u4ef6\u4f20\u8f93\u3002<\/p>\n \u5728\u5904\u7406\u5927\u578b\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u590d\u5236\u64cd\u4f5c\u65f6linux\u7cfb\u7edf\u5bf9\u62f7<\/strong>linux\u64cd\u4f5c\u7cfb\u7edf\u57f9\u8bad\uff0c\u96be\u514d\u51fa\u73b0\u8017\u8d39\u5927\u91cf\u65f6\u95f4\u53ca\u7cfb\u7edf\u8d44\u6e90\u7684\u60c5\u51b5\u3002\u6b64\u65f6\uff0c\u6211\u4eec\u53ef\u501f\u7531\u4f7f\u7528\u7279\u5b9a\u53c2\u6570\u5bf9\u590d\u5236\u8fc7\u7a0b\u8fdb\u884c\u4f18\u5316\uff0c\u5982\u91c7\u7528`-r`\u53c2\u6570\u5b9e\u73b0\u9012\u5f52\u590d\u5236\u76ee\u5f55\u3001`-P`\u53c2\u6570\u5c55\u793a\u590d\u5236\u8fdb\u5ea6\u7b49\u3002<\/p>\n <\/p>\n 2.\u6587\u4ef6\u62f7\u8d1d\u539f\u7406<\/b><\/p>\n \u6587\u4ef6\u590d\u5236\u8fc7\u7a0b\u6f5c\u85cf\u7740\u6df1\u5965\u7684\u79d1\u6280\u79d8\u5bc6\u3002\u5728Linux\u7cfb\u7edf\u5185\uff0c\u6587\u4ef6\u62f7\u8d1d\u88ab\u7406\u89e3\u4e3a\u6e90\u6587\u4ef6\u6570\u636e\u7684\u63d0\u53d6\u4e0e\u76ee\u6807\u6587\u4ef6\u6570\u636e\u7684\u586b\u5145\u3002\u5f53\u7528\u6237\u4f7f\u7528`cp`\u6216`rsync`\u6307\u4ee4\u65f6linux\u7cfb\u7edf\u5bf9\u62f7<\/strong>\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u501f\u52a9\u6587\u4ef6\u7cfb\u7edf\u63a5\u53e3\uff0c\u4ece\u6e90\u6587\u4ef6\u4e2d\u83b7\u53d6\u6570\u636e\uff0c\u5e76\u5c06\u5176\u5199\u5165\u76ee\u6807\u6587\u4ef6\u6216\u76ee\u5f55\u3002<\/p>\n \u5728\u6570\u636e\u4f20\u8f93\u8fc7\u7a0b\u4e4b\u4e2d\uff0c\u6db5\u76d6\u4e86\u8bf8\u5982\u7f13\u5b58\u3001\u78c1\u76d8I\/O\u4ee5\u53ca\u6587\u4ef6\u7cfb\u7edf\u7ba1\u7406\u4e4b\u7c7b\u8bf8\u591a\u73af\u8282\u3002\u4f8b\u5982\uff0c\u64cd\u4f5c\u7cfb\u7edf\u8fd0\u7528\u5185\u5b58\u7f13\u5b58\u4ee5\u63d0\u5347\u8bfb\u53d6\u4e0e\u5199\u5165\u901f\u5ea6\uff0c\u964d\u4f4e\u78c1\u76d8I\/O\u6b21\u6570\uff1b\u800c\u6587\u4ef6\u7cfb\u7edf\u5219\u62c5\u8d1f\u7740\u6587\u4ef6\u5b58\u50a8\u4e0e\u7d22\u5f15\u7684\u91cd\u4efb\uff0c\u65e8\u5728\u4fdd\u8bc1\u6570\u636e\u5b89\u5168\u5e76\u4fdd\u6301\u5176\u4e00\u81f4\u6027\u3002<\/p>\n <\/p>\n 3.\u62f7\u8d1d\u6027\u80fd\u4f18\u5316<\/b><\/p>\n \u63d0\u5347\u7cfb\u7edf\u6587\u4ef6\u64cd\u4f5c\u7684\u6548\u7387\u4e43\u662f\u4f18\u5316\u5de5\u4f5c\u7684\u6838\u5fc3\u8bfe\u9898\u4e4b\u4e00\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\uff0c\u53ef\u91c7\u53d6\u76f8\u5e94\u7b56\u7565\u52a0\u4ee5\u6539\u5584\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u5927\u578b\u6587\u4ef6\u590d\u5236\u65f6\uff0c\u8fd0\u7528\u591a\u7ebf\u7a0b\u6280\u672f\u6216\u5f02\u6b65IO\u673a\u5236\u4ee5\u63d0\u5347\u5e76\u884c\u6027\uff1b\u800c\u5728\u7f51\u7edc\u4f20\u8f93\u8fc7\u7a0b\u4e2d\uff0c\u5219\u53ef\u901a\u8fc7\u8c03\u6574TCP\u53c2\u6570\u6216\u91c7\u7528\u66f4\u4e3a\u9ad8\u6548\u7684\u4f20\u8f93\u534f\u8bae\uff0c\u4ece\u800c\u964d\u4f4e\u4f20\u8f93\u65f6\u95f4\u3002<\/p>\n \u5c24\u5176\u662f\u6587\u4ef6\u7cfb\u7edf\u7684\u9009\u62e9\u5bf9\u62f7\u8d1d\u6027\u80fd\u6709\u76f4\u63a5\u5f71\u54cd\u3002\u9ad8\u6548\u80fd\u6587\u4ef6\u7cfb\u7edf\u5982XFS\u3001ext4\u7b49\uff0c\u5728\u5904\u7406\u5927\u89c4\u6a21\u6587\u4ef6\u590d\u5236\u65f6\u5177\u6709\u4f18\u5f02\u8868\u73b0\u548c\u4f18\u5316\u65b9\u6848\u3002<\/p>\n <\/p>\n 4.\u6570\u636e\u4e00\u81f4\u6027\u4fdd\u969c<\/b><\/p>\n \u5728\u6587\u4ef6\u62f7\u8d1d\u6d41\u7a0b\u91cc\uff0c\u52a1\u5fc5\u4fdd\u8bc1\u6570\u636e\u7684\u4e00\u81f4\u6027\u4e0e\u5b8c\u6574\u6027\uff0c\u5c24\u5176\u5728\u7f51\u7edc\u4f20\u8f93\u73af\u5883\u4e0b\uff0c\u6570\u636e\u6613\u53d7\u7f51\u7edc\u6ce2\u52a8\u6216\u4e2d\u65ad\u5f71\u54cd\uff0c\u4ece\u800c\u5f15\u53d1\u4f20\u8f93\u6545\u969c\u6216\u6570\u636e\u635f\u5bb3\u3002<\/p>\n \u4e3a\u786e\u4fdd\u6570\u636e\u5b89\u5168\u6027\uff0c\u5e94\u5b9e\u65bd\u591a\u79cd\u7b56\u7565\uff0c\u5982\u8fd0\u7528\u6821\u9a8c\u7801\u68c0\u9a8c\u6570\u636e\u5b8c\u6574\u6027\u3001\u8bbe\u7acb\u91cd\u4f20\u673a\u5236\u4ee5\u89e3\u51b3\u4f20\u8f93\u4e2d\u6b62\u95ee\u9898\u7b49\u3002<\/p>\n <\/p>\n 5.\u5b9e\u8df5\u6848\u4f8b\u5206\u6790<\/b><\/p>\n \u4e3a\u6df1\u5165\u4e86\u89e3Linux\u7cfb\u7edf\u5728\u5b9e\u9645\u62f7\u8d1d\u8fd0\u7528\u4e2d\u7684\u6548\u80fd\uff0c\u53ef\u7ed3\u5408\u4f8b\u5982`rsync`\u4e0e`scp`\u7b49\u6307\u4ee4\uff0c\u4ee5\u4f18\u5316\u6570\u636e\u5907\u4efd\u53ca\u6062\u590d\u6d41\u7a0b\u5e76\u786e\u4fdd\u654f\u611f\u4fe1\u606f\u7684\u5b89\u4fdd\u63aa\u65bd\u5f97\u4ee5\u8d2f\u5f7b\u6267\u884c\u3002<\/p>\n 6.\u62f7\u8d1d\u5de5\u5177\u4ecb\u7ecd<\/b><\/p>\n