CLI References

ENTERPRISE

BETA

Manage storage volumes, volume profiles and volume providers.

WARNING: Beta Software This software may contain bugs, incomplete features, incorrect documentation, or other discrepancies. Contact Mesosphere before deploying a beta candidate service. Product support is available to approved participants in the beta test program. Contact support@mesosphere.io for information about participation.

dcos storage

Manage storage volumes, volume profiles and volume providers.

Synopsis

You must configure a volume provider and a volume profile before creating a volume. A volume provider manages storage capacity offered by a CSI plugin to the DC/OS cluster through a DC/OS Storage Plugin. A DC/OS Storage Plugin consists of a CSI plugin along with some code that integrates it into DC/OS. A volume provider that specifies its plugin as “lvm” is referred to as an "lvm" volume provider.

A volume profile represents volume configurations based on volume provider, volume parameters, and/or labels. For example, if you want to differentiate between HDDs and SSDs for different purposes you can create a fast volume profile that identifies your SSDs and a slow volume profile that identifies your HDDs. If your framework is Cassandra, then it distinguishes between "cache" and “archive” storage. You can then configure it to map your fast volume profile to Cassandra’s “cache” storage and your slow volume profile to Cassandra’s “archive” storage.

Once you have configured a volume provider (e.g., an LVM2 volume group) and a volume profile (e.g., all-ssds) you use the dcos storage volume ... sub-command to create and manage volumes.

dcos storage [flags]

Options

Name Description
--info Display binary info

Options inherited from parent commands

Name Description
-h,--help Help for this command.
--timeout duration Override the default request timeout. (default 55s)