摘要: Restore Volume 操作 restore 的过程其实很简单,两步走: 在存储节点上创建一个空白 volume。 将 backup 的数据 copy 到空白 voluem 上。 restore 操作的详细流程: 1、向 cinder-api 发送 backup 请求 2、cinder-api 阅读全文
posted @ 2019-06-24 17:45 gsophy 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Backup Volume 操作 Backup 是将 volume 备份到别的地方(备份设备),将来可以通过 restore 操作恢复。 Backup VS Snapshot 初看 backup 功能好像与 snapshot 很相似,都可以保存 volume 的当前状态,以备以后恢复。 但二者在用途 阅读全文
posted @ 2019-06-24 17:20 gsophy 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Snapshot Volume 操作 Snapshot 可以为 volume 创建快照,快照中保存了 volume 当前的状态,以后可以通过 snapshot 回溯。 snapshot 操作实现比较简单,流程图如下: 1、向 cinder-api 发送 snapshot 请求 2、cinder-ap 阅读全文
posted @ 2019-06-24 15:34 gsophy 阅读(252) 评论(0) 推荐(0) 编辑
摘要: Delete Volume 操作 状态为 Available 的 volume 才能够被 delete。 如果 volume 当前已经 attach 到 instance,需要先 detach 后才能 delete。 Delete操作实现比较简单,流程图如下: 1、向 cinder-api 发送 d 阅读全文
posted @ 2019-06-24 11:24 gsophy 阅读(414) 评论(0) 推荐(0) 编辑
摘要: Extend Volume 操作 Extend Volume 操作扩大 volume 的容量。为了保护现有数据,cinder 不允许缩小 volume。 Extend 操作用于扩大 Volume 的容量,状态为 Available 的 volume 才能够被 extend。 如果 volume 当前 阅读全文
posted @ 2019-06-24 11:07 gsophy 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Detach Volume 操作 下图是 Detach 操作的流程图 1、向 cinder-api 发送 detach 请求 2、cinder-api 发送消息 3、nova-compute detach volume 4、cinder-volume 删除 target 详细分析: 1、向 cind 阅读全文
posted @ 2019-06-24 09:43 gsophy 阅读(353) 评论(0) 推荐(0) 编辑