1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-heal.rst
Andrea Longo 3399695e18 Remove deprecated heal options, add two trace call types (#1203)
Remove several `mc admin heal` options from the reference docs. These
were previously deprecated and are now hidden.

Also add two `mc admin trace` call types from the same PR, noted in the
relevant GitHub docs: `batch-keyrotation` and `ilm`.

Staged

http://192.241.195.202:9000/staging/DOCS-1029/linux/reference/minio-mc-admin/mc-admin-heal.html

http://192.241.195.202:9000/staging/DOCS-1029/linux/reference/minio-mc-admin/mc-admin-trace.html#mc.admin.trace.-call

Fixes https://github.com/minio/docs/issues/1029
2024-05-06 12:34:08 -06:00

1.9 KiB

mc admin heal

minio

Table of Contents

mc admin heal

Description

The mc admin heal command scans for objects that are damaged or corrupted and heals those objects.

mc admin heal is resource intensive and typically not required even after drive failures or corruption events. Instead, MinIO automatically heals objects damaged by silent bit rot corruption, drive failure, or other issues on POST or GET. MinIO also performs periodic background object healing using the scanner <minio-concepts-scanner>.

Refer to minio-concepts-healing for more details on how MinIO heals objects.

Use mc admin on MinIO Deployments Only

Syntax

mc admin heal has the following syntax:

mc admin heal [FLAGS] TARGET

mc admin heal supports the following argument:

TARGET

Required

The full path to the bucket or bucket prefix on which the command should perform object healing. Specify the alias <mc alias> of a configured MinIO deployment as the prefix for the path. For example:

mc admin heal play/mybucket/myprefix

If the TARGET bucket or bucket prefix has an active healing scan, the command returns the status of that scan.

Healing Colors

Some versions of MinIO used a color key as a way to differentiate objects with different healing statuses. For details of this key, see the Healing <minio-concepts-healing-colors> concept page.