* NVMe disks are not available with lsblk
@ 2018-02-14 16:40 wenxiong
2018-02-15 7:44 ` Johannes Thumshirn
0 siblings, 1 reply; 3+ messages in thread
From: wenxiong @ 2018-02-14 16:40 UTC (permalink / raw)
Hi All,
Somehow with CONFIG_NVME_MULTIPATH enable(4.16.0-rc1), one of my NVME
device is not showed up with lsblk command.
I am not familiar with CONFIG_NVME_MULTIPATH enable. I tried to enable
multipath in system but still not show up.
For example,/dev/nvme1 device is showed up in nvme list but not with
lsblk.
Anyone saw the similar issue? Any suggestion for debugging this issue?
Thanks,
Wendy
# nvme list
Node SN Model
Namespace Usage Format FW Rev
---------------- --------------------
---------------------------------------- ---------
-------------------------- ---------------- --------
/dev/nvme1n1 S3RVNA0J600164 PCIe3 1.6TB NVMe Flash Adapter II
x8 1 245.76 GB / 245.76 GB 4 KiB + 0 B MN12MN12
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 40G 0 disk
??sda1 8:1 0 4M 0 part
??sda2 8:2 0 500M 0 part
??sda3 8:3 0 21G 0 part
??sda4 8:4 0 4K 0 part
??sda5 8:5 0 2G 0 part [SWAP]
??sda6 8:6 0 12.6G 0 part /
??sda7 8:7 0 3.9G 0 part /home
^ permalink raw reply [flat|nested] 3+ messages in thread
* NVMe disks are not available with lsblk
2018-02-14 16:40 NVMe disks are not available with lsblk wenxiong
@ 2018-02-15 7:44 ` Johannes Thumshirn
2018-02-15 21:35 ` wenxiong
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Thumshirn @ 2018-02-15 7:44 UTC (permalink / raw)
On Wed, Feb 14, 2018@10:40:01AM -0600, wenxiong wrote:
> Hi All,
>
> Somehow with CONFIG_NVME_MULTIPATH enable(4.16.0-rc1), one of my NVME device
> is not showed up with lsblk command.
>
>
> I am not familiar with CONFIG_NVME_MULTIPATH enable. I tried to enable
> multipath in system but still not show up.
>
> For example,/dev/nvme1 device is showed up in nvme list but not with lsblk.
>
> Anyone saw the similar issue? Any suggestion for debugging this issue?
Can you chec if you have a this commit:
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=d51f05bfecb299a830897106460bf395be440c0a
for util-linux?
Byte,
Johannes
--
Johannes Thumshirn Storage
jthumshirn at suse.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
^ permalink raw reply [flat|nested] 3+ messages in thread
* NVMe disks are not available with lsblk
2018-02-15 7:44 ` Johannes Thumshirn
@ 2018-02-15 21:35 ` wenxiong
0 siblings, 0 replies; 3+ messages in thread
From: wenxiong @ 2018-02-15 21:35 UTC (permalink / raw)
On 2018-02-15 01:44, Johannes Thumshirn wrote:
> On Wed, Feb 14, 2018@10:40:01AM -0600, wenxiong wrote:
>> Hi All,
>>
>> Somehow with CONFIG_NVME_MULTIPATH enable(4.16.0-rc1), one of my NVME
>> device
>> is not showed up with lsblk command.
>>
>>
>> I am not familiar with CONFIG_NVME_MULTIPATH enable. I tried to enable
>> multipath in system but still not show up.
>>
>> For example,/dev/nvme1 device is showed up in nvme list but not with
>> lsblk.
>>
>> Anyone saw the similar issue? Any suggestion for debugging this issue?
>
> Can you chec if you have a this commit:
> https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=d51f05bfecb299a830897106460bf395be440c0a
> for util-linux?
>
> Byte,
> Johannes
Hi John,
Thanks! I will try it.
I found an interesting thing today. I have two NVME devices(difference
vendors) in my system.
With CONFIG_NVME_MULTIPATH enable(4.16-rc1),
linux-r4t8:/sys/block # ls -l
total 0
lrwxrwxrwx 1 root root 0 Feb 15 10:22 nvme0n1 ->
../devices/pci001e:90/001e:90:00.0/nvme/nvme0/nvme0n1
lrwxrwxrwx 1 root root 0 Feb 15 10:22 nvme1c33n1 ->
../devices/pci001c:70/001c:70:00.0/nvme/nvme1/nvme1c33n1
lrwxrwxrwx 1 root root 0 Feb 15 10:22 nvme1n1 ->
../devices/virtual/nvme-subsystem/nvme-subsys1/nvme1n1
lrwxrwxrwx 1 root root 0 Feb 15 10:22 sda ->
../devices/vio/30000003/host0/target0:0:1/0:0:1:0/block/sda
/dev/nvme1n1 is not showed up in lsblk. We really didn't see nvme1n1 in
/sys/block but we saw nvme1c33n1. Probably I need to understand more
about NVME_MULTIPATH. who may have documentation for NVME_MULTIPATH?
Without CONFIG_NVME_MULTIPATH disablb(4.16-rc1),
linux-r4t8:/sys/block # ls -ltr
total 0
lrwxrwxrwx 1 root root 0 Feb 15 15:14 nvme1n1 ->
../devices/pci001c:70/001c:70:00.0/nvme/nvme1/nvme1n1
lrwxrwxrwx 1 root root 0 Feb 15 15:14 sda ->
../devices/vio/30000003/host0/target0:0:1/0:0:1:0/block/sda
lrwxrwxrwx 1 root root 0 Feb 15 15:14 nvme0n1 ->
../devices/pci001e:90/001e:90:00.0/nvme/nvme0/nvme0n1
Thanks,
Wendy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-15 21:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 16:40 NVMe disks are not available with lsblk wenxiong
2018-02-15 7:44 ` Johannes Thumshirn
2018-02-15 21:35 ` wenxiong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.