{"id":52465,"date":"2022-08-08T04:42:50","date_gmt":"2022-08-07T20:42:50","guid":{"rendered":"http:\/\/www.idc.net\/help\/52465\/"},"modified":"2022-08-08T04:42:50","modified_gmt":"2022-08-07T20:42:50","slug":"linux%e6%9f%a5%e7%9c%8b%e7%a1%ac%e7%9b%98%e6%95%b0%e9%87%8f%e7%9a%84%e6%96%b9%e6%b3%95%ef%bc%88linux%e6%9f%a5%e7%9c%8b%e6%9c%89%e5%87%a0%e5%9d%97%e7%a1%ac%e7%9b%98%ef%bc%89","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/52465\/","title":{"rendered":"Linux\u67e5\u770b\u786c\u76d8\u6570\u91cf\u7684\u65b9\u6cd5\uff08linux\u67e5\u770b\u6709\u51e0\u5757\u786c\u76d8\uff09"},"content":{"rendered":"<p>\u2003\u2003Linux\u64cd\u4f5c\u7cfb\u7edf\u80fd\u591f\u5b9e\u73b0\u591a\u79cd\u786c\u4ef6\u68c0\u6d4b\u64cd\u4f5c\uff0c\u6bd4\u5982\u67e5\u770b\u786c\u76d8\u6570\u91cf\uff0c\u8fd9\u91cc\u4ecb\u7ecd\u4e00\u79cd\u4f7f\u7528\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u67e5\u770bLinux\u7cfb\u7edf\u4e2d\u786c\u76d8\u6570\u91cf\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p>\u2003\u2003\u83b7\u53d6\u786c\u76d8\u4fe1\u606f\u7684 Linux \u547d\u4ee4\u9879\u4e00\u822c\u6709 fdisk\uff0c df\uff0c parted\uff0clsscsi \u548clspci\u7b49\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e0b\u9762\u7684 fdisk \u547d\u4ee4\u6765\u67e5\u770b\u786c\u76d8\u6570\u91cf\uff1a<\/p>\n<\/p>\n<p>`# fdisk -l`<\/p>\n<\/p>\n<p>\u2003\u2003\u4e0a\u9762\u7684\u547d\u4ee4\u53ef\u4ee5\u8f93\u51fa\u603b\u786c\u76d8\u6570\uff0c\u6bcf\u5757\u786c\u76d8\u7684\u5927\u5c0f\uff0c\u5206\u533a\u4fe1\u606f\uff0c\u78c1\u76d8\u683c\u5f0f\uff0c\u5206\u533a\u683c\u5f0f\uff0c\u542f\u52a8\u5206\u533a\u7b49\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p>\u2003\u2003\u8981\u67e5\u770bLinux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u786c\u76d8\u7a7a\u95f4\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 df \u547d\u4ee4\u4ee5\u4e0b\u8868\u5f62\u5f0f\u67e5\u770b\uff1a<\/p>\n<\/p>\n<p>`# df -h`<\/p>\n<\/p>\n<p>\u2003\u2003\u5982\u679c\u9700\u8981\u6df1\u5165\u67e5\u770b\u786c\u76d8\u4fe1\u606f\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 lspci \u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p>`# lspci | grep disk`<\/p>\n<\/p>\n<p>\u2003\u2003\u4e0a\u9762\u7684\u547d\u4ee4\u8fd4\u56de\u7684\u7ed3\u679c\u53ef\u4ee5\u663e\u793a\u786c\u76d8\u7684\u7c7b\u578b\uff0c\u5236\u9020\u5546\u548c\u6269\u5c55\u7b49\u4fe1\u606f\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528 lshw \u6765\u83b7\u53d6 CPU \u548c\u786c\u4ef6\u4fe1\u606f\uff1a<\/p>\n<\/p>\n<p>`# lshw -short`<\/p>\n<\/p>\n<p>\u2003\u2003\u6211\u4eec\u4e5f\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\u786c\u76d8\u6a21\u5f0f\uff0c\u53ea\u9700\u4f7f\u7528 parted \u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p>`# parted \u2013list`<\/p>\n<\/p>\n<p>\u2003\u2003\u4e0a\u9762\u7684\u547d\u4ee4\u8f93\u51fa\u6bcf\u5757\u5206\u533a\u7684\u786c\u76d8\u683c\u5f0f\u548c\u5927\u5c0f\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p>\u2003\u2003\u6700\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 lsscsi \u67e5\u770b\u786c\u76d8\u4fe1\u606f\uff1a<\/p>\n<\/p>\n<p>`# lsscsi`<\/p>\n<\/p>\n<p>\u2003\u2003\u4e0a\u9762\u7684\u547d\u4ee4\u5c06\u68c0\u6d4b\u786c\u4ef6 SCSI \u9a71\u52a8\u5668\u7c7b\u578b\u548c\u76f8\u5173\u4fe1\u606f\uff0c\u7136\u540e\u8f93\u51fa\u8be5\u4fe1\u606f\u5230\u5c4f\u5e55\u4e0a\u3002<\/p>\n<\/p>\n<p>\u2003\u2003\u4e0a\u9762\u4ecb\u7ecd\u7684\u547d\u4ee4\u5927\u591a\u6570\u90fd\u4e0d\u9700\u8981\u5b89\u88c5\uff0c\u53ea\u9700\u8981\u4f7f\u7528 root \u6743\u9650\u6765\u8fd0\u884c\u5b83\u4eec\uff0c\u5c31\u53ef\u4ee5\u83b7\u53d6\u6240\u9700\u7684\u4fe1\u606f\u3002\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u8981\u9009\u62e9\u6700\u5408\u9002\u7684\u547d\u4ee4\u6765\u67e5\u770b Linux \u7cfb\u7edf\u4e2d\u7684\u786c\u76d8\u6570\u91cf\u3002<\/p>\n<p><a href=\"http:https:\/\/idc.net\/\">\u9999\u6e2f\u670d\u52a1\u5668<\/a>\u9996\u9009\u540e\u6d6a\u4e91\uff0c2H2G\u9996\u670810\u5143\u5f00\u901a\u3002<br \/>\u540e\u6d6a\u4e91\uff08www.IDC.Net\uff09\u63d0\u4f9b\u7b80\u5355\u597d\u7528\uff0c\u4ef7\u683c\u539a\u9053\u7684\u9999\u6e2f\/\u7f8e\u56fd\u4e91\u670d\u52a1\u5668\u548c\u72ec\u7acb\u670d\u52a1\u5668\u3002IDC+ISP+ICP\u8d44\u8d28\u3002ARIN\u548cAPNIC\u4f1a\u5458\u3002\u6210\u719f\u6280\u672f\u56e2\u961f15\u5e74\u884c\u4e1a\u7ecf\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2003\u2003Linux\u64cd\u4f5c\u7cfb\u7edf\u80fd\u591f\u5b9e\u73b0\u591a\u79cd\u786c\u4ef6\u68c0\u6d4b\u64cd\u4f5c\uff0c\u6bd4\u5982\u67e5\u770b\u786c\u76d8\u6570\u91cf\uff0c\u8fd9\u91cc\u4ecb\u7ecd\u4e00\u79cd\u4f7f\u7528\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u67e5\u770bLinux\u7cfb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-52465","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/52465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=52465"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/52465\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=52465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=52465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=52465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}