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

Valentin Bud valentin.bud at gmail.com
Wed Oct 2 06:24:32 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131002/e8514b33/attachment-0002.htm>


More information about the Users mailing list