1NVME-LNVM-FACTORY(1)              NVMe Manual             NVME-LNVM-FACTORY(1)
2
3
4

NAME

6       nvme-lnvm-factory - Factory reset a LightNVM device
7

SYNOPSIS

9       nvme lnvm-factory [--device-name=<DEVICE> | -d <DEVICE>]
10                               [--erase-only-marked | -e]
11                               [--clear-host-side-blks | -s]
12                               [--clear-bb-blks | -b]
13

DESCRIPTION

15       Instantiate a target on top of a LightNVM enabled device. This exposes
16       the physical for the user to use.
17

OPTIONS

19       --device-name=<DEVICE>, -d <DEVICE>
20           Device name to factory initialize
21
22       --erase-only-marked, -e
23           Erases only blocks that are marked in the bad block list
24
25       --clear-host-side-blks, -s
26           Remove host-side bad block marks. This clear the media manager
27           registration
28
29       --clear-bb-blks, -b
30           Removes the grown bad block marks. Allowing them to be
31           rediscovered.
32

EXAMPLES

34       ·   Factory reset of device nvme0n1
35
36           # nvme lnvm-factory -d nvme0n1
37
38       ·   Complete factory reset of device nvme0n1
39
40           # nvme lnvm-factory -d nvme0n1 -s -b
41

NVME

43       Part of the nvme-user suite
44
45
46
47NVMe                              06/05/2018              NVME-LNVM-FACTORY(1)
Impressum