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).

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top