---
name: "nvme_init_ns_mgmt_create-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/nvme_init_ns_mgmt_create-libnvme3"
---

# nvme\_init\_ns\_mgmt\_create-libnvme3(2)

Initialize passthru command to create a non attached namespace

## NAME

nvme\_init\_ns\_mgmt\_create - Initialize passthru command to create a non attached namespace

## SYNOPSIS

**void nvme\_init\_ns\_mgmt\_create** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u8 csi** *,* **struct nvme\_ns\_mgmt\_host\_sw\_specified \*data** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- csi

  Command Set Identifier

- data

  Host Software Specified Fields buffer that defines NS creation parameters

## DESCRIPTION

Initializes the passthru command buffer for the Namespace Management - Create command. The command uses NVME\_NSID\_NONE as the target NSID.
