[Openstack] can I manually register a volume in cinder

Avishay Traeger avishay at stratoscale.com
Tue Jul 12 05:12:54 UTC 2016


Yes, you can do this with the "cinder manage" command.  The syntax should
be:

cinder manage --id-type source-name <host> <identifier>
Where:
<host> is the name of your Ceph Cinder backend (you can run "cinder-manage
host list" to get this)
<identifier> is the name of the volume on the Ceph backend

You can also optionally specify name, description, volume type,
availability zone, metadata, and bootable flag in the same command.


On Mon, Jul 11, 2016 at 5:42 PM, yang sheng <forsaks.30 at gmail.com> wrote:

> Hi
> I am using openstack liberty with ceph jewel.
>
> All the glance images and cinder volumes are stored in ceph pools (images
> and volumes pools)
>
> I have some volumes in the ceph volumes pool but not registered in cinder
> (database).
>
> Is there anyway I can manually register these volumes (in ceph volumes
> pool) in the cinder?
>
> thanks
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
*Avishay Traeger, PhD*
*System Architect*

Mobile: +972 54 447 1475
E-mail: avishay at stratoscale.com



Web <http://www.stratoscale.com/> | Blog <http://www.stratoscale.com/blog/>
 | Twitter <https://twitter.com/Stratoscale> | Google+
<https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts>
 | Linkedin <https://www.linkedin.com/company/stratoscale>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160712/3785a8b1/attachment.html>


More information about the Openstack mailing list