Device Symlinks of USB HDDs changing on reboot

vlaves

Active Member
Oct 28, 2017
6
0
41
45
Hi together,

I have a USB 3.1 4-bay HDD Case attached to my NAS where I am running openmediavault 6.x on. It is a fresh install on the internal NVME and everything is updated.

But I have a problem, that the Device Symlinks of my 4-bay USB HDDs don't stay consistent on reboots or on reconnecting the USB case. I have attached two screenshots showing the change. Is there a place in linux where I can set these drives to always mount with the same device symlink by specifying maybe the usb-port or serial number of the HDDs or something which is unique. I read already on that it maight be something I can adjust in the udev script, but of course I am not sure.

tried to passthrough HDDs by-id to VM, but on reboot the VM could not start up, cause the ID changed.

Thanks for the support in advance.
 

Attachments

  • Bildschirmfoto 2022-04-18 um 09.23.03.png
    Bildschirmfoto 2022-04-18 um 09.23.03.png
    781.5 KB · Views: 9
  • Bildschirmfoto 2022-04-18 um 09.23.52.png
    Bildschirmfoto 2022-04-18 um 09.23.52.png
    744.5 KB · Views: 9
Please provide the VM config.
The disk names found in /dev/disk/by-id should be stable.
 

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 yours easily in our online shop.

Buy now!