I always tell users that is is dangerous to add the same storage 
multiple times (using different names and options). This breaks very
basic assumptions and locking will not work as expected.

Also, the purpose of 'rescan' is to detect all stale volumes. So your 
patch makes the whole thing pointless.

-1

> On July 3, 2018 at 5:41 PM Alwin Antreich <a.antre...@proxmox.com> wrote:
> 
> 
> Unused disk(s) appeared after a rescan of storages. Especially shown
> with ceph pools, where two storage entries are made, <storage>_ct and
> <storage>_vm. The rescan method did include images from both storages.
> 
> This patch filters any storage not containing the content type 'images'.

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to