Skip to main content

MinIO operations

v0.1.11

Cluster + bucket + user introspection plus operator surface (user enable/disable, bucket heal, cluster service restart). Talks to mc CLI configured via MC_HOST_<alias> env var on the runner host.

7 allowed by default 5 need approval by default
Pack ID
minio
Vendor
emisar
OS
linux
Actions
12
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
mc

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install minio --hash sha256:d10956c46fbbda430afbcba1c29b0b3844cc0853a8db5faa2eb25ce62c0083df

Actions 12 total

View on GitHub
  • minio.admin_info exec low

    mc admin info

    Show cluster info: nodes, storage, network, uptime.

    View source on GitHub
  • minio.admin_top_locks exec low

    mc admin top locks

    List the top object locks held across the cluster — spots stuck operations.

    View source on GitHub
  • minio.admin_trace exec low

    mc admin trace (5s window)

    Trace S3 API calls hitting the cluster for 5 seconds.

    View source on GitHub
  • minio.bucket_stat exec low

    mc du (bucket)

    Show object count + size for one bucket.

    View source on GitHub
  • minio.heal_bucket exec high

    mc admin heal -r <alias>/<bucket>

    Heal one bucket recursively. Scans every object, repairs inconsistent erasure-coded shards, restores missing replicas. CPU + I/O heavy; run during low-traffic windows.

    View source on GitHub
  • minio.heal_summary exec high

    mc admin heal --recursive (cluster-wide)

    Triggers a cluster-wide healing scan that repairs objects (not a dry-run). Does NOT use --remove. May be IO-heavy.

    View source on GitHub
  • minio.list_policies exec low

    mc admin policy ls

    List all IAM policy names.

    View source on GitHub
  • minio.list_users exec low

    mc admin user list

    List all IAM users + their status + attached policies.

    View source on GitHub
  • minio.ls_buckets exec low

    mc ls (root)

    List all buckets in one alias.

    View source on GitHub
  • minio.service_restart exec high

    mc admin service restart <alias>

    Restart MinIO across the cluster. Coordinated rolling restart — one node at a time so the cluster stays available. Use after a config change that requires restart.

    View source on GitHub
  • minio.user_disable exec high

    mc admin user disable

    Disables one IAM user. They can't authenticate until re-enabled.

    View source on GitHub
  • minio.user_enable exec high

    mc admin user enable

    Re-enables one IAM user.

    View source on GitHub