This section lists mountpath management operations the AIS CLI, with ais mountpath.
A mountpath is a single disk or a volume (a RAID) formatted with a local filesystem of choice, and a local directory that AIS utilizes to store user data and AIS metadata. A mountpath can be disabled and (re)enabled, automatically or administratively, at any point during runtime. In a given cluster, a total number of mountpaths would normally compute as a direct product of (number of storage targets) x (number of disks in each target).
ais mountpath show [DAEMON_ID]
Show mountpaths for a given target or all targets.
Note: Like many other
ais showcommands,ais show mountpathis aliased toais mountpath showfor ease of use. Both of these commands are used interchangeably throughout the documentation.
$ ais mountpath show 12367t8085
247389t8085
Available:
/tmp/ais/5/3
/tmp/ais/5/1
Disabled:
/tmp/ais/5/2
$ ais mountpath show
247389t8085
Available:
/tmp/ais/5/3
/tmp/ais/5/1
Disabled:
/tmp/ais/5/2
147665t8084
Available:
/tmp/ais/4/3
/tmp/ais/4/1
/tmp/ais/4/2
426988t8086
No mountpathsais mountpath attach DAEMON_ID=MOUNTPATH [DAEMONID=MOUNTPATH...]
Attach a mountpath on a specified target to AIS storage.
$ ais mountpath attach 12367t8080=/data/dirais mountpath detach DAEMON_ID=MOUNTPATH [DAEMONID=MOUNTPATH...]
Detach a mountpath on a specified target from AIS storage.
$ ais mountpath detach 12367t8080=/data/dir