Chapter 5. Create a Basic Share Type

Whenever you create a new share, you need to specify a share type. If you don’t specify one, the share creation will fail.

To create a basic share type named default, run the following as the stack user on the undercloud:

$ source ~/overcloudrc
$ manila type-create default false

Here, we specify false since there is no need for the NetApp driver to handle the lifecycle of share servers. This is because we set ManilaNetappDriverHandlesShareServers to false in Chapter 3, Create the Environment File. Otherwise, if ManilaNetappDriverHandlesShareServers is set to true you can match the default share type to this. For more information about share types, see Create and Manage Shares (from the Red Hat OpenStack Platform Storage Guide).