The manila client is the command-line interface (CLI) for the Shared File Systems service API and its extensions.
This chapter documents manila version 1.11.0.
For help on a specific manila command, enter:
$ manila help COMMAND
usage: manila [--version] [-d] [--os-cache] [--os-reset-cache]
[--os-user-id <auth-user-id>] [--os-username <auth-user-name>]
[--os-password <auth-password>]
[--os-tenant-name <auth-tenant-name>]
[--os-project-name <auth-project-name>]
[--os-tenant-id <auth-tenant-id>]
[--os-project-id <auth-project-id>]
[--os-user-domain-id <auth-user-domain-id>]
[--os-user-domain-name <auth-user-domain-name>]
[--os-project-domain-id <auth-project-domain-id>]
[--os-project-domain-name <auth-project-domain-name>]
[--os-auth-url <auth-url>] [--os-region-name <region-name>]
[--os-token <token>] [--bypass-url <bypass-url>]
[--service-type <service-type>] [--service-name <service-name>]
[--share-service-name <share-service-name>]
[--endpoint-type <endpoint-type>]
[--os-share-api-version <share-api-ver>]
[--os-cacert <ca-certificate>] [--retries <retries>]
[--os-cert <certificate>]
<subcommand> ...
Subcommands:
absolute-limitsaccess-allowaccess-denyaccess-listapi-versioncg-createcg-deletecg-listcg-reset-statecg-showcg-snapshot-createcg-snapshot-deletecg-snapshot-listcg-snapshot-memberscg-snapshot-reset-statecg-snapshot-showcg-snapshot-updatecg-updatecreatecredentialsdeleteendpointsextendextra-specs-listforce-deletelistmanagemetadatametadata-showmetadata-update-allmigration-cancelmigration-completemigration-get-progressmigration-startpool-listquota-class-showquota-class-updatequota-defaultsquota-deletequota-showquota-updaterate-limitsreset-statereset-task-statesecurity-service-createsecurity-service-deletesecurity-service-listsecurity-service-showsecurity-service-updateservice-disableservice-enableservice-listshare-export-location-listshare-export-location-showshare-instance-export-location-listshare-instance-export-location-showshare-instance-force-deleteshare-instance-listshare-instance-reset-stateshare-instance-showshare-network-createshare-network-deleteshare-network-listshare-network-security-service-addshare-network-security-service-listshare-network-security-service-removeshare-network-showshare-network-updateshare-replica-createshare-replica-deleteshare-replica-listshare-replica-promoteshare-replica-reset-replica-stateshare-replica-reset-stateshare-replica-resyncshare-replica-showshare-server-deleteshare-server-detailsshare-server-listshare-server-showshowshrinksnapshot-createsnapshot-deletesnapshot-force-deletesnapshot-instance-listsnapshot-instance-reset-statesnapshot-instance-showsnapshot-listsnapshot-managesnapshot-renamesnapshot-reset-statesnapshot-showsnapshot-unmanagetype-access-addtype-access-listtype-access-removetype-createtype-deletetype-keytype-listunmanageupdatebash-completionhelplist-extensions--version-d, --debug--os-cacheenv[OS_CACHE].--os-reset-cache--os-user-id <auth-user-id>--os-username <auth-user-name>env[OS_USERNAME].--os-password <auth-password>env[OS_PASSWORD].--os-tenant-name <auth-tenant-name>env[OS_TENANT_NAME].--os-project-name <auth-project-name>--os-tenant-name. Defaults to
env[OS_PROJECT_NAME].--os-tenant-id <auth-tenant-id>env[OS_TENANT_ID].--os-project-id <auth-project-id>--os-tenant-id. Defaults to
env[OS_PROJECT_ID].--os-user-domain-id <auth-user-domain-id>env[OS_USER_DOMAIN_ID].--os-user-domain-name <auth-user-domain-name>env[OS_USER_DOMAIN_NAME].--os-project-domain-id <auth-project-domain-id>env[OS_PROJECT_DOMAIN_ID].--os-project-domain-name <auth-project-domain-name>env[OS_PROJECT_DOMAIN_NAME].--os-auth-url <auth-url>env[OS_AUTH_URL].--os-region-name <region-name>env[OS_REGION_NAME].--os-token <token>env[OS_TOKEN].--bypass-url <bypass-url>env[OS_MANILA_BYPASS_URL].--service-type <service-type>--service-name <service-name>env[OS_MANILA_SERVICE_NAME].--share-service-name <share-service-name>env[OS_MANILA_SHARE_SERVICE_NAME].--endpoint-type <endpoint-type>env[OS_MANILA_ENDPOINT_TYPE] or publicURL.--os-share-api-version <share-api-ver>env[OS_SHARE_API_VERSION].--os-cacert <ca-certificate>env[OS_CACERT].--retries <retries>--os-cert <certificate>env[OS_CERT].usage: manila access-allow [--access-level <access_level>]
<share> <access_type> <access_to>
Allow access to the share.
Positional arguments:
<share><access_type><access_to>Optional arguments:
--access-level <access_level>, --access_level <access_level>usage: manila access-deny <share> <id>
Deny access to a share.
Positional arguments:
<share><id>usage: manila access-list [--columns <columns>] <share>
Show access list for share.
Positional arguments:
<share>Optional arguments:
--columns <columns>--columns “access_type,access_to”usage: manila cg-create [--name <name>] [--description <description>]
[--share-types <share_types>]
[--share-network <share_network>]
[--source-cgsnapshot-id <source_cgsnapshot_id>]
Creates a new consistency group (Experimental).
Optional arguments:
--name <name>--description <description>--share-types <share_types>, --share_types <share_types>--share-network <share_network>, --share_network <share_network>--source-cgsnapshot-id <source_cgsnapshot_id>, --source_cgsnapshot_id <source_cgsnapshot_id>usage: manila cg-delete [--force]
<consistency_group> [<consistency_group> ...]
Remove one or more consistency groups (Experimental).
Positional arguments:
<consistency_group>Optional arguments:
--forceusage: manila cg-list [--all-tenants [<0|1>]] [--limit <limit>]
[--offset <offset>] [--columns <columns>]
List consistency groups with filters (Experimental).
Optional arguments:
--all-tenants [<0|1>]--limit <limit>--offset <offset>--columns <columns>--columns “id,name”usage: manila cg-reset-state [--state <state>] <consistency_group>
Explicitly update the state of a consistency group (Admin only, Experimental).
Positional arguments:
<consistency_group>Optional arguments:
--state <state>usage: manila cg-show <consistency_group>
Show details about a consistency group (Experimental).
Positional arguments:
<consistency_group>usage: manila cg-snapshot-create [--name <name>] [--description <description>]
<consistency_group>
Creates a new consistency group snapshot (Experimental).
Positional arguments:
<consistency_group>Optional arguments:
--name <name>--description <description>usage: manila cg-snapshot-delete [--force] <cg_snapshot> [<cg_snapshot> ...]
Remove one or more consistency group snapshots (Experimental).
Positional arguments:
<cg_snapshot>Optional arguments:
--forceusage: manila cg-snapshot-list [--all-tenants [<0|1>]] [--limit <limit>]
[--offset <offset>] [--detailed DETAILED]
[--columns <columns>]
List consistency group snapshots with filters (Experimental).
Optional arguments:
--all-tenants [<0|1>]--limit <limit>--offset <offset>--detailed DETAILED--columns <columns>--columns “id,name”usage: manila cg-snapshot-members [--limit <limit>] [--offset <offset>]
<cg_snapshot>
Get member details for a consistency group snapshot (Experimental).
Positional arguments:
<cg_snapshot>Optional arguments:
--limit <limit>--offset <offset>usage: manila cg-snapshot-reset-state [--state <state>] <cg_snapshot>
Explicitly update the state of a consistency group (Admin only, Experimental).
Positional arguments:
<cg_snapshot>Optional arguments:
--state <state>usage: manila cg-snapshot-show <cg_snapshot>
Show details about a consistency group snapshot (Experimental).
Positional arguments:
<cg_snapshot>usage: manila cg-snapshot-update [--name <name>] [--description <description>]
<cg_snapshot>
Update a consistency group snapshot (Experimental).
Positional arguments:
<cg_snapshot>Optional arguments:
--name <name>--description <description>usage: manila cg-update [--name <name>] [--description <description>]
<consistency_group>
Update a consistency group (Experimental).
Positional arguments:
<consistency_group>Optional arguments:
--name <name>--description <description>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><size>Optional arguments:
--snapshot-id <snapshot-id>, --snapshot_id <snapshot-id>--name <name>--metadata [<key=value> [<key=value> ...]]--share-network <network-info>, --share_network <network-info>--description <description>--share-type <share-type>, --share_type <share-type>, --volume-type <share-type>, --volume_type <share-type>--public--availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>--consistency-group <consistency-group>, --consistency_group <consistency-group>, --cg <consistency-group>usage: manila delete [--consistency-group <consistency-group>]
<share> [<share> ...]
Remove one or more shares.
Positional arguments:
<share>Optional arguments:
--consistency-group <consistency-group>, --consistency_group <consistency-group>, --cg <consistency-group>usage: manila endpoints
Discover endpoints that get returned from the authenticate services.
usage: manila extend <share> <new_size>
Increases the size of an existing share.
Positional arguments:
<share><new_size>usage: manila extra-specs-list [--columns <columns>]
Print a list of current ‘share types and extra specs’ (Admin Only).
Optional arguments:
--columns <columns>--columns “id,name”usage: manila force-delete <share> [<share> ...]
Attempt force-delete of share, regardless of state (Admin only).
Positional arguments:
<share>usage: manila list [--all-tenants [<0|1>]] [--name <name>] [--status <status>]
[--share-server-id <share_server_id>]
[--metadata [<key=value> [<key=value> ...]]]
[--extra-specs [<key=value> [<key=value> ...]]]
[--share-type <share_type>] [--limit <limit>]
[--offset <offset>] [--sort-key <sort_key>]
[--sort-dir <sort_dir>] [--snapshot <snapshot>]
[--host <host>] [--share-network <share_network>]
[--project-id <project_id>] [--public]
[--consistency-group <consistency_group>]
[--columns <columns>]
List NAS shares with filters.
Optional arguments:
--all-tenants [<0|1>]--name <name>--status <status>--share-server-id <share_server_id>, --share-server_id <share_server_id>, --share_server-id <share_server_id>, --share_server_id <share_server_id>--metadata [<key=value> [<key=value> ...]]--extra-specs [<key=value> [<key=value> ...]], --extra_specs [<key=value> [<key=value> ...]]--share-type <share_type>, --volume-type <share_type>, --share_type <share_type>, --share-type-id <share_type>, --volume-type-id <share_type>, --share-type_id <share_type>, --share_type-id <share_type>, --share_type_id <share_type>, --volume_type <share_type>, --volume_type_id <share_type>--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--snapshot <snapshot>--host <host>--share-network <share_network>, --share_network <share_network>--project-id <project_id>, --project_id <project_id>--all-tenants‘.--public--consistency-group <consistency_group>, --consistency_group <consistency_group>, --cg <consistency_group>--columns <columns>--columns “export_location,is public”usage: manila list-extensions
List all the os-api extensions that are available.
usage: manila manage [--name <name>] [--description <description>]
[--share_type <share-type>]
[--driver_options [<key=value> [<key=value> ...]]]
[--public]
<service_host> <protocol> <export_path>
Manage share not handled by Manila (Admin only).
Positional arguments:
<service_host><protocol><export_path>Optional arguments:
--name <name>--description <description>--share_type <share-type>, --share-type <share-type>--driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]--publicusage: manila metadata <share> <action> <key=value> [<key=value> ...]
Set or delete metadata on a share.
Positional arguments:
<share><action><key=value>usage: manila metadata-show <share>
Show metadata of given share.
Positional arguments:
<share>usage: manila metadata-update-all <share> <key=value> [<key=value> ...]
Update all metadata of a share.
Positional arguments:
<share><key=value>usage: manila migration-cancel <share>
Cancels migration of a given share when copying (Admin only, Experimental).
Positional arguments:
<share>usage: manila migration-complete <share>
Completes migration for a given share (Admin only, Experimental).
Positional arguments:
<share>usage: manila migration-get-progress <share>
Gets migration progress of a given share when copying (Admin only, Experimental).
Positional arguments:
<share>usage: manila migration-start [--force_host_assisted_migration <True|False>]
[--preserve-metadata <True|False>]
[--writable <True|False>]
[--non-disruptive <True|False>]
[--new_share_network <new_share_network>]
[--new_share_type <new_share_type>]
<share> <host@backend#pool>
Migrates share to a new host (Admin only, Experimental).
Positional arguments:
<share><host@backend#pool>Optional arguments:
--force_host_assisted_migration <True|False>, --force-host-assisted-migration <True|False>--preserve-metadata <True|False>, --preserve_metadata <True|False>--writable <True|False>--non-disruptive <True|False>, --non_disruptive <True|False>--new_share_network <new_share_network>, --new-share-network <new_share_network>--new_share_type <new_share_type>, --new-share-type <new_share_type>usage: manila pool-list [--host <host>] [--backend <backend>] [--pool <pool>]
[--columns <columns>]
List all backend storage pools known to the scheduler (Admin only).
Optional arguments:
--host <host>--backend <backend>--pool <pool>--columns <columns>--columns “name,host”usage: manila quota-class-show <class>
List the quotas for a quota class.
Positional arguments:
<class>usage: manila quota-class-update [--shares <shares>] [--snapshots <snapshots>]
[--gigabytes <gigabytes>]
[--snapshot-gigabytes <snapshot_gigabytes>]
[--share-networks <share-networks>]
<class-name>
Update the quotas for a quota class (Admin only).
Positional arguments:
<class-name>Optional arguments:
--shares <shares>--snapshots <snapshots>--gigabytes <gigabytes>--snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>--share-networks <share-networks>, --share_networks <share-networks>usage: manila quota-defaults [--tenant <tenant-id>]
List the default quotas for a tenant.
Optional arguments:
--tenant <tenant-id>usage: manila quota-delete [--tenant <tenant-id>] [--user <user-id>]
Delete quota for a tenant/user. The quota will revert back to default (Admin only).
Optional arguments:
--tenant <tenant-id>--user <user-id>usage: manila quota-show [--tenant <tenant-id>] [--user <user-id>]
List the quotas for a tenant/user.
Optional arguments:
--tenant <tenant-id>--user <user-id>usage: manila quota-update [--user <user-id>] [--shares <shares>]
[--snapshots <snapshots>] [--gigabytes <gigabytes>]
[--snapshot-gigabytes <snapshot_gigabytes>]
[--share-networks <share-networks>] [--force]
<tenant_id>
Update the quotas for a tenant/user (Admin only).
Positional arguments:
<tenant_id>Optional arguments:
--user <user-id>--shares <shares>--snapshots <snapshots>--gigabytes <gigabytes>--snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>--share-networks <share-networks>, --share_networks <share-networks>--forceusage: manila rate-limits [--columns <columns>]
Print a list of rate limits for a user.
Optional arguments:
--columns <columns>--columns “verb,uri,value”usage: manila reset-state [--state <state>] <share>
Explicitly update the state of a share (Admin only).
Positional arguments:
<share>Optional arguments:
--state <state>usage: manila reset-task-state [--task-state <task_state>] <share>
Explicitly update the task state of a share (Admin only, Experimental).
Positional arguments:
<share>Optional arguments:
--task-state <task_state>, --task_state <task_state>, --state <task_state>usage: manila security-service-create [--dns-ip <dns_ip>] [--server <server>]
[--domain <domain>] [--user <user>]
[--password <password>] [--name <name>]
[--description <description>]
<type>
Create security service used by tenant.
Positional arguments:
<type>Optional arguments:
--dns-ip <dns_ip>--server <server>--domain <domain>--user <user>--password <password>--name <name>--description <description>usage: manila security-service-delete <security-service>
Delete security service.
Positional arguments:
<security-service>usage: manila security-service-list [--all-tenants [<0|1>]]
[--share-network <share_network>]
[--status <status>] [--name <name>]
[--type <type>] [--user <user>]
[--dns-ip <dns_ip>] [--server <server>]
[--domain <domain>] [--detailed [<0|1>]]
[--offset <offset>] [--limit <limit>]
[--columns <columns>]
Get a list of security services.
Optional arguments:
--all-tenants [<0|1>]--share-network <share_network>, --share_network <share_network>--status <status>--name <name>--type <type>--user <user>--dns-ip <dns_ip>, --dns_ip <dns_ip>--server <server>--domain <domain>--detailed [<0|1>]--offset <offset>--limit <limit>--columns <columns>--columns “name,type”usage: manila security-service-show <security-service>
Show security service.
Positional arguments:
<security-service>usage: manila security-service-update [--dns-ip <dns-ip>] [--server <server>]
[--domain <domain>] [--user <user>]
[--password <password>] [--name <name>]
[--description <description>]
<security-service>
Update security service.
Positional arguments:
<security-service>Optional arguments:
--dns-ip <dns-ip>--server <server>--domain <domain>--user <user>--password <password>--name <name>--description <description>usage: manila service-disable <hostname> <binary>
Disables ‘manila-share’ or ‘manila-scheduler’ services (Admin only).
Positional arguments:
<hostname><binary>usage: manila service-enable <hostname> <binary>
Enables ‘manila-share’ or ‘manila-scheduler’ services (Admin only).
Positional arguments:
<hostname><binary>usage: manila service-list [--host <hostname>] [--binary <binary>]
[--status <status>] [--state <state>]
[--zone <zone>] [--columns <columns>]
List all services (Admin only).
Optional arguments:
--host <hostname>--binary <binary>--status <status>--state <state>--zone <zone>--columns <columns>--columns “id,host”usage: manila share-export-location-list [--columns <columns>] <share>
List export locations of a given share.
Positional arguments:
<share>Optional arguments:
--columns <columns>--columns “id,host,status”usage: manila share-export-location-show <share> <export_location>
Show export location of the share.
Positional arguments:
<share><export_location>usage: manila share-instance-export-location-list [--columns <columns>]
<instance>
List export locations of a given share instance.
Positional arguments:
<instance>Optional arguments:
--columns <columns>--columns “id,host,status”usage: manila share-instance-export-location-show <instance> <export_location>
Show export location for the share instance.
Positional arguments:
<instance><export_location>usage: manila share-instance-force-delete <instance> [<instance> ...]
Force-delete the share instance, regardless of state (Admin only).
Positional arguments:
<instance>usage: manila share-instance-list [--share-id <share_id>]
[--columns <columns>]
List share instances (Admin only).
Optional arguments:
--share-id <share_id>, --share_id <share_id>--columns <columns>--columns “id,host,status”usage: manila share-instance-reset-state [--state <state>] <instance>
Explicitly update the state of a share instance (Admin only).
Positional arguments:
<instance>Optional arguments:
--state <state>usage: manila share-instance-show <instance>
Show details about a share instance (Admin only).
Positional arguments:
<instance>usage: manila share-network-create [--nova-net-id <nova-net-id>]
[--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--name <name>]
[--description <description>]
Create description for network used by the tenant.
Optional arguments:
--nova-net-id <nova-net-id>, --nova-net_id <nova-net-id>, --nova_net_id <nova-net-id>, --nova_net-id <nova-net-id>--neutron-net-id <neutron-net-id>, --neutron-net_id <neutron-net-id>, --neutron_net_id <neutron-net-id>, --neutron_net-id <neutron-net-id>--neutron-subnet-id <neutron-subnet-id>, --neutron-subnet_id <neutron-subnet-id>, --neutron_subnet_id <neutron-subnet-id>, --neutron_subnet-id <neutron-subnet-id>--name <name>--description <description>usage: manila share-network-delete <share-network>
Delete share network.
Positional arguments:
<share-network>usage: manila share-network-list [--all-tenants [<0|1>]]
[--project-id <project_id>] [--name <name>]
[--created-since <created_since>]
[--created-before <created_before>]
[--security-service <security_service>]
[--nova-net-id <nova_net_id>]
[--neutron-net-id <neutron_net_id>]
[--neutron-subnet-id <neutron_subnet_id>]
[--network-type <network_type>]
[--segmentation-id <segmentation_id>]
[--cidr <cidr>] [--ip-version <ip_version>]
[--offset <offset>] [--limit <limit>]
[--columns <columns>]
Get a list of network info.
Optional arguments:
--all-tenants [<0|1>]--project-id <project_id>, --project_id <project_id>--name <name>--created-since <created_since>, --created_since <created_since>--created-before <created_before>, --created_before <created_before>--security-service <security_service>, --security_service <security_service>--nova-net-id <nova_net_id>, --nova_net_id <nova_net_id>, --nova_net-id <nova_net_id>, --nova-net_id <nova_net_id>--neutron-net-id <neutron_net_id>, --neutron_net_id <neutron_net_id>, --neutron_net-id <neutron_net_id>, --neutron-net_id <neutron_net_id>--neutron-subnet-id <neutron_subnet_id>, --neutron_subnet_id <neutron_subnet_id>, --neutron-subnet_id <neutron_subnet_id>, --neutron_subnet-id <neutron_subnet_id>--network-type <network_type>, --network_type <network_type>--segmentation-id <segmentation_id>, --segmentation_id <segmentation_id>--cidr <cidr>--ip-version <ip_version>, --ip_version <ip_version>--offset <offset>--limit <limit>--columns <columns>--columns “id”usage: manila share-network-security-service-add <share-network>
<security-service>
Associate security service with share network.
Positional arguments:
<share-network><security-service>usage: manila share-network-security-service-list [--columns <columns>]
<share-network>
Get list of security services associated with a given share network.
Positional arguments:
<share-network>Optional arguments:
--columns <columns>--columns “id,name”usage: manila share-network-security-service-remove <share-network>
<security-service>
Dissociate security service from share network.
Positional arguments:
<share-network><security-service>usage: manila share-network-show <share-network>
Get a description for network used by the tenant.
Positional arguments:
<share-network>usage: manila share-network-update [--nova-net-id <nova-net-id>]
[--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--name <name>]
[--description <description>]
<share-network>
Update share network data.
Positional arguments:
<share-network>Optional arguments:
--nova-net-id <nova-net-id>, --nova-net_id <nova-net-id>, --nova_net_id <nova-net-id>, --nova_net-id <nova-net-id>--neutron-net-id <neutron-net-id>, --neutron-net_id <neutron-net-id>, --neutron_net_id <neutron-net-id>, --neutron_net-id <neutron-net-id>--neutron-subnet-id <neutron-subnet-id>, --neutron-subnet_id <neutron-subnet-id>, --neutron_subnet_id <neutron-subnet-id>, --neutron_subnet-id <neutron-subnet-id>--name <name>--description <description>usage: manila share-replica-create [--availability-zone <availability-zone>]
[--share-network <network-info>]
<share>
Create a share replica (Experimental).
Positional arguments:
<share>Optional arguments:
--availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>--share-network <network-info>, --share_network <network-info>usage: manila share-replica-delete [--force] <replica> [<replica> ...]
Remove one or more share replicas (Experimental).
Positional arguments:
<replica>Optional arguments:
--forceusage: manila share-replica-list [--share-id <share_id>] [--columns <columns>]
List share replicas (Experimental).
Optional arguments:
--share-id <share_id>, --share_id <share_id>, --si <share_id>--columns <columns>--columns “replica_state,id”usage: manila share-replica-promote <replica>
Promote specified replica to ‘active’ replica_state (Experimental).
Positional arguments:
<replica>usage: manila share-replica-reset-replica-state
[--replica-state <replica_state>]
<replica>
Explicitly update the ‘replica_state’ of a share replica (Experimental).
Positional arguments:
<replica>Optional arguments:
--replica-state <replica_state>, --replica_state <replica_state>, --state <replica_state>usage: manila share-replica-reset-state [--state <state>] <replica>
Explicitly update the ‘status’ of a share replica (Experimental).
Positional arguments:
<replica>Optional arguments:
--state <state>usage: manila share-replica-resync <replica>
Attempt to update the share replica with its ‘active’ mirror (Experimental).
Positional arguments:
<replica>usage: manila share-replica-show <replica>
Show details about a replica (Experimental).
Positional arguments:
<replica>usage: manila share-server-delete <id>
Delete share server (Admin only).
Positional arguments:
<id>usage: manila share-server-details <id>
Show share server details (Admin only).
Positional arguments:
<id>usage: manila share-server-list [--host <hostname>] [--status <status>]
[--share-network <share_network>]
[--project-id <project_id>]
[--columns <columns>]
List all share servers (Admin only).
Optional arguments:
--host <hostname>--status <status>--share-network <share_network>--project-id <project_id>--columns <columns>--columns “id,host,status”usage: manila share-server-show <id>
Show share server info (Admin only).
Positional arguments:
<id>usage: manila show <share>
Show details about a NAS share.
Positional arguments:
<share>usage: manila shrink <share> <new_size>
Decreases the size of an existing share.
Positional arguments:
<share><new_size>usage: manila snapshot-create [--force <True|False>] [--name <name>]
[--description <description>]
<share>
Add a new snapshot.
Positional arguments:
<share>Optional arguments:
--force <True|False>--name <name>--description <description>usage: manila snapshot-delete <snapshot>
Remove a snapshot.
Positional arguments:
<snapshot>usage: manila snapshot-force-delete <snapshot>
Attempt force-delete of snapshot, regardless of state (Admin only).
Positional arguments:
<snapshot>usage: manila snapshot-instance-list [--snapshot <snapshot>]
[--columns <columns>]
[--detailed <detailed>]
List share snapshot instances.
Optional arguments:
--snapshot <snapshot>--columns <columns>--columns “id”--detailed <detailed>usage: manila snapshot-instance-reset-state [--state <state>]
<snapshot_instance>
Explicitly update the state of a share snapshot instance.
Positional arguments:
<snapshot_instance>Optional arguments:
--state <state>usage: manila snapshot-instance-show <snapshot_instance>
Show details about a share snapshot instance.
Positional arguments:
<snapshot_instance>usage: manila snapshot-list [--all-tenants [<0|1>]] [--name <name>]
[--status <status>] [--share-id <share_id>]
[--usage [any|used|unused]] [--limit <limit>]
[--offset <offset>] [--sort-key <sort_key>]
[--sort-dir <sort_dir>] [--columns <columns>]
List all the snapshots.
Optional arguments:
--all-tenants [<0|1>]--name <name>--status <status>--share-id <share_id>, --share_id <share_id>--usage [any|used|unused]--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--columns <columns>--columns “id,name”usage: manila snapshot-manage [--name <name>] [--description <description>]
[--driver_options [<key=value> [<key=value> ...]]]
<share> <provider_location>
Manage share snapshot not handled by Manila (Admin only).
Positional arguments:
<share><provider_location>Optional arguments:
--name <name>--description <description>--driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]usage: manila snapshot-rename [--description <description>]
<snapshot> [<name>]
Rename a snapshot.
Positional arguments:
<snapshot><name>Optional arguments:
--description <description>usage: manila snapshot-reset-state [--state <state>] <snapshot>
Explicitly update the state of a snapshot (Admin only).
Positional arguments:
<snapshot>Optional arguments:
--state <state>usage: manila snapshot-show <snapshot>
Show details about a snapshot.
Positional arguments:
<snapshot>usage: manila snapshot-unmanage <snapshot> [<snapshot> ...]
Unmanage one or more share snapshots (Admin only).
Positional arguments:
<snapshot>usage: manila type-access-add <share_type> <project_id>
Adds share type access for the given project (Admin only).
Positional arguments:
<share_type><project_id>usage: manila type-access-list <share_type>
Print access information about the given share type (Admin only).
Positional arguments:
<share_type>usage: manila type-access-remove <share_type> <project_id>
Removes share type access for the given project (Admin only).
Positional arguments:
<share_type><project_id>usage: manila type-create [--snapshot_support <snapshot_support>]
[--is_public <is_public>]
<name> <spec_driver_handles_share_servers>
Create a new share type (Admin only).
Positional arguments:
<name><spec_driver_handles_share_servers>Optional arguments:
--snapshot_support <snapshot_support>, --snapshot-support <snapshot_support>--is_public <is_public>, --is-public <is_public>usage: manila type-delete <id>
Delete a specific share type (Admin only).
Positional arguments:
<id>usage: manila type-key <stype> <action> [<key=value> [<key=value> ...]]
Set or unset extra_spec for a share type (Admin only).
Positional arguments:
<stype><action><key=value>usage: manila type-list [--all] [--columns <columns>]
Print a list of available ‘share types’.
Optional arguments:
--all--columns <columns>--columns “id,name”usage: manila unmanage <share>
Unmanage share (Admin only).
Positional arguments:
<share>usage: manila update [--name <name>] [--description <description>]
[--is-public <is_public>]
<share>
Rename a share.
Positional arguments:
<share>Optional arguments:
--name <name>--description <description>--is-public <is_public>, --is_public <is_public>
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.