I found that cinder-volume
will distribute the volume to the pool which dependent on their virtual or actual free capacity while request to create a new volume without special volume type and there are two or more backend pools without setting the default_volume_type configuration option.
Actually, in my case, there is a ceph_common pool which remain 30 TiB
for MAX AVAIL, the other is a ceph_specs pool which remain 10 TiB
for MAX AVAIL, it will create a new volume in ceph_specs pool while creating without volume type as openstack volume create --size 10 test_vol_without_type
.
I had check from these links and can't get any clue:
- https://docs.openstack.org/cinder/latest/admin/default-volume-types.html
- https://docs.openstack.org/cinder/latest/configuration/block-storage/samples/cinder.conf.html
Could anyone give any advice? What's the principle of this situation? THX.