You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Nux! <nu...@li.nux.ro> on 2013/11/04 17:30:30 UTC

Link between a snapshot and it's filename on disk

Hello,

I'm don't seem to be able to match a snapshot from the UI with the file 
on disk in the secondary storage. I managed to find it by looking at 
timestamps, but otherwise there is no apparent (to me) link.
Can anyone advise how I could find a snapshot's file on disk?

For example I have a snapshot with name detached_fff_20131104155235 and 
ID bf08aea6-20d0-445f-b9e7-1039cea8d0a2. In the secondary storage the 
coresponding filename on disk is 
622ddb9e-86f8-4040-883b-955f3cfdb936.vhd (found by timestamp match).. to 
me it wuld have made sense to have the filename match the ID.

Pointers?

Lucian

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

Re: Link between a snapshot and it's filename on disk

Posted by Marty Sweet <ms...@gmail.com>.
You can also look up the path in the database if required,

Marty


On Mon, Nov 4, 2013 at 4:35 PM, Nux! <nu...@li.nux.ro> wrote:

> On 04.11.2013 16:30, Nux! wrote:
>
>> Hello,
>>
>> I'm don't seem to be able to match a snapshot from the UI with the
>> file on disk in the secondary storage. I managed to find it by looking
>> at timestamps, but otherwise there is no apparent (to me) link.
>> Can anyone advise how I could find a snapshot's file on disk?
>>
>> For example I have a snapshot with name detached_fff_20131104155235
>> and ID bf08aea6-20d0-445f-b9e7-1039cea8d0a2. In the secondary storage
>> the coresponding filename on disk is
>> 622ddb9e-86f8-4040-883b-955f3cfdb936.vhd (found by timestamp match)..
>> to me it wuld have made sense to have the filename match the ID.
>>
>> Pointers?
>>
>> Lucian
>>
>
> BTW, this is related to https://issues.apache.org/
> jira/browse/CLOUDSTACK-5035
> I was advising  Diogo to run "qemu-img info" on the file, if he could find
> it. :)
>
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>

Re: Link between a snapshot and it's filename on disk

Posted by Nux! <nu...@li.nux.ro>.
On 04.11.2013 16:30, Nux! wrote:
> Hello,
> 
> I'm don't seem to be able to match a snapshot from the UI with the
> file on disk in the secondary storage. I managed to find it by looking
> at timestamps, but otherwise there is no apparent (to me) link.
> Can anyone advise how I could find a snapshot's file on disk?
> 
> For example I have a snapshot with name detached_fff_20131104155235
> and ID bf08aea6-20d0-445f-b9e7-1039cea8d0a2. In the secondary storage
> the coresponding filename on disk is
> 622ddb9e-86f8-4040-883b-955f3cfdb936.vhd (found by timestamp match)..
> to me it wuld have made sense to have the filename match the ID.
> 
> Pointers?
> 
> Lucian

BTW, this is related to 
https://issues.apache.org/jira/browse/CLOUDSTACK-5035
I was advising  Diogo to run "qemu-img info" on the file, if he could 
find it. :)

Lucian

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro