• Scalable File Service

sfs
  1. Help Center
  2. Scalable File Service
  3. API Reference(cli)
  4. API Description
  5. Capacity Expansion or Reduction
  6. Reducing the Capacity

Reducing the Capacity

Function

This interface is used to reduce the capacity of a shared file system.

NOTE:

This interface is an asynchronous interface. Successful command execution only indicates that the command is successfully delivered. Later, you can refer to Querying Details About a Shared File System to identify whether capacity reducing is complete and successful.

Command

  • Usage
    manila shrink <share> <new_size>
  • Parameter description

    Name

    Mandatory

    Type

    Description

    share

    Yes

    string

    Specifies the UUID or name of the shared file system.

    new_size

    Yes

    integer

    Specifies the post-reduction capacity of the shared file system in GB.

  • Example command
    manila shrink 52820f82-1419-4f4c-a032-e97e310f5505 5

Response

  • Parameter description

    None

  • Example response

    None