[one-users] how to find image filename in datastores folder

Jaime Melis jmelis at opennebula.org
Wed Oct 2 06:37:55 PDT 2013


Hi Lorenzo,

Valentin's right.

I would like to add that recently another user requested that for Sunstone
and I attached a patch, you can read this thread:
http://lists.opennebula.org/pipermail/users-opennebula.org/2013-September/024620.html

cheers,
Jaime


On Wed, Oct 2, 2013 at 3:24 PM, Valentin Bud <valentin.bud at gmail.com> wrote:

> Hey there Lorenzo,
>
> oneimage list will give the ID of the images and the name among other
> things.
>
> oneimage show <ID> | <NAME> will give you information about the said image.
>
> The SOURCE is what you are looking for.
>
> oneimage show 100 | grep SOURCE
>
> Nice to see you around :-).
>
> Good Will,
>
>
>
> On Wed, Oct 2, 2013 at 4:02 PM, Lorenzo Faleschini <
> lorenzo.faleschini at nordestsystems.com> wrote:
>
>> Hi,
>>
>> I'm quite a noob here, so maybe my question can sound stupid.
>> I'm currently using CloudWeavers, actually running ONE 4.0 and MooseFS
>> for storage of /var/lib/one (to take snapshots to use as backup / DR tool)
>>
>> It is to be said I manage "cats" and not "kettle" (to cite @cdaffara at
>> #OpenNebulaConf) so I use ONE to manage small infrastructures where
>> almost all server images are persistent and I need to take care of (I
>> dont just fire up 100 vms for sci-calc but I manage few critical vms
>> taking advantage of all the features ONE + MFS can give me for
>> reliability and flexybility).
>>
>> After this preamble I tell you what my problem is: I didnt find an easy
>> way to know which filename an image has in /var/lib/one/datastores/1.
>> For now I look for it in the folder at time of creation and I take note
>> (or I search in the LOG of the vm). But ...
>>
>> it's there a easier way to get FILENAME out of IMAGE_ID?
>>
>> thanks
>> Lorenzo
>>
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
>
>
>
> --
> Valentin Bud
> http://databus.pro | valentin at databus.pro
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131002/bae08cf0/attachment-0002.htm>


More information about the Users mailing list