* [PVE-User] Debian guests losing track of drive sequence? @ 2022-03-08 18:12 Patrick Wade 2022-03-08 19:00 ` Roland [not found] ` <mailman.529.1646767174.456.pve-user@lists.proxmox.com> 0 siblings, 2 replies; 4+ messages in thread From: Patrick Wade @ 2022-03-08 18:12 UTC (permalink / raw) To: pve-user 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] Debian guests losing track of drive sequence? 2022-03-08 18:12 [PVE-User] Debian guests losing track of drive sequence? Patrick Wade @ 2022-03-08 19:00 ` Roland 2022-03-08 19:01 ` Patrick Wade [not found] ` <mailman.529.1646767174.456.pve-user@lists.proxmox.com> 1 sibling, 1 reply; 4+ messages in thread From: Roland @ 2022-03-08 19:00 UTC (permalink / raw) To: Proxmox VE user list, Patrick Wade 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 > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] Debian guests losing track of drive sequence? 2022-03-08 19:00 ` Roland @ 2022-03-08 19:01 ` Patrick Wade 0 siblings, 0 replies; 4+ messages in thread From: Patrick Wade @ 2022-03-08 19:01 UTC (permalink / raw) To: Proxmox VE user list Thanks! -- Patrick R. Wade -----Original Message----- From: Roland <devzero@web.de> Sent: Tuesday, March 8, 2022 11:00 To: Proxmox VE user list <pve-user@lists.proxmox.com>; Patrick Wade <pwade@netassets.com> Subject: Re: [PVE-User] Debian guests losing track of drive sequence? 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 > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.529.1646767174.456.pve-user@lists.proxmox.com>]
* Re: [PVE-User] Debian guests losing track of drive sequence? [not found] ` <mailman.529.1646767174.456.pve-user@lists.proxmox.com> @ 2022-03-08 19:33 ` M. Lyakhovsky 0 siblings, 0 replies; 4+ messages in thread From: M. Lyakhovsky @ 2022-03-08 19:33 UTC (permalink / raw) To: Proxmox VE user list hi after million tries I succeeded but now lvremove is part of lvm2 library which just doesnt want to be loaded also how does one give the wifi password it has to be input in the interfaces file somehow any pointers on how On Tue, Mar 8, 2022 at 2:19 PM Alwin Antreich via pve-user < pve-user@lists.proxmox.com> wrote: > > > > ---------- Forwarded message ---------- > From: Alwin Antreich <alwin@antreich.com> > To: Proxmox VE user list <pve-user@lists.proxmox.com>, Patrick Wade < > pwade@netassets.com> > Cc: > Bcc: > Date: Tue, 08 Mar 2022 20:18:50 +0100 > Subject: Re: [PVE-User] Debian guests losing track of drive sequence? > On March 8, 2022 7:12:10 PM GMT+01:00, Patrick Wade <pwade@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}. > > Cheers, > Alwin > Hello Patrick, > > > > > ---------- Forwarded message ---------- > From: Alwin Antreich via pve-user <pve-user@lists.proxmox.com> > To: Proxmox VE user list <pve-user@lists.proxmox.com>, Patrick Wade < > pwade@netassets.com> > Cc: Alwin Antreich <alwin@antreich.com> > Bcc: > Date: Tue, 08 Mar 2022 20:18:50 +0100 > Subject: Re: [PVE-User] Debian guests losing track of drive sequence? > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > -- Do have a Blessed Day ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-08 19:33 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-03-08 18:12 [PVE-User] Debian guests losing track of drive sequence? Patrick Wade 2022-03-08 19:00 ` Roland 2022-03-08 19:01 ` Patrick Wade [not found] ` <mailman.529.1646767174.456.pve-user@lists.proxmox.com> 2022-03-08 19:33 ` M. Lyakhovsky
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox