[pve-devel] applied: [PATCH v3 container] fix #2820: don't hotplug over existing mpX

Oguz Bektas o.bektas at proxmox.com
Mon Jul 13 13:16:48 CEST 2020


On Mon, Jul 13, 2020 at 01:00:55PM +0200, Thomas Lamprecht wrote:
> On 02.07.20 12:10, Oguz Bektas wrote:
> > check if the given mpX already exists in the config.  if it does, then
> > skip hotplugging and write the changes to [pve:pending] for the next
> > reboot of CT.
> > 
> > after rebooting the CT, the preexisting mpX will be added as unused and
> > the mpX will be mounted.
> > 
> > Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> > ---
> >  src/PVE/LXC/Config.pm | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> >
> 
> applied, thanks! Maybe we want the GUI "Add MP" to avoid pre selecting a MP id
> which is pending deletions? At least if others are still free?

yes, makes sense. i'll look into that





More information about the pve-devel mailing list