Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.82 KB

File metadata and controls

69 lines (50 loc) · 1.82 KB

CLI Reference for Mountpath (disk) management

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).

Table of Contents

Show mountpaths

ais mountpath show [DAEMON_ID]

Show mountpaths for a given target or all targets.

Note: Like many other ais show commands, ais show mountpath is aliased to ais mountpath show for ease of use. Both of these commands are used interchangeably throughout the documentation.

Examples

$ 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 mountpaths

Attach mountpath

ais mountpath attach DAEMON_ID=MOUNTPATH [DAEMONID=MOUNTPATH...]

Attach a mountpath on a specified target to AIS storage.

Examples

$ ais mountpath attach 12367t8080=/data/dir

Detach mountpath

ais mountpath detach DAEMON_ID=MOUNTPATH [DAEMONID=MOUNTPATH...]

Detach a mountpath on a specified target from AIS storage.

Examples

$ ais mountpath detach 12367t8080=/data/dir