270794
Contributor
Contributor

How to find unused modules and how to "connect" them with VIB

Hi all,

I need to make more free space on bootbank.

Current size is

[root@ESXi1:~] du -d 1 /bootbank/ -m

156 /bootbank/

But I wish to delete unused modules.

I can list modules with

[root@ESXi1:~] esxcfg-module -l

Name                     Used Size (kb)

vmkernel                 147  10572 

chardevs                 142  48    

user                     1    3064  

crypto                   93   116   

vsanapi                  12   92    

vsanbase                 10   112   

vprobe                   0    392   

vmkapi_mgmt              6    28    

iodm                     3    24    

dma_mapper_iommu         0    16

procfs                   2    16    

vmkapi_v2_3_0_0_mgmt_shim0    8     

vmkapi_v2_2_0_0_mgmt_shim0    8     

vmkapi_v2_2_0_0_vmkernel_shim0    84    

vmkapi_v2_3_0_0_vmkernel_shim10   96    

vmkapi_v2_1_0_0_vmkernel_shim0    68    

vmkusb                   9    788   

vmkata                   3    416   

iscsi_trans              6    60    

iscsi_trans_compat_shim  3    12    

vmkapi_v2_3_0_0_vmklinux_shim3    12    

vmkplexer                1    24    

vmklinux_9               9    680   

qlnativefc               8    1816  

vmkapi_v2_2_0_0_iscsiInc_shim0    20    

vmkapi_v2_3_0_0_iscsiInc_shim1    20    

etherswitch              14   384   

netsched_fifo            2    12    

netsched_hclk            2    80    

netioc                   2    32    

vmklinux_9_2_3_0         7    48    

cnic_register            2    12    

bnx2                     1    216   

vmkapi_v2_3_0_0_iscsi_shim3    8     

cnic                     1    96    

dm                       6    16    

nmp                      42   212   

vmw_satp_local           23   16    

vmw_satp_default_aa      0    12    

vmw_psp_lib              6    12    

vmw_psp_fixed            22   16    

vmw_psp_rr               3    16    

vmw_psp_mru              0    12    

vmci                     10   200   

healthchk                3    176   

teamcheck                1    168   

vlanmtucheck             1    180   

heartbeat                0    168   

shaper                   2    180   

lldp                     0    28    

cdp                      8    196   

ipfix                    3    208   

tcpip4                   1    1492  

dvsdev                   6    16    

dvfilter                 13   156   

lacp                     4    60    

vmkapi_v2_1_0_0_dvfilter_shim0    8     

vmkapi_v2_2_0_0_dvfilter_shim0    8     

vmkapi_v2_3_0_0_dvfilter_shim0    8     

iscsi_linux_92           1    20    

bnx2i                    0    112   

megaraid_sas             1    100   

esxfw                    4    184   

dvfilter-generic-fastpath0    208   

vmkibft                  0    32    

vmw_satp_alua            1    32    

vmw_satp_lib_cx          2    16    

vmw_satp_alua_cx         3    20    

vaai_filter              3    28    

vmw_vaaip_emc            1    8     

vmw_vaaip_cx             3    12    

gss                      1    168   

lvmdriver                3    164   

deltadisk                0    256   

vdfm                     13   24    

sunrpc                   5    136   

vmfs3                    3    1388  

vfat                     3    56    

ufs                      0    84    

vmklink_mpi              2    36    

swapobj                  1    56    

nfsclient                0    140   

nfs41client              0    472   

vflash                   1    64    

dell                     1    44    

vmkapei                  0    40    

procMisc                 0    8     

nrdma                    3    360   

nrdma_vmkapi_shim        2    12    

vmkapi_v2_3_0_0_rdma_shim0    12    

ipmi                     2    92    

vmkapi_v2_1_0_0_nmp_shim 0    8     

vmkapi_v2_3_0_0_nmp_shim 0    8     

vmkapi_v2_2_0_0_nmp_shim 0    8     

vrdma                    8    116   

vmkapi_v2_2_0_0_iscsi_shim0    8     

vmkapi_v2_1_0_0_iscsi_shim0    8     

balloonVMCI              2    8     

hbr_filter               2    204   

ftcpt                    0    316   

filtmod                  10   88    

svmmirror                1    56    

cbt                      2    16    

migrate                  2    508   

vfc                      0    164   

tracing                  10   64    

rdt                      8    260   

vsanutil                 7    292   

lsomcommon               3    360   

plog                     2    824   

virsto                   1    776   

lsom                     1    1184  

dvfg-igmp                0    32    

cmmds_net                1    96    

cmmds                    2    680   

cmmds_resolver           1    76    

vsan                     0    2028  

nsx-dvfilter-switch-security3    132   

nsx-traceflow            3    32    

nsx-bfd                  1    28    

nsx-core                 3    12    

nsx-vdl2                 6    460   

nsx-vdrb                 1    356   

nsx-vsip                 28   932   

nsx-operations           0    16    

nsx-dvfilterUser         9    24    

iscsi_vmk                2    228   

esx_splitter             5    1168  

qflge                    Not Loaded

ixgben                   Not Loaded

qfle3                    Not Loaded

Also I can list VIBs

[root@ESXi1:~] esxcli software vib list

Name                           Version                               Vendor            Acceptance Level  Install Date

-----------------------------  ------------------------------------  ----------------  ----------------  ------------

RP-Splitter                    RPESX-00.5.2.0.3.0.a.412.000          EMC_Recoverpoint  PartnerSupported  2018-12-21 

emcjiraf                       5203.a.412-1OEM.600.1.17.3657938      EMC               PartnerSupported  2018-12-21 

ata-libata-92                  3.00.9.2-16vmw.650.0.0.4564106        VMW               VMwareCertified   2018-07-30 

ata-pata-amd                   0.3.10-3vmw.650.0.0.4564106           VMW               VMwareCertified   2018-07-30 

ata-pata-atiixp                0.4.6-4vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

ata-pata-cmd64x                0.2.5-3vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

ata-pata-hpt3x2n               0.3.4-3vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

ata-pata-pdc2027x              1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

ata-pata-serverworks           0.4.3-3vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

ata-pata-sil680                0.4.8-3vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

ata-pata-via                   0.3.3-2vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

block-cciss                    3.6.14-10vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

char-random                    1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

ehci-ehci-hcd                  1.0-4vmw.650.0.14.5146846             VMW               VMwareCertified   2018-07-30 

elxnet                         11.1.91.0-1vmw.650.0.0.4564106        VMW               VMwareCertified   2018-07-30 

hid-hid                        1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

i40en                          1.3.1-5vmw.650.1.26.5969303           VMW               VMwareCertified   2018-07-30 

igbn                           0.1.0.0-14vmw.650.1.26.5969303        VMW               VMwareCertified   2018-07-30 

ima-qla4xxx                    2.02.18-1vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

ipmi-ipmi-devintf              39.1-4vmw.650.0.0.4564106             VMW               VMwareCertified   2018-07-30 

ipmi-ipmi-msghandler           39.1-4vmw.650.0.0.4564106             VMW               VMwareCertified   2018-07-30 

ipmi-ipmi-si-drv               39.1-4vmw.650.0.0.4564106             VMW               VMwareCertified   2018-07-30 

ixgben                         1.4.1-2vmw.650.1.26.5969303           VMW               VMwareCertified   2018-07-30 

lpfc                           11.1.0.6-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

lsi-mr3                        6.910.18.00-1vmw.650.0.0.4564106      VMW               VMwareCertified   2018-07-30 

lsi-msgpt2                     20.00.01.00-3vmw.650.0.0.4564106      VMW               VMwareCertified   2018-07-30 

lsi-msgpt3                     12.00.02.00-11vmw.650.0.0.4564106     VMW               VMwareCertified   2018-07-30 

misc-cnic-register             1.78.75.v60.7-1vmw.650.0.0.4564106    VMW               VMwareCertified   2018-07-30 

misc-drivers                   6.5.0-1.36.7388607                    VMW               VMwareCertified   2018-07-31 

mtip32xx-native                3.9.5-1vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

ne1000                         0.8.0-16vmw.650.1.26.5969303          VMW               VMwareCertified   2018-07-30 

nenic                          1.0.0.2-1vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

net-bnx2                       2.2.4f.v60.10-2vmw.650.0.0.4564106    VMW               VMwareCertified   2018-07-30 

net-bnx2x                      1.78.80.v60.12-1vmw.650.0.0.4564106   VMW               VMwareCertified   2018-07-30 

net-cdc-ether                  1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

net-cnic                       1.78.76.v60.13-2vmw.650.0.0.4564106   VMW               VMwareCertified   2018-07-30 

net-e1000                      8.0.3.1-5vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

net-e1000e                     3.2.2.1-2vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

net-enic                       2.1.2.38-2vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

net-fcoe                       1.0.29.9.3-7vmw.650.0.0.4564106       VMW               VMwareCertified   2018-07-30 

net-forcedeth                  0.61-2vmw.650.0.0.4564106             VMW               VMwareCertified   2018-07-30 

net-igb                        5.0.5.1.1-5vmw.650.0.0.4564106        VMW               VMwareCertified   2018-07-30 

net-ixgbe                      3.7.13.7.14iov-20vmw.650.0.0.4564106  VMW               VMwareCertified   2018-07-30 

net-libfcoe-92                 1.0.24.9.4-8vmw.650.0.0.4564106       VMW               VMwareCertified   2018-07-30 

net-mlx4-core                  1.9.7.0-1vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

net-mlx4-en                    1.9.7.0-1vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

net-nx-nic                     5.0.621-5vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

net-tg3                        3.131d.v60.4-2vmw.650.0.0.4564106     VMW               VMwareCertified   2018-07-30 

net-usbnet                     1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

net-vmxnet3                    1.1.3.0-3vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

nhpsa                          2.0.6-3vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

nmlx4-core                     3.16.0.0-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

nmlx4-en                       3.16.0.0-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

nmlx4-rdma                     3.16.0.0-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

nmlx5-core                     4.16.0.0-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

ntg3                           4.1.2.0-1vmw.650.1.26.5969303         VMW               VMwareCertified   2018-07-30 

nvme                           1.2.0.32-4vmw.650.1.26.5969303        VMW               VMwareCertified   2018-07-30 

nvmxnet3                       2.0.0.22-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

ohci-usb-ohci                  1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

pvscsi                         0.1-1vmw.650.1.26.5969303             VMW               VMwareCertified   2018-07-30 

qedentv                        2.0.3.29-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

qfle3                          1.0.2.7-1vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

qflge                          1.1.0.3-1vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

qlnativefc                     2.1.50.0-1vmw.650.1.26.5969303        VMW               VMwareCertified   2018-07-30 

sata-ahci                      3.0-26vmw.650.1.26.5969303            VMW               VMwareCertified   2018-07-30 

sata-ata-piix                  2.12-10vmw.650.0.0.4564106            VMW               VMwareCertified   2018-07-30 

sata-sata-nv                   3.5-4vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

sata-sata-promise              2.12-3vmw.650.0.0.4564106             VMW               VMwareCertified   2018-07-30 

sata-sata-sil24                1.1-1vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

sata-sata-sil                  2.3-4vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

sata-sata-svw                  2.3-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

scsi-aacraid                   1.1.5.1-9vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

scsi-adp94xx                   1.0.8.12-6vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

scsi-aic79xx                   3.1-5vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

scsi-bnx2fc                    1.78.78.v60.8-1vmw.650.0.0.4564106    VMW               VMwareCertified   2018-07-30 

scsi-bnx2i                     2.78.76.v60.8-1vmw.650.0.0.4564106    VMW               VMwareCertified   2018-07-30 

scsi-fnic                      1.5.0.45-3vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

scsi-hpsa                      6.0.0.84-1vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

scsi-ips                       7.12.05-4vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

scsi-iscsi-linux-92            1.0.0.2-3vmw.650.0.0.4564106          VMW               VMwareCertified   2018-07-30 

scsi-libfc-92                  1.0.40.9.3-5vmw.650.0.0.4564106       VMW               VMwareCertified   2018-07-30 

scsi-megaraid-mbox             2.20.5.1-6vmw.650.0.0.4564106         VMW               VMwareCertified   2018-07-30 

scsi-megaraid-sas              6.603.55.00-2vmw.650.0.0.4564106      VMW               VMwareCertified   2018-07-30 

scsi-megaraid2                 2.00.4-9vmw.650.0.0.4564106           VMW               VMwareCertified   2018-07-30 

scsi-mpt2sas                   19.00.00.00-1vmw.650.0.0.4564106      VMW               VMwareCertified   2018-07-30 

scsi-mptsas                    4.23.01.00-10vmw.650.0.0.4564106      VMW               VMwareCertified   2018-07-30 

scsi-mptspi                    4.23.01.00-10vmw.650.0.0.4564106      VMW               VMwareCertified   2018-07-30 

scsi-qla4xxx                   5.01.03.2-7vmw.650.0.0.4564106        VMW               VMwareCertified   2018-07-30 

shim-iscsi-linux-9-2-1-0       6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-iscsi-linux-9-2-2-0       6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-libata-9-2-1-0            6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-libata-9-2-2-0            6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-libfc-9-2-1-0             6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-libfc-9-2-2-0             6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-libfcoe-9-2-1-0           6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-libfcoe-9-2-2-0           6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-vmklinux-9-2-1-0          6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-vmklinux-9-2-2-0          6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

shim-vmklinux-9-2-3-0          6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

uhci-usb-uhci                  1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

usb-storage-usb-storage        1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

usbcore-usb                    1.0-3vmw.650.1.26.5969303             VMW               VMwareCertified   2018-07-30 

vmkata                         0.1-1vmw.650.1.26.5969303             VMW               VMwareCertified   2018-07-30 

vmkplexer-vmkplexer            6.5.0-0.0.4564106                     VMW               VMwareCertified   2018-07-30 

vmkusb                         0.1-1vmw.650.1.26.5969303             VMW               VMwareCertified   2018-07-30 

vmw-ahci                       1.0.0-39vmw.650.1.26.5969303          VMW               VMwareCertified   2018-07-30 

xhci-xhci                      1.0-3vmw.650.0.0.4564106              VMW               VMwareCertified   2018-07-30 

cpu-microcode                  6.5.0-0.0.4564106                     VMware            VMwareCertified   2018-07-30 

emulex-esx-elxnetcli           11.1.28.0-0.0.4564106                 VMware            VMwareCertified   2018-07-30 

esx-base                       6.5.0-1.36.7388607                    VMware            VMwareCertified   2018-07-31 

esx-dvfilter-generic-fastpath  6.5.0-0.0.4564106                     VMware            VMwareCertified   2018-07-30 

esx-nsxv                       6.5.0-0.0.8590012                     VMware            VMwareCertified   2018-08-09 

esx-tboot                      6.5.0-1.36.7388607                    VMware            VMwareCertified   2018-07-31 

esx-ui                         1.21.0-5724747                        VMware            VMwareCertified   2018-07-30 

esx-xserver                    6.5.0-0.23.5969300                    VMware            VMwareCertified   2018-07-30 

lsu-hp-hpsa-plugin             2.0.0-5vmw.650.1.26.5969303           VMware            VMwareCertified   2018-07-30 

lsu-lsi-lsi-mr3-plugin         1.0.0-10vmw.650.1.26.5969303          VMware            VMwareCertified   2018-07-30 

lsu-lsi-lsi-msgpt3-plugin      1.0.0-7vmw.650.1.26.5969303           VMware            VMwareCertified   2018-07-30 

lsu-lsi-megaraid-sas-plugin    1.0.0-8vmw.650.1.26.5969303           VMware            VMwareCertified   2018-07-30 

lsu-lsi-mpt2sas-plugin         2.0.0-6vmw.650.1.26.5969303           VMware            VMwareCertified   2018-07-30 

native-misc-drivers            6.5.0-0.0.4564106                     VMware            VMwareCertified   2018-07-30 

rste                           2.0.2.0088-4vmw.650.0.0.4564106       VMware            VMwareCertified   2018-07-30 

vmware-esx-esxcli-nvme-plugin  1.2.0.10-1.26.5969303                 VMware            VMwareCertified   2018-07-30 

vmware-fdm                     6.7.0-9232925                         VMware            VMwareCertified   2018-07-31 

vsan                           6.5.0-1.36.7388608                    VMware            VMwareCertified   2018-07-31 

vsanhealth                     6.5.0-1.36.7388609                    VMware            VMwareCertified   2018-07-31 

tools-light                    6.5.0-0.23.5969300                    VMware            VMwareCertified   2018-07-30

Question 1

- Is command

esxcfg-module -l

thesame like command

lsmod

in linux? If answer is yes, "zero" in column "used" mean that I can delete that module, esxi host do not use them?

Question 2

How to make relationship between modules and VIB aka

module XXX belong YYY VIB?

TNX

Tags (2)
0 Kudos
0 Replies