1NVME-WDC-NAMESPACE(1)             NVMe Manual            NVME-WDC-NAMESPACE(1)
2
3
4

NAME

6       nvme-wdc-namespace-resize - Resizes the device's namespace.
7

SYNOPSIS

9       nvme wdc namespace-resize <device> [--nsid=<NAMSPACE ID>, -n <NAMSPACE ID>] [--op_option=<OP OPTION>, -o <OP OPTION>]
10

DESCRIPTION

12       For the NVMe device given, sends the WDC Vendor Specific Command that
13       modifies the namespace size reported by the device.
14
15       The <device> parameter is mandatory NVMe character device (ex:
16       /dev/nvme0).
17
18       This will only work on WDC devices supporting this feature. Results for
19       any other device are undefined.
20

OPTIONS

22       -n <NAMSPACE ID>, --namespace-id=<NAMSPACE_ID>
23           Namespace ID; ID of the namespace to resize
24
25       -o <OP OPTION>, --op-option=<OP OPTION>
26           Overprovisioning Option; defaults to 0xF
27
28               Valid Values:
29               0x1 - 7% of Original TNVMCAP reported value
30               0x2 - 28% of Original TNVMCAP reported value
31               0x3 - 50% of Original TNVMCAP reported value
32               0xF - 0% of Original TNVMCAP reported value (original config)
33               All other values - reserved
34

EXAMPLES

36       •   Resizes namespace 1 to 50% of the original TNVMCAP reported value:
37
38               # nvme wdc namespace-resize /dev/nvme0 -n 1 -o 3
39
40       •   Resizes namespace 2 to 7% of the original TNVMCAP reported value:
41
42               # nvme wdc namespace-resize /dev/nvme0 --namespace-id=2 --op-option=1
43

NVME

45       Part of the nvme-user suite.
46
47
48
49NVMe                              09/29/2023             NVME-WDC-NAMESPACE(1)
Impressum