1. Removed the lines as mentioned.
2. Loaded the AHCI module which was not loaded before.
/etc/vmware # vmkload_mod -l | grep ahci
/etc/vmware #
/etc/vmware # vmkload_mod ahci
Module ahci loaded successfully
/etc/vmware #
3. Rescan did not change
/etc/vmware # esxcli storage core adapter list
HBA Name Driver Link State UID Description
-------- --------- ---------- ------------- ----------------------
vmhba33 iscsi_vmk online iscsi.vmhba33 iSCSI Software Adapter
/etc/vmware #
/etc/vmware #
/etc/vmware # esxcli storage core adapter rescan --all
/etc/vmware #
/etc/vmware #
/etc/vmware # esxcli storage core adapter list
HBA Name Driver Link State UID Description
-------- --------- ---------- ------------- ----------------------
vmhba33 iscsi_vmk online iscsi.vmhba33 iSCSI Software Adapter
4. Devices still appear as passthru
/etc/vmware # vmkchdev -l
000:000:00.0 8086:0108 1028:04de vmkernel
000:000:26.0 8086:1c2d 1028:04de passthru
000:000:28.0 8086:1c10 0000:0000 vmkernel PCIe RP[000:000:28.0]
000:000:28.4 8086:1c18 0000:0000 vmkernel PCIe RP[000:000:28.4]
000:000:29.0 8086:1c26 1028:04de passthru
000:000:30.0 8086:244e 0000:0000 vmkernel
000:000:31.0 8086:1c52 1028:04de vmkernel
000:000:31.2 8086:1c02 1028:04de passthru vmhba0
000:000:31.3 8086:1c22 1028:04de vmkernel
000:001:00.0 8086:10c9 8086:a03c vmkernel vmnic0
000:001:00.1 8086:10c9 8086:a03c vmkernel vmnic1
000:002:00.0 14e4:165a 1028:04de vmkernel vmnic2
000:003:03.0 102b:0532 1028:04de vmkernel
5. Assigned the devices to vmkernel
/etc/vmware #
/etc/vmware # vmkchdev -v 000:000:26.0
/etc/vmware # vmkchdev -v 000:000:29.0
/etc/vmware # vmkchdev -v 000:000:31.2
6. List again
/etc/vmware #
/etc/vmware # vmkchdev -l
000:000:00.0 8086:0108 1028:04de vmkernel
000:000:26.0 8086:1c2d 1028:04de vmkernel
000:000:28.0 8086:1c10 0000:0000 vmkernel PCIe RP[000:000:28.0]
000:000:28.4 8086:1c18 0000:0000 vmkernel PCIe RP[000:000:28.4]
000:000:29.0 8086:1c26 1028:04de vmkernel
000:000:30.0 8086:244e 0000:0000 vmkernel
000:000:31.0 8086:1c52 1028:04de vmkernel
000:000:31.2 8086:1c02 1028:04de vmkernel vmhba0
000:000:31.3 8086:1c22 1028:04de vmkernel
000:001:00.0 8086:10c9 8086:a03c vmkernel vmnic0
000:001:00.1 8086:10c9 8086:a03c vmkernel vmnic1
000:002:00.0 14e4:165a 1028:04de vmkernel vmnic2
000:003:03.0 102b:0532 1028:04de vmkernel
/etc/vmware #
7. Adaper list without rescan, All adapter are available again.
/etc/vmware # esxcli storage core adapter list
HBA Name Driver Link State UID Description
-------- --------- ---------- ------------- ---------------------------------------------------------------------
vmhba38 ahci link-n/a sata.vmhba38 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba0 ahci link-n/a sata.vmhba0 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba33 iscsi_vmk online iscsi.vmhba33 iSCSI Software Adapter
vmhba34 ahci link-n/a sata.vmhba34 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba35 ahci link-n/a sata.vmhba35 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba36 ahci link-n/a sata.vmhba36 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba37 ahci link-n/a sata.vmhba37 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
8. Rescan the adapter list
/etc/vmware # esxcli storage core adapter rescan --all
/etc/vmware #
9. All the adapters are show as in no. 6
/etc/vmware # esxcli storage core adapter list
HBA Name Driver Link State UID Description
-------- --------- ---------- ------------- ---------------------------------------------------------------------
vmhba38 ahci link-n/a sata.vmhba38 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba0 ahci link-n/a sata.vmhba0 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba33 iscsi_vmk online iscsi.vmhba33 iSCSI Software Adapter
vmhba34 ahci link-n/a sata.vmhba34 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba35 ahci link-n/a sata.vmhba35 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba36 ahci link-n/a sata.vmhba36 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
vmhba37 ahci link-n/a sata.vmhba37 (0:0:31.2) Intel Corporation Cougar Point 6 port SATA AHCI Controller
10. All the adapers and VM are shown.
But as I know, vmkchdev -v is not persistent and it will go back to passthru once rebooted. How shall I make persistent so that it will show me all the adaperts and not in passthru again?
Thanks