libnvme\_rescan\_ns(9) libnvme API manual libnvme\_rescan\_ns(9)

# [NAME](#NAME)

libnvme\_rescan\_ns - Initiate a controller rescan

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[hdl](#hdl)

Transport handle

# [DESCRIPTION](#DESCRIPTION)

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

# [RETURN](#RETURN)

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

libnvme\_rescan\_ns October 2026

---

Document: libnvme_rescan_ns-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
