Redhat 6.3 openstack的cinder装配配置
Redhat 6.3 openstack的cinder安装配置??? volume_list should include your os related volume group. 附
Redhat 6.3 openstack的cinder安装配置
?
?
?
volume_list should include your os related volume group. 附:For Short details output of Volume group#vgscan
?
??
7)add volumes dir in?/etc/tgt/targets.conf
include /var/lib/cinder/volumes/*
8) restart tgtd service
9) init cinder db cinder-manage db sync
10) test if cinder works
10.1 create one test loop file and mount it ? dd if=/dev/zero of=cinder-volumes bs=1 count=0 seek=2G
losetup /dev/loop2 cinder-volumes
10.2 init pv and create vg pvcreate /dev/loop2
vgcreate cinder-volumes /dev/loop2
10.3 check if volume is created pvscan
10.4 restart cinder service: cinder api, scheduler, volume#service openstack-cinder-api restart? 或者 /etc/init.d/openstack-cinder-api restart#service openstack-cinder-scheduler restart? 或者 /etc/init.d/openstack-cinder-scheduler restart#service openstack-cinder-volume restart 或者? /etc/init.d/openstack-cinder-volume restart
10.5 use cinder to create volume? cinder create --display_name test 1
10.6 verify volume created successfully? cinder list ? volume should in "available" statu?===================== cinder命令学习:http://www.cnblogs.com/youjianxiaoxiang/archive/2012/12/18/2823511.html