Dual controller sysfs Question

Christoph Hellwig hch at infradead.org
Wed Sep 16 04:44:14 EDT 2020


On Fri, Sep 11, 2020 at 02:40:05PM +0000, Jeffrey Lien wrote:
> We need some information on how a dual controller drive should show up in the /sys/block directories with respect to latest 5.4 kernel.
> 
> Below is our observation :
> When tried  a drive in a dual port mode with namespaces attached to it using Ubuntu - 5.4.0-45-generic kernel version, we could see all the block devices getting listed under 'sys/block'  path but when we check for the block device uevent path of the attached namespaces  ( i.e /sys/block/nvme0c0n1/uevent) we do not see the DEVNAME details in that path but we could see the DEVNAME details for other block devices under sys/block. 

Those are the hidden devices, you should only see events for the
public facing multi path device, e.g. /sys/block/nvme0n1 in this case.



More information about the Linux-nvme mailing list