NVME-CONFIG-VALIDA(1) NVMe Manual NVME-CONFIG-VALIDA(1)

# [NAME](#NAME)

nvme-config-validate - Validate an NVMe-oF INI connection configuration file

# [SYNOPSIS](#SYNOPSIS)

```
nvme config validate


                        [--config=<file> | -J <file>]


                        [--verbose | -v]
```

# [DESCRIPTION](#DESCRIPTION)

Parses and validates the NVMe-oF INI connection configuration file used by *nvme connect-all* and *nvme discover*. The INI format is documented at **https://github.com/linux-nvme/nvme-cli/blob/master/libnvme/design/CONFIG.md**

By default, the file at /usr/local/etc/nvme/nvme-fabrics.conf is validated. Use --config to validate a file at a different path instead, for example before installing it as the system configuration.

On success, *&lt;file&gt;: OK* is printed and the command exits with status 0. If the file is malformed, *&lt;file&gt;: invalid configuration* is printed along with diagnostic details, and the command exits with a non-zero status. A missing file is also reported as an error, not treated as an empty, valid configuration.

# [OPTIONS](#OPTIONS)

-J &lt;file&gt;, --config=&lt;file&gt;

Validate this INI file instead of the default /usr/local/etc/nvme/nvme-fabrics.conf.

-v, --verbose

Increase the level of detail in the output.

# [EXAMPLES](#EXAMPLES)

•Validate the system’s configuration:

```
# nvme config validate
```

•Validate a configuration file before installing it as the system configuration:

```
$ nvme config validate --config /tmp/nvme-fabrics.conf
```

# [SEE ALSO](#SEE_ALSO)

[nvme-config-show(1)](/man/os/nvme-cli/nvme-config-show.1) [nvme-config-convert(1)](/man/os/nvme-cli/nvme-config-convert.1) [nvme-config-status(1)](/man/os/nvme-cli/nvme-config-status.1) [nvme-connect-all(1)](/man/os/nvme-cli/nvme-connect-all.1) [nvme-discover(1)](/man/os/nvme-cli/nvme-discover.1) **https://github.com/linux-nvme/nvme-cli/blob/master/libnvme/design/CONFIG.md**

# [NVME](#NVME)

Part of the nvme-user suite

09/18/2026 NVMe

---

Document: nvme-config-validate(1) from nvme-cli 3.1-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
