Messages in this thread | | | Date | Thu, 8 Nov 2018 10:16:28 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH v2] nvme: create 'paths' entries for hidden controllers |
| |
On Thu, Nov 01, 2018 at 08:29:55PM -0300, Thadeu Lima de Souza Cascardo wrote: > When using initramfs-tools with only the necessary dependencies to mount > the root filesystem, it will fail to include nvme drivers for a root on a > multipath nvme. That happens because the slaves relationship is not > present. > > As discussed in [1], using slaves will break lsblk, because the slaves are > hidden from userspace, that is, they have no real block device, just an > entry under sysfs.
I wonder if the better way would be to unhide the slaves, but always have a claim on them, so that others can't really use them? While the hiding idea seamed very neat it seems to cause a fair amount of problems after all.
| |