[pve-devel] vm stop tasks hanging

Dietmar Maurer dietmar at proxmox.com
Fri Apr 20 15:51:16 CEST 2012


> it take around 60sec to parse all my disks on a test server
> 
> But I don't understand why it hang when called on my production server.
> 
> Maybe I have a hanging disk lun on my production server...
> 
> Do we really need to rescan lvm before desactivate volumes ?
> 
> what happen if we remove:
> 
> my $lvs = lvm_lvs ()
> if ($lvs->{$scfg->{vgname}}->{$name}) {

Then we may run the command for non-existent disks? But maybe there is a faster test to see if a lvm device is active (test if device exists)?

- Dietmar


More information about the pve-devel mailing list