{"id":763,"date":"2022-03-07T14:22:41","date_gmt":"2022-03-07T06:22:41","guid":{"rendered":"https:\/\/blog.espnlol.com\/?p=763"},"modified":"2022-04-20T18:15:18","modified_gmt":"2022-04-20T10:15:18","slug":"pve-%e6%b7%bb%e5%8a%a0%e4%b8%8e%e5%88%a0%e9%99%a4pci%e7%bd%91%e5%8d%a1%ef%bc%8c%e5%af%bc%e8%87%b4%e5%ba%8f%e5%8f%b7%e6%94%b9%e5%8f%98%ef%bc%8c%e7%bd%91%e7%bb%9c%e4%b8%8d%e9%80%9a","status":"publish","type":"post","link":"https:\/\/blog.espnlol.com\/?p=763","title":{"rendered":"PVE \u6dfb\u52a0\u4e0e\u5220\u9664PCI\u7f51\u5361\uff0c\u5bfc\u81f4\u5e8f\u53f7\u6539\u53d8\uff0c\u7f51\u7edc\u4e0d\u901a"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u6545\u969c\u8868\u73b0<\/h2>\n\n\n\n<p>\u4e3b\u677f\u4e3a\u6280\u5609B560M AORUS PRO AX\uff0c\u7cfb\u7edf\u4e3aPVE 7.0-8\uff0c\u65e9\u8d77\u4e3a\u4e86\u7528sas\u76d8\uff0c\u641e\u4e86sas\u80cc\u677f\u7684\u51e0\u7bb1\u4ee5\u53ca\u76f4\u901a\u5361\uff0c\u6240\u4ee5\u5728pcie X16\u7684\u63a5\u53e3\u4e0a\u63d2\u4e86\u76f4\u901a\u5361\uff0c\u7ed3\u679c\u56e0\u4e3a\u4e00\u4e9b\u539f\u56e0\u5168\u4e70\u4e86sata\u76d8\uff0c\u5bfc\u81f4\u6362\u4e86\u673a\u7bb1\uff0c\u6240\u4ee5\u4e3a\u4e86\u56de\u8840\u628a\u8001\u673a\u7bb1\u548c\u76f4\u901a\u5361\u90fd\u60f3\u51fa\u6389\uff0c\u540e\u9762\u6362\u4e86\u673a\u7bb1\u4e4b\u540e\u62d4\u6389\u76f4\u901a\u5361\uff0c\u53d1\u73b0\u7f51\u7edc\u4e0d\u901a\uff0c\u65e0\u6cd5\u8fde\u63a5\uff0c\u540e\u9762\u901a\u8fc7\u663e\u793a\u5668\u76f4\u8fde\u4e3b\u673a\uff0c\u53d1\u73b0\u7cfb\u7edf\u5df2\u7ecf\u6b63\u5e38\u542f\u52a8\uff0c\u4f46\u662f\u7f51\u7edc\u4e0d\u901a\uff0c\u4e8e\u662f\u4f7f\u7528lspci\u67e5\u770b\u7f51\u5361\u72b6\u6001<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#\u672a\u62d4\u76f4\u901a\u5361\u65f6\u7684\u72b6\u6001\n02:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)\n02:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)\n03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)\n06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)\n09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)\n\n#\u62d4\u6389\u76f4\u901a\u5361\u540e\u7684\u72b6\u6001\n01:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)\n01:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)\n02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)\n05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)\n08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)\n\n\u53ef\u4ee5\u770b\u5230\u5e8f\u53f7\u90fd\u524d\u79fb\u7684\u4e00\u4f4d\uff0c\u7f51\u5361\u540d\u79f0\u672a\u62d4\u76f4\u901a\u5361\u65f6\u4e3aenp3s0\uff0c\u62d4\u6389\u76f4\u901a\u5361\u540e\u53d8\u6210enp2s0,\u521a\u597d\u4e0elspci\u4e2d\u7684\u5e8f\u53f7\u5bf9\u5e94\uff0c\u6240\u4ee5\u6000\u7591\u76f4\u901a\u5361\u56e0\u4e3a\u662f\u8fde\u63a5\u78c1\u76d8\u7684\uff0c\u987a\u4f4d\u8981\u6bd4\u7f51\u5361\u9ad8\uff0c\u6240\u4ee5\u76f4\u901a\u5361\u5728\u7684\u65f6\u5019\u7b2c\u4e00\u4e2a\u4f4d\u7f6e\u7ed9\u4e86\u76f4\u901a\u5361\uff0c\u5176\u4ed6\u7684\u90fd\u540e\u79fb\u4e00\u4f4d\uff0c\u53ea\u662f\u6000\u7591\uff0c\u672a\u67e5\u5230\u76f8\u5173\u8d44\u6599\u3002\u671f\u95f4\u95ee\u4e86\u4e0b\u6280\u5609\u552e\u540e\uff0c\u8868\u8ff0windows\u7cfb\u7edf\u5916\uff0c\u6982\u4e0d\u8d1f\u8d23\uff0c\u4e5f\u662f\u6bd4\u8f83\u5931\u671b\u5427\u3002<\/pre>\n\n\n\n<p>\u4e8c\u3001\u95ee\u9898\u5904\u7406<\/p>\n\n\n\n<p>\u77e5\u9053\u95ee\u9898\u4e4b\u540e\u5c31\u6709\u5e94\u5bf9\u4e4b\u7b56\u4e86\uff0c\u4fee\u6539\u7f51\u7edc\u914d\u7f6e\uff0c#\u4e3a\u539f\u6765\u7684\u914d\u7f6e\uff0c\u91cd\u542f\u7f51\u7edc,ifconfig enp2s0 down,ifconfig enp2s0 up<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">vi \/etc\/network\/interfaces\n# please utilize the 'source' or 'source-directory' directives to do\n# so.\n# PVE will preserve these directives, but will NOT read its network\n# configuration from sourced files, so do not attempt to move any of\n# the PVE managed interfaces into external files!\n\nauto lo\niface lo inet loopback\n\n#iface enp3s0 inet manual\niface enp2s0 inet manual\n\niface enp6s0 inet manual\n\niface enp9s0 inet manual\n\niface enp2s0f0 inet manual\n\niface wlp10s0 inet manual\n\niface enp2s0f1 inet manual\n\nauto vmbr0\niface vmbr0 inet static\n        address 192.168.1.181\/24\n        gateway 192.168.1.1\n        #bridge-ports enp3s0\n        bridge-ports enp2s0\n        bridge-stp off\n        bridge-fd 0<\/pre>\n\n\n\n<p>pve\u865a\u62df\u673a\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\uff0c\u4fee\u6539\u76f4\u901a\u8bbe\u5907\uff0c#\u4e3a\u539f\u6765\u7684\u914d\u7f6e\uff0c\u6267\u884c\u542f\u52a8qm start 104<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">vi \/etc\/pve\/qemu-server\/104.conf\nboot: order=sata0;ide2;net0\ncores: 2\n#hostpci0: 0000:06:00.0\n#hostpci1: 0000:09:00.0\n#hostpci2: 0000:02:00.0\n#hostpci3: 0000:02:00.1\nhostpci0: 0000:05:00.0\nhostpci1: 0000:08:00.0\nhostpci2: 0000:01:00.0\nhostpci3: 0000:01:00.1\nide2: none,media=cdrom\nmemory: 4096\nname: openwrt\nnet0: virtio=A6:8F:AF:42:6A:65,bridge=vmbr0,firewall=1\nnuma: 0\nonboot: 1\nostype: l26\nsata0: local-lvm:vm-104-disk-1,size=1584M\nscsihw: virtio-scsi-pci\nsmbios1: uuid=9798e59d-b79a-4184-aa23-e731ba7541ec\nsockets: 4\nvmgenid: 17d3ed4d-9cc0-431b-ba84-ba2415823f16<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u6545\u969c\u8868\u73b0 \u4e3b\u677f\u4e3a\u6280\u5609B560M AORUS PRO AX\uff0c\u7cfb\u7edf\u4e3aPVE 7. &hellip; <a href=\"https:\/\/blog.espnlol.com\/?p=763\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-763","post","type-post","status-publish","format-standard","hentry","category-pve"],"_links":{"self":[{"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=763"}],"version-history":[{"count":1,"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions\/764"}],"wp:attachment":[{"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espnlol.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}