1nvme_dev_self_test(9)         libnvme API manual         nvme_dev_self_test(9)
2
3
4

NAME

6       nvme_dev_self_test - Start or abort a self test
7

SYNOPSIS

9       int nvme_dev_self_test (struct nvme_dev_self_test_args *args );
10

ARGUMENTS

12       args        struct nvme_dev_self_test argument structure
13

DESCRIPTION

15       The  Device  Self-test  command  starts a device self-test operation or
16       abort a device self-test operation. A device self-test operation  is  a
17       diagnostic  testing sequence that tests the integrity and functionality
18       of the controller and may include testing of the media associated  with
19       namespaces.  The controller may return a response to this command imme‐
20       diately while running the self-test in the background.
21
22       Set the 'nsid' field to 0 to not include namepsaces in the test. Set to
23       0xffffffff  to  test  all namespaces. All other values tests a specific
24       namespace, if present.
25

RETURN

27       The nvme command status if a response was received (see enum  nvme_sta‐
28       tus_field) or -1 with errno set otherwise.
29
30
31
32November 2022                 nvme_dev_self_test         nvme_dev_self_test(9)
Impressum