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>
Copy to Clipboard Toggle word wrap
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).

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

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

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

Theme

© 2025 Red Hat