1NDCTL-ZERO-LABELS(1) ndctl Manual NDCTL-ZERO-LABELS(1)
2
3
4
6 ndctl-zero-labels - zero out the label area on a dimm or set of dimms
7
9 ndctl zero-labels <nmem0> [<nmem1>..<nmemN>] [<options>]
10
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
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
23 --bus= option).
24
25 -s, --size=
26 Limit the operation to the given number of bytes. A size of 0
27 indicates to operate over the entire label capacity.
28
29 -O, --offset=
30 Begin the operation at the given offset into the label area.
31
32 -b, --bus=
33 Limit operation to memory devices (dimms) that are on the given
34 bus. Where bus can be a provider name or a bus id number.
35
36 -v
37 Turn on verbose debug messages in the library (if ndctl was built
38 with logging and debug enabled).
39
41 Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
42 version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
43 you are free to change and redistribute it. There is NO WARRANTY, to
44 the extent permitted by law.
45
47 UEFI NVDIMM Label Protocol <http://www.uefi.org/sites/default/files/
48 resources/UEFI_Spec_2_7.pdf>
49
50
51
52ndctl 2019-10-28 NDCTL-ZERO-LABELS(1)