How to Persistent nvme Storage?
Tony Yang
yyt168 at gmail.com
Mon Dec 25 07:02:35 PST 2017
Thanks
I check the .config ,not found CONFIG_NVME_MULTIPATH=y,I added this
line to .config file then recompile, but always do not have this
option, how to set up this option to open? I use the nvme-4.15
version.
[root at cesdb01 nvme-4.15]# uname -r
4.13.0-rc7+
[root at cesdb01 nvme-4.15]# cat .config|grep -i nvme
CONFIG_NVME_CORE=m
CONFIG_BLK_DEV_NVME=m
CONFIG_NVME_FABRICS=m
CONFIG_NVME_RDMA=m
CONFIG_NVME_FC=m
CONFIG_NVME_TARGET=m
CONFIG_NVME_TARGET_LOOP=m
CONFIG_NVME_TARGET_RDMA=m
CONFIG_NVME_TARGET_FC=m
CONFIG_NVME_TARGET_FCLOOP=m
CONFIG_RTC_NVMEM=y
CONFIG_NVMEM=y
[root at cesdb01 nvme-4.15]# nvme list
Node SN Model
Namespace Usage Format FW Rev
---------------- --------------------
---------------------------------------- ---------
-------------------------- ---------------- --------
/dev/nvme3n1 52a5c7ef4e684a27 Linux
10 600.13 GB / 600.13 GB 512 B + 0 B 4.13.0-r
/dev/nvme4n1 20a4165e18d8146f Linux
10 1.92 TB / 1.92 TB 512 B + 0 B 4.13.0-r
/dev/nvme5n1 ab72e70de250bce6 Linux
10 3.20 TB / 3.20 TB 512 B + 0 B 4.13.0-r
/dev/nvme6n1 67834bc8f68e1be9 Linux
10 2.00 TB / 2.00 TB 512 B + 0 B 4.13.0-r
/dev/nvme7n1 bc3922467a3524a5 Linux
10 1.92 TB / 1.92 TB 512 B + 0 B 4.13.0-r
/dev/nvme8n1 1d346731b87eb3d3 Linux
10 1.92 TB / 1.92 TB 512 B + 0 B 4.13.0-r
[root at cesdb01 nvme-4.15]# nvme list-subsys
no NVMe subsystem(s) detected.
[root at cesdb01 nvme-4.15]#
2017-12-25 18:10 GMT+08:00 Sagi Grimberg <sagi at grimberg.me>:
> Please check your kernel .config includes CONFIG_NVME_MULTIPATH=y
> and your kernel version.
More information about the Linux-nvme
mailing list