--- Begin Message ---
On March 8, 2022 7:12:10 PM GMT+01:00, Patrick Wade <[email protected]> wrote:
>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?
You'll need to use a stable device path.
Eg. /dev/disk/by-{id,label,partuuid,path,uuid}.
Cheers,
Alwin
Hello Patrick,
--- End Message ---
_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user