How to Persistent nvme Storage?

Tony Yang yyt168 at gmail.com
Mon Dec 25 00:35:07 PST 2017


$ git clone git at github.com:linux-nvme/nvme-cli.git
Cloning into 'nvme-cli'...
remote: Counting objects: 4005, done.
remote: Compressing objects: 100% (144/144), done.
rRemote: Total 4005 (delta 203), reused 190 (delta 143), pack-reused 3718eceivin
Receiving objects: 100% (4005/4005), 1.85 MiB | 88.00 KiB/s, done.

Resolving deltas: 100% (2973/2973), done.
Checking connectivity... done.
Checking out files: 100% (306/306), done.

[root at cesdb01 ~]# nvme list-subsys   <<<-----No anything
no NVMe subsystem(s) detected.
[root at cesdb01 ~]# nvme list
Node             SN                   Model
        Namespace Usage                      Format           FW Rev
---------------- --------------------
---------------------------------------- ---------
-------------------------- ---------------- --------
/dev/nvme0n1     c21dcaeffdf61b87     Linux
        10          3.20  TB /   3.20  TB    512   B +  0 B   4.13.0-r
/dev/nvme1n1     c21dcaeffdf61b87     Linux
        10          3.20  TB /   3.20  TB    512   B +  0 B   4.13.0-r
[root at cesdb01 ~]# nvme -version   <<-----The lastest version
nvme version 1.4.58.g0b78.dirty

2017-12-25 16:13 GMT+08:00 Tony Yang <yyt168 at gmail.com>:
> Thanks Sagi
>
>      I always use the latest nvme-cli
>
> the download address is :https://github.com/linux-nvme/nvme-cli
>
> [root at cesdb01 ~]# nvme -version
> nvme version 1.4
>
>
>
> 2017-12-25 15:49 GMT+08:00 Sagi Grimberg <sagi at grimberg.me>:
>>
>>> [root at cesdb01 ~]# nvme list
>>> Node             SN                   Model
>>>          Namespace Usage                      Format           FW Rev
>>> ---------------- --------------------
>>> ---------------------------------------- ---------
>>> -------------------------- ---------------- --------
>>> /dev/nvme0n1     66903eb81cd10252     Linux
>>>          10          3.20  TB /   3.20  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme1n1     66903eb81cd10252     Linux
>>>          10          3.20  TB /   3.20  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme2n1     539f93d6b088e284     Linux
>>>          10          3.20  TB /   3.20  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme3n1     5dd2e0fe188db860     Linux
>>>          10        600.13  GB / 600.13  GB    512   B +  0 B   4.13.0-r
>>> /dev/nvme4n1     38718b8ad7d5e19b     Linux
>>>          10          1.92  TB /   1.92  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme5n1     a70df79680a5c834     Linux
>>>          10          3.20  TB /   3.20  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme6n1     f592f9994c0d6469     Linux
>>>          10          2.00  TB /   2.00  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme7n1     c6e151aae72ee9ec     Linux
>>>          10          1.92  TB /   1.92  TB    512   B +  0 B   4.13.0-r
>>> /dev/nvme8n1     66113fb757713fcd     Linux
>>>          10          1.92  TB /   1.92  TB    512   B +  0 B   4.13.0-r
>>> [root at cesdb01 ~]# nvme list-subsys
>>> no NVMe subsystem(s) detected.
>>> [root at cesdb01 ~]#
>>
>>
>> Please make sure you are running with the latest nvme-cli:
>> git at github.com:linux-nvme/nvme-cli.git



More information about the Linux-nvme mailing list