• Scalable File Service

sfs
  1. Help Center
  2. Scalable File Service
  3. API Reference(cli)
  4. API Description
  5. File Sharing
  6. Querying Mount Locations of a Shared File System

Querying Mount Locations of a Shared File System

Function

Querying Mount path of a shared file system.

NOTE:

In the command, the value of --os-share-api-version must be larger than or equal to 2.9.

Command

  • Usage
    manila share-export-location-list [--columns <columns>] <share>
  • Parameter description

    Name

    Mandatory

    Type

    Description

    share

    Yes

    string

    Specifies name or UUID for the shared file system.

    columns

    No

    string

    Specifies the queried columns, which are separated by commas (,).

  • Example command
    manila --os-share-api-version 2.9 share-export-location-list 416112b6-e5c9-4a46-8dd1-80749fc09336

Response

  • Parameter description

    Name

    Mandatory

    Type

    Description

    ID

    Yes

    string

    Specifies the UUID of the mount path of the shared file system.

    Path

    Yes

    string

    Specifies the path to which the shared file system will be mounted.

    Preferred

    Yes

    boolean

    (Since API v2.14) Identifies which mount locations are most efficient and are used preferentially when multiple mount locations exist. This parameter is reserved, because this feature is not supported currently.

  • Example response
    +--------------------------------------+--------------------------------------------------+-----------+
    | ID                                   | Path                                             | Preferred |
    +--------------------------------------+--------------------------------------------------+-----------+
    | 6014f802-7b74-4fb2-8436-a58c94f86e84 | sfs-nas1.eu-de.otc.t-systems.com:/share-cff11cb8 |           |
    +--------------------------------------+--------------------------------------------------+-----------+