---
name: "libnvme_rescan_ns-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_rescan_ns-libnvme3"
---

# libnvme\_rescan\_ns-libnvme3(2)

Initiate a controller rescan

## NAME

libnvme\_rescan\_ns - Initiate a controller rescan

## SYNOPSIS

**int libnvme\_rescan\_ns** **(struct libnvme\_transport\_handle \*hdl** *);*

## ARGUMENTS

- hdl

  Transport handle

## DESCRIPTION

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

## RETURN

0 if a rescan was initiated or negative error code otherwise.
