From d2082ee94267e4ca59b187c5e37dac03c1d65187 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 31 Jan 2023 05:13:03 +0100 Subject: Merging upstream version 2.3. Signed-off-by: Daniel Baumann --- Documentation/nvme-create-ns.html | 68 +++++++++++++++++++++++++++++++-------- 1 file changed, 55 insertions(+), 13 deletions(-) (limited to 'Documentation/nvme-create-ns.html') diff --git a/Documentation/nvme-create-ns.html b/Documentation/nvme-create-ns.html index 1ce2ef9..dec4ee0 100644 --- a/Documentation/nvme-create-ns.html +++ b/Documentation/nvme-create-ns.html @@ -760,20 +760,25 @@ nvme-create-ns(1) Manual Page [--lbstm=<lbstm> | -l <lbstm>] [--block-size=<block-size> | -b <block-size>] [--timeout=<timeout> | -t <timeout>] -DESCRIPTION + [--nsze-si=<nsze-si> | -S <nsze-si>] + [--ncap-si=<ncap-si> | -C <ncap-si>]
-
-
-
For the NVMe device given, sends a namespace management command to create
+
+
+
+

DESCRIPTION

+
+

For the NVMe device given, sends a namespace management command to create the namespace with the requested settings. On success, the namespace -identifier assigned by the controller is returned. - -The <device> parameter is mandatory and may be either the NVMe character -device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). - -OPTIONS -

+identifier assigned by the controller is returned.

+

The <device> parameter is mandatory and may be either the NVMe character +device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).

+ + +
+

OPTIONS

+
-s @@ -890,13 +895,50 @@ OPTIONS selected for the create-ns operation. Conflicts with --flbas argument.

+
+-S +
+
+--nsze-si +
+
+

+ The namespace size (NSZE) in standard SI units. + The value SI suffixed is divided by the namespace LBA size to set as NSZE. + If the value not suffixed it is set as same with the nsze option. +

+
+
+-C +
+
+--ncap-si +
+
+

+ The namespace capacity (NCAP) in standard SI units. + The value SI suffixed is divided by the namespace LBA size to set as NCAP. + If the value not suffixed it is set as same with the ncap option. +

+

EXAMPLES

-

No examples provided yet.

+
    +
  • +

    +Create a namespace: +

    +
    +
    +
    # nvme create-ns /dev/nvme0 --nsze 11995709440 --ncap 1199570940 --flbas 0 --dps 0 --nmic 0
    +# nvme create-ns /dev/nvme0 --nsze-si 6.14T --ncap 1199570940 --flbas 0 --dps 0 --nmic 0
    +
    +
  • +
@@ -910,7 +952,7 @@ OPTIONS -- cgit v1.2.3