---
name: "nvme_ns_rescan"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_ns_rescan"
---

# nvme\_ns\_rescan(2)

Initiate a controller rescan

## NAME

nvme\_ns\_rescan - Initiate a controller rescan

## SYNOPSIS

**int nvme\_ns\_rescan** **(int fd** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

## DESCRIPTION

This should only be sent to controller handles, not to namespaces.

## RETURN

0 if a rescan was initiated or -1 with errno set otherwise.
