Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

13.21. manila create

usage: manila create [--snapshot-id <snapshot-id>] [--name <name>]
                     [--metadata [<key=value> [<key=value> ...]]]
                     [--share-network <network-info>]
                     [--description <description>] [--share-type <share-type>]
                     [--public] [--availability-zone <availability-zone>]
                     [--consistency-group <consistency-group>]
                     <share_protocol> <size>
Creates a new share (NFS, CIFS, CephFS, GlusterFS or HDFS).

Positional arguments

<share_protocol>


        Share type (NFS, CIFS, CephFS, GlusterFS or HDFS).

<size>


        Share size in GiB.

Optional arguments

--snapshot-id <snapshot-id>, --snapshot_id <snapshot-id>


      Optional snapshot ID to create the share from.
      (Default=None)

--name <name>


        Optional share name. (Default=None)

--metadata [<key=value> [<key=value> ...]]


      Metadata key=value pairs (Optional, Default=None).

--share-network <network-info>, --share_network <network-info>


      Optional network info ID or name.

--description <description>


      Optional share description. (Default=None)

--share-type <share-type>, --share_type <share-type>, --volume-type <share-type>, --volume_type <share-type>


      Optional share type. Use of optional volume type is
      deprecated(Default=None)

--public


        Level of visibility for share. Defines whether other
      tenants are able to see it or not.

--availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>


      Availability zone in which share should be created.

--consistency-group <consistency-group>, --consistency_group <consistency-group>, --cg <consistency-group>


      Optional consistency group name or ID in which to
      create the share (Experimental, Default=None).