[PVE-User] Debian guests losing track of drive sequence?

Alwin Antreich alwin at antreich.com
Tue Mar 8 20:18:50 CET 2022

On March 8, 2022 7:12:10 PM GMT+01:00, Patrick Wade <pwade at netassets.com> 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}.

Hello Patrick,

More information about the pve-user mailing list