---
title: influxd inspect verify-tsm
description: The influxd inspect verify-tsm command analyzes a set of TSM files for inconsistencies between the TSM index and the blocks.
url: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/verify-tsm/
estimated_tokens: 454
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/verify-tsm/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

This page documents an earlier version of InfluxDB OSS.[InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a
copy of the database file doesn’t expose usable tokens. Existing
tokens are hashed on first startup and the original strings can’t
be recovered afterward — **capture any plaintext tokens you still
need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

The `influxd inspect verify-tsm` command verifies the integrity of TSM files.

## Usage

```sh
influxd inspect verify-tsm [flags]
```

## Flags

|Flag|               |                              Description                              |Input Type|
|----|---------------|-----------------------------------------------------------------------|----------|
|    |`--check-utf8` |Verify series keys are valid UTF-8 (skips block checksum verification).|          |
|    |`--engine-path`|  Storage engine directory path (default is `~/.influxdbv2/engine`).   |  string  |
|`-h`|   `--help`    |                        Help for `verify-tsm`.                         |          |
|`-v`|  `--verbose`  |                        Enable verbose logging.                        |          |

[tsm](/influxdb/v2/tags/tsm/)[inspect](/influxdb/v2/tags/inspect/)
| Flag |  | Description | Input Type |
| --- | --- | --- | --- |
| Flag |  | Description | Input Type |
|  | --check-utf8 | Verify series keys are valid UTF-8 (skips block checksum verification). |  |
|  | --engine-path | Storage engine directory path (default is  ~/.influxdbv2/engine ). | string |
| -h | --help | Help for  verify-tsm . |  |
| -v | --verbose | Enable verbose logging. |  |
