[SPDK] Re: Spdk nvme CLI - block device
Revan biradar <revan.biradar at gmail.com>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <CAC1z+tvd_z9gJk8-3y5Zn_bH+c9Bdrr_Z4pcSt1eE-rPPJefSA@mail.gmail.com> |
Hi SPDK team I am trying to configure SPDK Nvme over tcp with ADQ. Can anyone guide me on that. Any help will be appreciated. Thank you Revan Biradar On Mon, Apr 6, 2020 at 8:44 PM Zawadzki, Tomasz <tomasz.zawadzki(a)intel.com> wrote: > Hello Gili, > > If I understand correctly the goal is to prepare data on a bdev before > exposing it via NVMe-oF (or other targets - vhost/iSCSI) ? > > One way would be to connect to SPDK target with kernel initiator - even > locally within single machine. > Then perform necessary preparation using already available tooling. > As you've noted it is possible to create device in kernel from bdev using > NBD as well. > > Please see https://spdk.io/doc/bdev.html and appropriate target > documentation to help with set of RPCs that might help. > > Note: > nvme CLI is not needed to configure SPDK target or SPDK initiator, this > can be done via RPC. > Branch spdk-1.6 for nvme CLI was created to interact with NVMe bdevs in > SPDK. Which since has been improved to work > with stock nvme CLI when using > https://spdk.io/doc/bdev.html#bdev_config_nvme_cuse > > Thanks, > Tomek > > > -----Original Message----- > > From: Gili Buzaglo <Gili.Buzaglo(a)kioxia.com> > > Sent: Saturday, April 4, 2020 11:59 AM > > To: spdk(a)lists.01.org > > Subject: [SPDK] Spdk nvme CLI - block device > > > > Hi > > I tried to understand if nvme CLI based on spdk-1.6 can somehow generate > a > > block device without using the nvme fabrics kernel module. > > I managed to add tcp support and connect ,but then the code goes to the > > kernel module and no block device was added. > > In general , I know that it is possible to create block devices which are > > implemented in user space (for example with nbd) .. and I know spdk has > > block device layer.. > > Does someone think that what I did is somehow possible ? > > > > The motivation for this is easy host installation without the > requirement to > > replace kernel or application changes. > > I'm aware there will be a performance impact.. > > > > Thanks > > -gili > > _______________________________________________ > > SPDK mailing list -- spdk(a)lists.01.org > > To unsubscribe send an email to spdk-leave(a)lists.01.org > _______________________________________________ > SPDK mailing list -- spdk(a)lists.01.org > To unsubscribe send an email to spdk-leave(a)lists.01.org >