| Info |
|---|
Pre-requisites:
|
| Table of Contents |
|---|
Create a Share Network
Create a share network using the Manila CLI. The recommended naming convention is <tenant_name>-sfs-server
...
NOT SURE IF NEUTRON NET ID IS NECESSARY. CHECK
Create a File share
File shares can be created using the Manila or OpenStack CLIs. First it is recommended to check what types of SFS are available in your cloud, to do that, run
| Code Block |
|---|
openstack share type list |
which, by default, will only show the SFS type available. The output of the above command should look like.
Then create a file share with either of the following commands
...
| Code Block |
|---|
openstack share access delete <access_id> manila access-deny myshare <access_id> |
Mount file share to a VM
Even if the file share is accessible to the VM, one can not read or write on it until it is mounted to a directory in the VM. In order to do so, first create an appropriate directory on the VM
...
then grab the export path for the file share. This can be found by doing
| Code Block |
|---|
openstack sahreshare show <share_name_or_id> manila show <share_name_or_id> |
...
