1NDCTL-ZERO-LABELS(1)                                      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 provision
14       one, or more, namespaces from regions. This command resets the device
15       to its default state by deleting all labels.
16

OPTIONS

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

SEE ALSO

48       UEFI NVDIMM Label Protocol[1]
49

NOTES

51        1. UEFI NVDIMM Label Protocol
52           http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf
53
54
55
56                                  01/13/2023              NDCTL-ZERO-LABELS(1)
Impressum