[SOLVED] Removed NVME drive lost networking

johnvick

New Member
Mar 1, 2022
24
2
3
63
Using 7.2-3 - I have an NVME drive I was using for VM and CT. It has bad sectors so is to be returned. I wiped the drive ready for this, removed it, restarted to find no networking. Couldn't ping the router. Other than that from the terminal I established the system was running OK.

I replace the NVME and the networking is back. How can I safely remove the drive?

This is /etc/network/interfaces

auto lo
iface lo inet loopback

iface enp174s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.83/24
gateway 192.168.1.1
bridge-ports enp174s0
bridge-stp off
bridge-fd 0

iface wlp175s0 inet manual
 
Last edited:

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
7,391
1,187
164
I would assume that removing the NVME caused the pci-addresses in the system to change - and with that your NIC is not called `enp174s0` anymore but something else - see https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

in any case usually you can fix this by:
* logging in locally
* running `ip link show`
* looking for the new nic name (maybe it's simply enp173s0, but could also change to eno1....)
* replace the iface and bridge-ports line in /etc/network/interfaces
* reboot

I hope this helps!
 
  • Like
Reactions: adrianh85

Docop2

Member
Nov 20, 2021
75
5
8
43
Can it be possible to force used the card id (xxx:xxx) into a config file instead of auto assign name to them ? here as for nic card..
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!