that's not a proxmox issue but general linux issue.

solution:

use persistent device names

https://unix.stackexchange.com/questions/530517/persistent-disk-name-dev-sdx-changing-with-almost-every-reboot

there is lot's of more info on that on the net...

roland


Am 08.03.22 um 19:12 schrieb Patrick Wade:
I have a PVE 7.1-10 environment with several Debian 11 guests; in some of these 
guests, I have added a second, scsi1 virtual hard disk in addition to the scsi0 
boot virtual disk.  I have referenced these as /dev/sda and /dev/sdb in 
/etc/fstab in the guest.

 From time to time, when rebooting the guest, the drives are mounted in the 
wrong order; the content that was in /dev/sdb1 is mounted as the root 
partition, as if it were /dev/sda1.

What am I missing that I need to do to ensure the guest mounts its virtual 
disks in the correct manner?

--
Patrick R. Wade

_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to