> > + # check if storage is available on both nodes > > + my $scfg = PVE::Storage::storage_check_node($self->{storecfg}, $sid); > > you introduce an unused variable here? OK, ignore me - I see you use it with the next patch...