blob: baa7a6917c992011e6b61a2704e6191d3cc3a7e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
nvme-lnvm-factory(1)
====================
NAME
----
nvme-lnvm-factory - Factory reset a LightNVM device
SYNOPSIS
--------
[verse]
'nvme lnvm-factory' [--device-name=<DEVICE> | -d <DEVICE>]
[--erase-only-marked | -e]
[--clear-host-side-blks | -s]
[--clear-bb-blks | -b]
DESCRIPTION
-----------
Instantiate a target on top of a LightNVM enabled device. This exposes the
physical for the user to use.
OPTIONS
-------
--device-name=<DEVICE>::
-d <DEVICE>::
Device name to factory initialize
--erase-only-marked::
-e::
Erases only blocks that are marked in the bad block list
--clear-host-side-blks::
-s::
Remove host-side bad block marks. This clear the media manager
registration
--clear-bb-blks::
-b::
Removes the grown bad block marks. Allowing them to be rediscovered.
EXAMPLES
--------
* Factory reset of device nvme0n1
------------
# nvme lnvm-factory -d nvme0n1
------------
* Complete factory reset of device nvme0n1
------------
# nvme lnvm-factory -d nvme0n1 -s -b
------------
NVME
----
Part of the nvme-user suite
|