[pve-devel] need advise on rbd disk editing/change (die on path not exist)

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Mon Jun 18 10:25:25 CEST 2012


Am 18.06.2012 10:05, schrieb Dietmar Maurer:
>> I think we need a path / disk check per storage plugin? So every storage
>> plugin should do this check on their own.
>
> Alexandre suggested:
>
>> maybe vdisk_list and check if disk exist ?
>
> What is wrong with the suggestion from Alexandre?
> What would be the advantage having a per plugin method?

There's nothing wrong but wouldn't it make sense to still check the 
existance of the image via rbd ls? I thought the idea behind this check 
is to verify that the image / path exist. With a check per plugin even 
with rbd we can check if the image file exist.

Stefan



More information about the pve-devel mailing list