---
title: influxd-ctl show-shards
description: The influxd-ctl show-shards command returns information about shards in an InfluxDB Enterprise cluster.
url: https://docs.influxdata.com/enterprise_influxdb/v1/tools/influxd-ctl/show-shards/
estimated_tokens: 509
publisher: InfluxData
canonical: https://docs.influxdata.com/enterprise_influxdb/v1/tools/influxd-ctl/show-shards/
date: '2026-03-31T20:37:45-05:00'
lastmod: '2026-03-31T20:37:45-05:00'
---

The `influxd-ctl show-shards` command returns information about shards in an
InfluxDB Enterprise cluster.

## Usage

```sh
influxd-ctl show-shards [flags]
```

Information includes:

* Shard ID
* Database
* Retention Policy
* Number of desired replicas
* Shard group
* Shard start time
* Shard end time
* Shard expiration
* Shard owners

[](#view-example-output)

View example output

```
# Shards
ID  Database    Retention Policy  Desired Replicas  Shard Group  Start                 End                   Expires               Owners
51  telegraf    autogen           2                 37           2023-01-01T00:00:00Z  2023-01-08T00:00:00Z  2023-07-08T00:00:00Z  [{26 data1:8088} {33 data3:8088}]
52  telegraf    autogen           2                 37           2023-01-01T00:00:00Z  2023-01-08T00:00:00Z  2023-07-08T00:00:00Z  [{5 data2:8088} {26 data1:8088}]
```

#### Show inconsistent shards

You can also use the `-m` flag to output “inconsistent” shards which are shards
that are either in metadata but not on disk or on disk but not in metadata.

## Flags

|Flag|                                         Description                                         |
|----|---------------------------------------------------------------------------------------------|
|`-e`|Include expired shards in the output. By default, expired shards are filtered out. *v1.12.3+*|
|`-v`|                              Return detailed shard information                              |
|`-m`|                                 Return inconsistent shards                                  |

*Also see [`influxd-ctl` global flags](/enterprise_influxdb/v1/tools/influxd-ctl/#influxd-ctl-global-flags).*

#### Related

* [influxd-ctl truncate-shards](/enterprise_influxdb/v1/tools/influxd-ctl/truncate-shards/)
| Flag | Description |
| --- | --- |
| Flag | Description |
| -e | Include expired shards in the output. By default, expired shards are filtered out.  v1.12.3+ |
| -v | Return detailed shard information |
| -m | Return inconsistent shards |
