1NDCTL-ZERO-LABELS(1)             ndctl Manual             NDCTL-ZERO-LABELS(1)
2
3
4

NAME

6       ndctl-zero-labels - zero out the label area on a dimm or set of dimms
7

SYNOPSIS

9       ndctl zero-labels <nmem0> [<nmem1>..<nmemN>] [<options>]
10

DESCRIPTION

12       The namespace label area is a small persistent partition of capacity
13       available on some NVDIMM devices. The label area is used to resolve
14       aliasing between pmem and blk capacity by delineating namespace
15       boundaries. This command resets the device to its default state by
16       deleting all labels.
17

OPTIONS

19       <memory device(s)>
20           One or more nmemX device names. The keyword all can be specified to
21           operate on every dimm in the system, optionally filtered by bus id
22           (see --bus= option).
23
24       -s, --size=
25           Limit the operation to the given number of bytes. A size of 0
26           indicates to operate over the entire label capacity.
27
28       -O, --offset=
29           Begin the operation at the given offset into the label area.
30
31       -b, --bus=
32           Limit operation to memory devices (dimms) that are on the given
33           bus. Where bus can be a provider name or a bus id number.
34
35       -v
36           Turn on verbose debug messages in the library (if ndctl was built
37           with logging and debug enabled).
38
40       Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
41       version 2 http://gnu.org/licenses/gpl.html. This is free software: you
42       are free to change and redistribute it. There is NO WARRANTY, to the
43       extent permitted by law.
44

SEE ALSO

46       UEFI NVDIMM Label Protocol
47       <http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf>
48
49
50
51ndctl                             2020-03-24              NDCTL-ZERO-LABELS(1)
Impressum