Manage exports
mc files export info
Show one export in detail, including its access rules.
mc files export info shows one export in detail: the settings from add, its node and
status, its usage, and its access rules in the order they apply.
Syntax
mc files export info ALIAS EXPORTEXPORT is the export's name or its numeric ID.
Flags
info has no flags of its own. It takes the global mc flags, such as --json.
Examples
Show an export by name:
mc files export info myaistor carolExport `carol`
Export id 104
Node node03.example.com
Status serving
Pseudo path /carol
Access mode rw
Squash root
Anonymous 65534:65534
Root at add 1001:1001 0755
Quota 1.2 GiB used / 20 GiB
Access rules
1 192.0.2.7,192.0.2.8 rw
2 *.lab.example.com ro
3 198.51.100.0/24 noneShow an export by ID:
mc files export info myaistor 104What the output shows
- Anonymous is the uid:gid a squashed user becomes.
- Root at add is the export root's uid:gid and mode as you gave them at
add. A client may have changed them since.ls -ldon a mount shows the current ones. See The export root. - Quota shows the usage only when the node reported the export.
- Access rules are numbered in match order: rule 1 decides before rule 2. An export
without rules shows
none; every client gets rw, with its access mode. - Status says when the node has not yet taken the export's last change. The settings shown are then the ones AIStor will send the node. When the node refused the change, a Refusal line gives the node's reason. See Changes that wait for a node.
To get the rules as a file you can edit and apply, use
mc files export access.