Skip to contentSkip to conversation

Booting from NVMe over Fabrics

DISCUSSION Johannes Thumshirn 3 participants 3 messages Jun 22, 2017 – Jun 25, 2017 NVMe

lore
Share & tools
lore
#0 lore raw

Hey Folks,

I know this is a rather unpopular topic, but one day someone will come up with it and I'd like to be prepared.

The big blocking points Hannes and I have discovered are a) discovery (no pun intented) and b) connection establishment. Currently we need the nvme-cli for both and thus can't do a auto connect from the kernel at boot time (iscsiadm or fcoemon anyone?). We could do it the very same way, i.e. fire up nvme connect-all from the initrd (and pray we have /etc/nvme/discovery.conf) but the hand-over of parameters from the HCA/HBA firmware is a major PITA at least from iSCSI (ibft doesn't fix things).

So do you (especially the ones of you in the nvmexpress committe) have special plans or do we repeat or previous errors?

Thanks a lot,
Johannes

Signature · 6 lines
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
#1 lore raw

As long as you don't have weird hardware offloads (which seems rather pointless) there is nothing interesting in booting NVMe - yes you'll need NVMe-cli, and a working RDMA setup. But that's not any different than SRP or iSER, or NFS over RDMA, so we the distros should do the same for NVMe that they do for those technolog?es.

#2 lore raw
Quoted 5 lines · Christoph Hellwig

As long as you don't have weird hardware offloads (which seems rather pointless) there is nothing interesting in booting NVMe - yes you'll need NVMe-cli, and a working RDMA setup. But that's not any different than SRP or iSER, or NFS over RDMA, so we the distros should do the same for NVMe that they do for those technolog?es.

You seem to have left off FC. FC would like to boot FC-NVME the same as it does FC-SCSI/FCP.

The main issue so far is user-level discovery. Swap, kdump, and ensuring you have connectivity/can run while low-memory, are severely taxed/at-risk by the user-level paradigms.

-- james