AIStor Files
Manage exports

mc files export list

List every export, with its node, status, and usage.

mc files export list lists every export in the deployment, with its node, its status and how full it is. ls is a short form of list.

Syntax

mc files export list ALIAS [--node NODE] [--status STATUS]

Flags

FlagMeaning
--node NODELists only the exports assigned to the nodes that NODE names.
--status STATUSLists only the exports in this status: serving, pending, fenced, unreachable, or removing. See Status.

NODE can take three forms:

  • the node's full name, such as node03.example.com:9000,
  • that name without the port, such as node03.example.com,
  • the first label of the name, such as node03. It can name more than one node.

A node named by an IP address needs the full address, with or without the port.

Examples

List every export:

mc files export list myaistor
EXPORT   ID  PSEUDO  NODE                STATUS          USED   LIMIT  FILL
carol   104  /carol  node03.example.com  serving      1.2 GiB  20 GiB    6%
dave    105  /dave   node04.example.com  pending            -  10 GiB     -
erin    106  /erin   node01.example.com  fenced       8.9 GiB  10 GiB   89%
frank   107  /frank  node02.example.com  unreachable        -  10 GiB     -

node02.example.com did not answer for 1 export: usage unknown.

USED and FILL show - when the node did not report the export. LIMIT shows unlimited for an export without a limit. The last line names each node that did not answer. The command still succeeds.

List only the fenced exports:

mc files export list myaistor --status fenced

List the exports on one node, as JSON:

mc files export list myaistor --node node03 --json