[openstack-dev] [cinder]Do we have plan for restoring on-line volume?

hao wang sxmatch1986 at gmail.com
Wed Aug 12 03:18:43 UTC 2015


Yes, John, It's for boot from volume case. We can't restore the instance
root disk now with backups, although we can make backup with in-use
volumes. Snapshot is same, we can take a snapshot for in-use volumes, but
we only can create a new volume from it.

You know in some cases users don't want to change there instance's id, ip
address, or mac etc, even with DR scenarios, when fail back, users may
still want their old instances with old ip address and other stuff....

So I feel maybe a better way is that nova can support detach boot volume.



2015-08-12 4:46 GMT+08:00 John Griffith <john.griffith8 at gmail.com>:

>
>
> On Mon, Aug 10, 2015 at 9:54 PM, hao wang <sxmatch1986 at gmail.com> wrote:
>
>> @Duncan and John, I have a idea about this issue,  if volume is in-use
>> but the instance which it's attached to is power-off, so can we avoid data
>> corruption? If it's true, cinder could free the "available" restriction,
>> let user decide if they want to restore the boot disk, and they should shut
>> down the instance first and then restore volume.
>>
>> 2015-08-11 11:30 GMT+08:00 hao wang <sxmatch1986 at gmail.com>:
>>
>>> @Duncan and John, thank you both and I have understood this.  The reason
>>> I ask this question is we can't restore the boot volume of instance which
>>> is boot-from-volume, since Nova can't detach the boot disk now. So we need
>>> to figure out a way to solve this issue.
>>>
>>> Maybe we should let nova can detach the boot disk, but there are also
>>> some problems, like "what state should be set after detach the boot disk?
>>> Can user reboot/stop/migrate the instance after detach the boot disk? etc".
>>>
>>> Anyway, I feel it may be a long way to solve this issue properly.
>>>
>>> 2015-08-11 0:13 GMT+08:00 John Griffith <john.griffith8 at gmail.com>:
>>>
>>>>
>>>>
>>>> On Mon, Aug 10, 2015 at 3:47 AM, hao wang <sxmatch1986 at gmail.com>
>>>> wrote:
>>>>
>>>>> Sorry if I missed something, since now we have supported backup in-use
>>>>> volumes in L,  so I wonder is there some plan or design to support
>>>>> restoring on-line volumes.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --
>>>>>
>>>>> Best Wishes For You!
>>>>>
>>>>>
>>>>>
>>>>> __________________________________________________________________________
>>>>> OpenStack Development Mailing List (not for usage questions)
>>>>> Unsubscribe:
>>>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>
>>>>> ​No, a restore operation is going to require that the volume be taken
>>>> offline for a number of reasons.  Even with multi-attach if/when it ever
>>>> becomes a reality you can't write to the volume while it's in use by
>>>> another Instance (corruption, file system updates etc etc)​ unless you're
>>>> using a shared FS or clustered File System.
>>>>
>>>> That's a use case that I don't think has a ton of value and it's not
>>>> compelling enough to introduce all of the issues that come along with it
>>>> IMO.
>>>>
>>>> Thanks,
>>>> John
>>>>
>>>>
>>>>
>>>> __________________________________________________________________________
>>>> OpenStack Development Mailing List (not for usage questions)
>>>> Unsubscribe:
>>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Wishes For You!
>>>
>>>
>>
>>
>> --
>>
>> Best Wishes For You!
>>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>> ​Wouldn't a detach be less impact than powering off the instance?  I
> don't understand why this is desired?  Is there a compelling reason perhaps
> that I'm not aware of for this?
>> Oh... maybe you are thinking specifically for the boot from volume case
> here?
>
> I guess if that's the case I could see why you may desire to keep the
> instance ID etc after a restore.  Although I wish we could all just agree
> that things in Clouds are dynamic and things like their ID can change and
> just deal with it.  For point in time recovery type things I still think
> snapshots are great, for full DR, backups are preferred and with full DR
> scenarios I don't think it's unreasonable to require a little extra effort.
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 

Best Wishes For You!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150812/25e99e93/attachment.html>


More information about the OpenStack-dev mailing list