Michael Kim
Cadet
- Joined
- May 10, 2021
- Messages
- 2
Hi,
My Environment:
FreeNAS-11.3-U4.1
OpenStack 14.1.0+python 2.7
I have succeeded in connecting FreeNAS to OpenStack using cinder driver (https://github.com/lfdominguez/cinder-volume-freenas)
etc/cinder/cinder.conf:
[ixsystems-iscsi]
iscsi_helper = tgtadm
volume_dd_blocksize = 512
volume_driver = cinder.volume.drivers.ixsystems.iscsi.FreeNASISCSIDriver
ixsystems_login = <FreeNAS id>
ixsystems_password = <FreeNAS password>
ixsystems_server_hostname = <FreeNAS ip address>
ixsystems_volume_backend_name = iXsystems_FREENAS_Storage
ixsystems_iqn_prefix = iqn.2005-10.org.freenas.ctl
ixsystems_datastore_pool = <Name Of Data Pool>
ixsystems_dataset_path = <Name Of Data Pool>/<Name of dataset>
ixsystems_vendor_name = iXsystems
ixsystems_storage_protocol = iscsi
When I create a volume in OpenStack, a new dataset is not created under the dataset, but created under the Data Pool as zfs.
I have 3 questions.
1. Is it normal that being created under Data Pool using this configuration?
2. If no, How can I create volume under dataset?
3. If Yes, Is there any method to set limit of quota for OpenStack storage in FreeNAS?
BR
My Environment:
FreeNAS-11.3-U4.1
OpenStack 14.1.0+python 2.7
I have succeeded in connecting FreeNAS to OpenStack using cinder driver (https://github.com/lfdominguez/cinder-volume-freenas)
etc/cinder/cinder.conf:
[ixsystems-iscsi]
iscsi_helper = tgtadm
volume_dd_blocksize = 512
volume_driver = cinder.volume.drivers.ixsystems.iscsi.FreeNASISCSIDriver
ixsystems_login = <FreeNAS id>
ixsystems_password = <FreeNAS password>
ixsystems_server_hostname = <FreeNAS ip address>
ixsystems_volume_backend_name = iXsystems_FREENAS_Storage
ixsystems_iqn_prefix = iqn.2005-10.org.freenas.ctl
ixsystems_datastore_pool = <Name Of Data Pool>
ixsystems_dataset_path = <Name Of Data Pool>/<Name of dataset>
ixsystems_vendor_name = iXsystems
ixsystems_storage_protocol = iscsi
When I create a volume in OpenStack, a new dataset is not created under the dataset, but created under the Data Pool as zfs.
I have 3 questions.
1. Is it normal that being created under Data Pool using this configuration?
2. If no, How can I create volume under dataset?
3. If Yes, Is there any method to set limit of quota for OpenStack storage in FreeNAS?
BR