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           A nmemX device name, or a dimm id number. Restrict the operation to
21           the specified dimm(s). The keyword all can be specified to indicate
22           the lack of any restriction, however this is the same as not
23           supplying a --dimm option at all.
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           A bus id number, or a provider string (e.g. "ACPI.NFIT"). Restrict
34           the operation to the specified bus(es). The keyword all can be
35           specified to indicate the lack of any restriction, however this is
36           the same as not supplying a --bus option at all.
37
38       -v
39           Turn on verbose debug messages in the library (if ndctl was built
40           with logging and debug enabled).
41
43       Copyright © 2016 - 2020, Intel Corporation. License GPLv2: GNU GPL
44       version 2 http://gnu.org/licenses/gpl.html. This is free software: you
45       are free to change and redistribute it. There is NO WARRANTY, to the
46       extent permitted by law.
47

SEE ALSO

49       UEFI NVDIMM Label Protocol[1]
50

NOTES

52        1. UEFI NVDIMM Label Protocol
53           http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf
54
55
56
57ndctl 71.1                        01/26/2021              NDCTL-ZERO-LABELS(1)
Impressum