[one-users] Use of DS driver stat script

Daniel Molina dmolina at opennebula.org
Mon Aug 6 01:59:32 PDT 2012


Hi Gary,

On 5 August 2012 18:40, Gary S. Cuozzo <gary at isgsoftware.net> wrote:
> Hello,
> I am developing a custom DS driver.  When is the 'stat' script called?  I
> have created an implementation of the script, but don't actually know how to
> make it be called by OpenNebula for a "real" test.
>

The 'stat' script is called when adding a new image to the datastore
(oneimage create template.one --datastore your_custom_DS) to determine
the size of the new image.

> I have another drive which I wrote for v3.4 and am also wondering if I need
> to add a stat script for v3.6.

You must, otherwise you won't be able to create new images.

Cheers

-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list