[pve-devel] activate hotplug by default ?

Alexandre DERUMIER aderumier at odiso.com
Tue Feb 19 14:23:14 CET 2013


Hi Martin,

The unplug works in 2 parts :

1) drive_del  (drive removal from controller = eject from windows)
2) device_del (remove the controller)

they are async, and I check the device list after removal a loop for 5 seconds.


Can you post a "info pci" result from monitor after 1min by example, to see if the drive is not remove too late.

What was the usage of the disk you remove ? (heavy read/write access ?)


I'll redo test

----- Mail original ----- 

De: "Martin Maurer" <martin at proxmox.com> 
À: pve-devel at pve.proxmox.com 
Envoyé: Mardi 19 Février 2013 13:26:16 
Objet: Re: [pve-devel] activate hotplug by default ? 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Alexandre DERUMIER 
> Sent: Dienstag, 19. Februar 2013 06:26 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] activate hotplug by default ? 
> 
> Hi, 
> 
> hotplug code is pretty stable (I'm using it since more 1 year), 
> 
> Maybe is it time to activate it by default ? 
> 
> For windows (xp,w7,w8,2003,2008,2012) it's working out of the box. 

As soon as I remove (hot-unplug) now a disk (e.g. from a win2008r2), I see the following error on the gui (after timeout): 

"error hot-unplug virtio2 at /usr/share/perl5/PVE/API2/Qemu.pm line 659. (500)" 

the monitor shows the disk as removed, the config is still with the disk and the windows box is on trouble (still shows the disk, but hang and display I/O device errors) 

It works, if I "eject" the disk inside windows before I remove it. 

As most user will just click remove (without eject it inside win), we will need to fix the problem and/or improve the user experience here. 

Any idea? 

Martin 





_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list