In Proxmox Virtual Environment (PVE), integrating 10Gb network cards can sometimes lead to system logs growing uncontrollably, consuming significant disk space. This issue often arises due to verbose logging from the network driver, particularly when using cards like the Intel X520 series. Proxmox Support Forum+5Proxmox Support Forum+5Proxmox Support Forum+5
To address this, I’ve developed a bash script that automates the process of updating the network driver and adjusting its logging level to prevent log bloating.
Features of the Script
- Driver Update: Installs the latest stable version of the
ixgbe
driver, ensuring compatibility and performance improvements. - Log Level Adjustment: Modifies the driver parameters to reduce unnecessary logging, thereby preventing log files from growing excessively.
- Network Interface Configuration: Allows users to specify the network interfaces (e.g.,
ens8191f0
,ens8191f1
) to apply the changes selectively.
How to Use
- Access the Proxmox shell via the PVE web interface.
- Download the script using:
wget https://raw.githubusercontent.com/pcostan/proxmox-10gb-network-card-fix/main/proxmox-update-network-driver.sh
3. Make the script executable:
chmod +x proxmox-update-network-driver.sh
4. Before running the script make sure you update with the appropriate network interface names(YOURNICPORT0,YOURNICPORT1):
./proxmox-update-network-driver.sh
This script simplifies the process of mitigating log bloating issues associated with 10Gb network cards in Proxmox, enhancing system stability and performance.
For more details and the full script, visit the GitHub repository.
Comments are closed