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 <[email protected]> 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     : [email protected]
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


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

Mobile: +972 54 447 1475
E-mail: [email protected]



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>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to