logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme-lnvm-factory - Factory reset a LightNVM device

Description

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

Examples

       •   Factory reset of device nvme0n1

           # nvme lnvm-factory -d nvme0n1

       •   Complete factory reset of device nvme0n1

           # nvme lnvm-factory -d nvme0n1 -s -b

Name

       nvme-lnvm-factory - Factory reset a LightNVM device

Nvme

       Part of the nvme-user suite

NVMe                                               11/11/2021                               NVME-LNVM-FACTORY(1)

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.

Synopsis

nvmelnvm-factory [--device-name=<DEVICE> | -d <DEVICE>]
                               [--erase-only-marked | -e]
                               [--clear-host-side-blks | -s]
                               [--clear-bb-blks | -b]

See Also