Documentation

mc ilm tier info

Description

The mc ilm tier info command outputs statistics about a tier or all tiers for a deployment.

Required Permissions

MinIO requires the following permissions scoped to to the bucket or buckets for which you are creating lifecycle management rules.

MinIO also requires the following administrative permissions on the cluster in which you are creating remote tiers for object transition lifecycle management rules:

For example, the following policy provides permission for configuring object transition lifecycle management rules on any bucket in the cluster:.

{
   "Version": "2012-10-17",
   "Statement": [
      {
            "Action": [
               "admin:SetTier",
               "admin:ListTier"
            ],
            "Effect": "Allow",
            "Sid": "EnableRemoteTierManagement"
      },
      {
            "Action": [
               "s3:PutLifecycleConfiguration",
               "s3:GetLifecycleConfiguration"
            ],
            "Resource": [
                        "arn:aws:s3:::*"
            ],
            "Effect": "Allow",
            "Sid": "EnableLifecycleManagementRules"
      }
   ]
}

Syntax

The command has the following syntax:

The following example outputs the configuration for an existing remote tier called WARM-TIER on the myminio deployment.

 mc ilm tier info myminio WARM-TIER

The command has the following syntax:

mc ilm tier info TARGET TIER_NAME

Parameters

The command accepts the following arguments:

TARGET
Required

The alias of a configured MinIO deployment on which the desired tier exists.

TIER_NAME
Optional

The name of an existing remote tier to display.

You must specify the tier in all-caps, e.g. WARM_TIER.

If not specified, MinIO lists statistics for all existing tiers on the deployment.

Global Flags

This command supports any of the global flags.

Example

Display the Statistics for an Existing Tier

The following example displays the statistics of the tier WARM-TIER on the myminio deployment.

mc ilm tier info myminio WARM-TIER

Display the Statistics for all Existing Tiers on a Deployment

The following example displays the statistics of all existing tiers on the myminio deployment.

mc ilm tier info myminio

S3 Compatibility

The mc commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.

MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While mc commands may work as documented, any such usage is at your own risk.

Required Permissions

For permissions required to review a tier, refer to the required permissions on the parent command.