Chapter 6 Cinder - 049 - ready LVM Volume Provider

Ready LVM Volume Provider

 

Components Cinder Volume management is responsible for the real volume provider.

Cinder supports multiple volume provider, LVM is the default volume provider.

After Devstack installation, / etc / cinder / cinder already configured LVM,

As shown below:

 

The above configuration defines the volume provider called "lvmdriver-1" is also referred to as back-end.

Which driver is LVM, LVM volume group called the "stack-volumes-lvmdriver-1".

And it does not automatically create a volume group when Devstack installation, so we need to be created manually.

 

The following steps demonstrate the creation VG "stack-volumes-lvmdriver-1" on / dev / sdb:

1, first create physical volume / dev / sdb

2, Linux lvm the default configuration does not allow to create PV on / dev / sdb, sdb need to be added to the filter /etc/lvm.conf in.

3, and then create VG stack-volumes-lvmdriver-1

 

Open the Web GUI, you can see OpenStack has been created Volume Type "lvmdriver-1"

 

Extra Specs volume_backend_name which is lvmdriver-1

 

-------------------------------------------------- ---- quoted from -------------------------------------------- -------------------

https://mp.weixin.qq.com/s?__biz=MzIwMTM5MjUwMg==&mid=2653587757&idx=1&sn=d737b4fcd5866538dcd41acb3b395d61&chksm=8d308134ba470822f6c86aa7d9e6e547e29bc96afbf0eae972f97df14c244f525b155ec14a9f&scene=21#wechat_redirect

转载于:https://www.cnblogs.com/gsophy/p/11065140.html

Guess you like

Origin blog.csdn.net/weixin_33708432/article/details/94010557