{"id":294981,"date":"2024-12-14T20:11:51","date_gmt":"2024-12-14T12:11:51","guid":{"rendered":"https:\/\/lrxjmw.cn\/lczxtzhlfpcp.html"},"modified":"2024-12-14T20:11:51","modified_gmt":"2024-12-14T12:11:51","slug":"lczxtzhlfpcp","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lczxtzhlfpcp.html","title":{"rendered":"Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5408\u7406\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u7684\u5173\u952e\u65b9\u6cd5\u4e0e\u7b56\u7565\u8be6\u89e3"},"content":{"rendered":"

\u5728Linux<\/a>\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u5408\u7406\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u6781\u4e3a\u5173\u952e\u3002\u8fd9\u6837\u7684\u5206\u914d\u6709\u52a9\u4e8e\u7cfb\u7edf\u987a\u7545\u7a33\u5b9a\u5730\u8fd0\u884c\uff0c\u5bf9\u8f6f\u4ef6\u7684\u5b89\u88c5\u3001\u6570\u636e\u7684\u5b58\u50a8\u7b49\u6838\u5fc3\u529f\u80fd\u81f3\u5173\u91cd\u8981\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4f1a\u4ece\u591a\u4e2a\u89d2\u5ea6\u6765\u9610\u8ff0Linux\u78c1\u76d8\u7a7a\u95f4\u7684\u5206\u914d\u65b9\u6cd5\u3002<\/p>\n

\u4e86\u89e3\u78c1\u76d8\u5206\u533a\u57fa\u7840<\/b><\/p>\n

\u78c1\u76d8\u5206\u533a\u662f\u5c06\u4e00\u4e2a\u5927\u78c1\u76d8\u5206\u5272\u6210\u82e5\u5e72\u4e2a\u72ec\u7acb\u7684\u903b\u8f91\u533a\u57df\u3002\u9996\u5148\u9700\u8981\u4e86\u89e3\u7684\u662f\uff0c\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u4e3b\u8981\u7684\u5206\u533a\u7c7b\u578b\u5305\u62ec\u4e3b\u5206\u533a\u3001\u6269\u5c55\u5206\u533a\u548c\u903b\u8f91\u5206\u533a\u7b49\u3002\u5728\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u4e4b\u524d\uff0c\u5fc5\u987b\u4e8b\u5148\u5236\u5b9a\u597d\u5206\u533a\u8ba1\u5212\u3002\u4ee5\u4e00\u822c\u7528\u6237\u7684\u5de5\u4f5c\u7ad9\u4e3a\u4f8b\uff0c\u53ef\u80fd\u53ea\u9700\u5408\u7406\u5206\u914d\u6839\u5206\u533a\u548c\/home\u5206\u533a\u7684\u7a7a\u95f4\uff0c\u4fbf\u8db3\u4ee5\u6ee1\u8db3\u65e5\u5e38\u9700\u6c42\u3002\u82e5\u67d0\u4e2a\u5206\u533a\u7a7a\u95f4\u4e0d\u8db3\uff0c\u4e0d\u80fd\u968f\u610f\u5c06\u5176\u4ed6\u5206\u533a\u7684\u7a7a\u95f4\u632a\u7528\u8fc7\u6765\u3002\u8fd9\u5c31\u50cf\u4e00\u4e2a\u623f\u95f4\u4e1c\u897f\u5df2\u653e\u6ee1\uff0c\u4e0d\u80fd\u968f\u610f\u4ece\u76f8\u90bb\u623f\u95f4\u642c\u4e1c\u897f\u8fc7\u6765\u4e00\u6837\u3002<\/p>\n

linux \u5206\u914d\u78c1\u76d8\u7a7a\u95f4_\u78c1\u76d8\u5206\u914d\u7a7a\u95f4\u5230c_\u78c1\u76d8\u5206\u914d\u7a7a\u95f4\u4e0d\u76f8\u4e34<\/p>\n

\u78c1\u76d8\u7684\u5206\u533a\u79cd\u7c7b\u5bf9\u7cfb\u7edf\u5982\u4f55\u7ba1\u7406\u78c1\u76d8\u6709\u7740\u91cd\u8981\u5f71\u54cd\u3002\u5404\u79cd\u6587\u4ef6\u7cfb\u7edf\u5728\u521b\u5efa\u5206\u533a\u7b49\u64cd\u4f5c\u4e0a\u5404\u6709\u7279\u70b9\u3002\u6bd4\u5982\uff0cext4\u662f\u4e00\u79cd\u5728Linux\u7cfb\u7edf\u4e2d\u5e38\u7528\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5728\u5206\u533a\u65f6\u9700\u8981\u7279\u522b\u6ce8\u610f\u4e00\u4e9b\u53c2\u6570\u7684\u914d\u7f6e\uff0c\u4ee5\u786e\u4fdd\u6027\u80fd\u5f97\u5230\u4f18\u5316\u3002<\/p>\n

\u4f7f\u7528\u5de5\u5177\u5206\u914d\u78c1\u76d8\u7a7a\u95f4<\/b><\/p>\n

fdisk\u662f\u4e00\u6b3e\u5e38\u7528\u7684\u78c1\u76d8\u5206\u533a\u8f6f\u4ef6\u3002\u5b83\u7684\u64cd\u4f5c\u754c\u9762\u4ee5\u7b80\u6d01\u7684\u547d\u4ee4<\/a>\u884c\u5f62\u5f0f\u5448\u73b0\u3002\u5728\u4f7f\u7528fdisk\u5bf9\u78c1\u76d8\u8fdb\u884c\u64cd\u4f5c\u65f6\uff0c\u6211\u4eec\u5fc5\u987b\u683c\u5916\u5c0f\u5fc3\uff0c\u56e0\u4e3a\u4efb\u4f55\u4e0d\u5f53\u7684\u64cd\u4f5c\u90fd\u6709\u53ef\u80fd\u9020\u6210\u6570\u636e\u4e22\u5931\u3002\u6bcf\u6267\u884c\u4e00\u4e2a\u6b65\u9aa4linux \u5206\u914d\u78c1\u76d8\u7a7a\u95f4<\/strong>\uff0c\u90fd\u5fc5\u987b\u7ecf\u8fc7\u786e\u8ba4\uff0c\u8fd9\u5c31\u50cf\u5728\u60ac\u5d16\u8fb9\u7684\u5c0f\u8def\u4e0a\u884c\u8d70\uff0c\u4e00\u65e6\u51fa\u9519\uff0c\u5c31\u53ef\u80fd\u8dcc\u5165\u6df1\u8c37\u3002<\/p>\n

linux \u5206\u914d\u78c1\u76d8\u7a7a\u95f4_\u78c1\u76d8\u5206\u914d\u7a7a\u95f4\u4e0d\u76f8\u4e34_\u78c1\u76d8\u5206\u914d\u7a7a\u95f4\u5230c<\/p>\n

parted\u5de5\u5177\u529f\u80fd\u66f4\u5168\u9762linux \u5206\u914d\u78c1\u76d8\u7a7a\u95f4<\/strong>\uff0c\u662f\u5f3a\u5927\u7684\u78c1\u76d8\u5206\u533a\u4e0e\u7a7a\u95f4\u7ba1\u7406\u5de5\u5177\u3002\u5b83\u80fd\u5e94\u5bf9\u8d85\u8fc72TB\u7684\u78c1\u76d8\uff0c\u4f46fdisk\u5728\u8fd9\u70b9\u4e0a\u6709\u6240\u4e0d\u8db3\u3002\u5c3d\u7ba1\u5982\u6b64linux mint\uff0cparted\u7684\u64cd\u4f5c\u8f83\u4e3a\u590d\u6742linux\u8f6f\u4ef6\u5de5\u7a0b\u5e08\u57f9\u8bad\uff0c\u5b66\u4e60\u8d77\u6765\u9700\u8981\u6295\u5165\u66f4\u591a\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002<\/p>\n

\u52a8\u6001\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u7684\u5b9e\u8df5<\/b><\/p>\n

\u903b\u8f91\u5377\u7ba1\u7406\u6280\u672f\uff0c\u7b80\u79f0LVM\uff0c\u4f7f\u5f97\u6211\u4eec\u80fd\u591f\u5b9e\u73b0\u78c1\u76d8\u7a7a\u95f4\u7684\u52a8\u6001\u5206\u914d\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u4e0d\u6539\u53d8\u5206\u533a\u7ed3\u6784\u7684\u524d\u63d0\u4e0b\uff0c\u5bf9\u78c1\u76d8\u5206\u533a\u7684\u5927\u5c0f\u8fdb\u884c\u7075\u6d3b\u8c03\u6574\u3002\u8fd9\u76f8\u5f53\u4e8e\u62e5\u6709\u4e00\u5957\u53ef\u81ea\u7531\u7ec4\u5408\u7684\u79ef\u6728\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u8981\u968f\u65f6\u6539\u53d8\u5404\u90e8\u5206\u7684\u5927\u5c0f\u3002<\/p>\n

linux \u5206\u914d\u78c1\u76d8\u7a7a\u95f4_\u78c1\u76d8\u5206\u914d\u7a7a\u95f4\u4e0d\u76f8\u4e34_\u78c1\u76d8\u5206\u914d\u7a7a\u95f4\u5230c<\/p>\n

\u6211\u4eec\u8d77\u521d\u7684\/home\u5206\u533a\u5bb9\u91cf\u6709\u9650\uff0c\u968f\u7740\u7528\u6237\u8d44\u6599\u6301\u7eed\u589e\u591a\uff0c\u5b58\u50a8\u7a7a\u95f4\u53d8\u5f97\u7d27\u5f20\u3002\u82e5\u91c7\u7528LVM\u6280\u672f\uff0c\u6211\u4eec\u4fbf\u80fd\u8f7b\u6613\u5730\u4ece\u62e5\u6709\u7a7a\u95f2\u7a7a\u95f4\u7684\u903b\u8f91\u5377\u6216\u5206\u533a\u4e2d\uff0c\u5212\u62e8\u51fa\u90e8\u5206\u7a7a\u95f4\u7ed9\/home\u5206\u533a\uff0c\u65e0\u9700\u50cf\u4f20\u7edf\u5206\u533a\u90a3\u6837\u8fdb\u884c\u590d\u6742\u7684\u6570\u636e\u8fc1\u79fb\u548c\u5206\u533a\u64cd\u4f5c\u3002<\/p>\n

\u8003\u8651\u78c1\u76d8\u7a7a\u95f4\u4f7f\u7528\u6548\u7387<\/b><\/p>\n

\u5408\u7406\u89c4\u5212\u5404\u7c7b\u6587\u4ef6\u5b58\u653e\u5730\u70b9\uff0c\u5bf9\u63d0\u5347\u78c1\u76d8\u7a7a\u95f4\u5229\u7528\u7387\u81f3\u5173\u91cd\u8981\u3002\u6bd4\u5982\uff0c\u5c06\u9891\u7e41\u66f4\u65b0\u7684\u65e5\u5fd7\u6587\u4ef6\u72ec\u7acb\u5b58\u653e\u5728\u4e00\u4e2a\u5206\u533a\uff0c\u4fbf\u4e8e\u7ba1\u7406\u548c\u6e05\u7406\u3002\u82e5\u65e5\u5fd7\u6587\u4ef6\u4e0e\u5176\u4ed6\u5173\u952e\u6570\u636e\u6df7\u6742\uff0c\u5f88\u53ef\u80fd\u4f1a\u56e0\u65e5\u5fd7\u6570\u636e\u7684\u6025\u5267\u589e\u52a0\uff0c\u5bfc\u81f4\u6574\u4e2a\u5206\u533a\u8fc5\u901f\u9971\u548c\u3002<\/p>\n

\u6570\u636e\u538b\u7f29\u6709\u52a9\u4e8e\u63d0\u5347\u78c1\u76d8\u7a7a\u95f4\u7684\u5229\u7528\u7387\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u5b58\u5728\u591a\u79cd\u538b\u7f29\u8f6f\u4ef6\uff0c\u6bd4\u5982gzip\u3002\u5bf9\u4e8e\u90a3\u4e9b\u4e0d\u5e38\u4f7f\u7528\u7684\u6570\u636e\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u5c06\u5176\u538b\u7f29\uff0c\u7136\u540e\u518d\u8fdb\u884c\u5b58\u50a8\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u7c7b\u4f3c\u4e8e\u5c06\u51ac\u5b63\u4e0d\u518d\u7a7f\u7684\u539a\u8863\u7269\u653e\u5165\u538b\u7f29\u888b\uff0c\u8fd9\u6837\u53ef\u4ee5\u6709\u6548\u8282\u7701\u7a7a\u95f4\u3002<\/p>\n

\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u4e0e\u8f6f\u4ef6\u5b89\u88c5\u7684\u5173\u7cfb<\/b><\/p>\n

\u5b89\u88c5\u4e0d\u540c\u8f6f\u4ef6\u65f6\uff0c\u5bf9\u78c1\u76d8\u7a7a\u95f4\u7684\u9700\u6c42\u5404\u5f02\u3002\u50cf\u6570\u636e\u5e93\u8fd9\u7c7b\u5927\u578b\u8f6f\u4ef6\uff0c\u5f80\u5f80\u9700\u8981\u8f83\u591a\u7684\u78c1\u76d8\u7a7a\u95f4\u6765\u5b58\u50a8\u6570\u636e\u548c\u5efa\u7acb\u7d22\u5f15\u3002\u82e5\u5728\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u65f6\u672a\u5145\u5206\u8003\u8651\u8fd9\u4e9b\u8f6f\u4ef6\u7684\u6240\u9700\uff0c\u8f6f\u4ef6\u53ef\u80fd\u65e0\u6cd5\u987a\u5229\u5b89\u88c5\uff0c\u6216\u5728\u4f7f\u7528\u65f6\u9891\u7e41\u51fa\u73b0\u6545\u969c\u3002<\/p>\n

\u540c\u65f6\uff0c\u6709\u4e9b\u8f6f\u4ef6\u5728\u66f4\u65b0\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u9700\u8981\u66f4\u591a\u78c1\u76d8\u7a7a\u95f4\u3002\u56e0\u6b64\uff0c\u5728\u6700\u521d\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u65f6\uff0c\u5b9c\u7559\u51fa\u4e00\u4e9b\u4f59\u5730\uff0c\u4ee5\u5907\u8fd9\u4e9b\u8f6f\u4ef6\u5c06\u6765\u5347\u7ea7\u65f6\u4f7f\u7528\u3002<\/p>\n

\u6570\u636e\u5b89\u5168\u4e0e\u78c1\u76d8\u7a7a\u95f4\u5206\u914d<\/b><\/p>\n

\u5728\u8fdb\u884c\u78c1\u76d8\u7a7a\u95f4\u5212\u5206\u65f6\uff0c\u5fc5\u987b\u7559\u610f\u6570\u636e\u7684\u5907\u4efd\u4e0e\u6062\u590d\u95ee\u9898\u3002\u82e5\u5c06\u6240\u6709\u6570\u636e\u96c6\u4e2d\u5728\u5c11\u6570\u51e0\u4e2a\u5206\u533a\uff0c\u4e00\u65e6\u8fd9\u4e9b\u5206\u533a\u51fa\u73b0\u6545\u969c\uff0c\u4f8b\u5982\u78c1\u9053\u53d7\u635f\uff0c\u6570\u636e\u6062\u590d\u5de5\u4f5c\u5c06\u6781\u4e3a\u68d8\u624b\u3002\u56e0\u6b64\uff0c\u5efa\u8bae\u5c06\u6570\u636e\u5206\u6563\u5230\u591a\u4e2a\u5206\u533a\uff0c\u5e76\u5b9a\u671f\u8fdb\u884c\u5907\u4efd\u3002<\/p>\n

\u78c1\u76d8\u5206\u914d\u4e2d\u4fdd\u7559\u4e00\u5b9a\u7684\u4f59\u91cf\u540c\u6837\u91cd\u8981\u3002\u8fd9\u6837\uff0c\u5728\u67d0\u4e2a\u5206\u533a\u7a81\u7136\u9700\u8981\u66f4\u591a\u7a7a\u95f4\u65f6\uff0c\u5c31\u80fd\u6709\u6240\u7f13\u51b2\uff0c\u9632\u6b62\u7cfb\u7edf\u56e0\u7a7a\u95f4\u4e0d\u8db3\u800c\u7a81\u7136\u505c\u6b62\u5de5\u4f5c\u3002\u8fd9\u5c31\u50cf\u65c5\u884c\u65f6\u5e26\u4e0a\u5fc5\u9700\u7684\u5e94\u6025\u7528\u54c1\u4e00\u6837\u3002<\/p>\n

\u5173\u4e8eLinux\u78c1\u76d8\u7a7a\u95f4\u7684\u5206\u914d\uff0c\u60a8\u6709\u4f55\u72ec\u5230\u89c1\u89e3\uff1f\u6b22\u8fce\u53d1\u8868\u60a8\u7684\u770b\u6cd5\u3002\u5982\u82e5\u60a8\u8ba4\u4e3a\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u4e0d\u59a8\u70b9\u8d5e\u5e76\u8f6c\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u5408\u7406\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u6781\u4e3a\u5173\u952e\u3002\u903b\u8f91\u5377\u7ba1\u7406\u6280\u672f\uff0c\u7b80\u79f0LVM\uff0c\u4f7f\u5f97\u6211\u4eec\u80fd\u591f\u5b9e\u73b0\u78c1\u76d8\u7a7a\u95f4\u7684\u52a8\u6001\u5206\u914d\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u4e0d\u6539\u53d8\u5206\u533a\u7ed3\u6784\u7684\u524d\u63d0\u4e0b\uff0c\u5bf9\u78c1\u76d8\u5206\u533a\u7684\u5927\u5c0f\u8fdb\u884c\u7075\u6d3b\u8c03\u6574\u3002\u82e5\u5728\u5206\u914d\u78c1\u76d8\u7a7a\u95f4\u65f6\u672a\u5145\u5206\u8003\u8651\u8fd9\u4e9b\u8f6f\u4ef6\u7684\u6240\u9700\uff0c\u8f6f\u4ef6\u53ef\u80fd\u65e0\u6cd5\u987a\u5229\u5b89\u88c5\uff0c\u6216\u5728\u4f7f\u7528\u65f6\u9891\u7e41\u51fa\u73b0\u6545\u969c\u3002<\/p>\n","protected":false},"author":1,"featured_media":294982,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[1307,3586,4919,4920,4918],"class_list":["post-294981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-ewjxt","tag-lczxt-2","tag-ljs","tag-sjbfhf","tag-cpkjfp"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294981"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294981\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294982"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}