From: Yanko Davila <davila at cognitec.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] Bluestore device’s device selector for Samsung NVMe
Date: Mon, 14 Jan 2019 18:41:25 +0100 [thread overview]
Message-ID: <2F585C6F-2CCF-4042-9CD2-D0B94566A981@cognitec.com> (raw)
In-Reply-To: F1155E42-A221-492D-BBFA-FFF8191E8ABB@intel.com
[-- Attachment #1: Type: text/plain, Size: 2938 bytes --]
Hi Jim
Thank you for your answer. I was able to find the device selector. Now I have an issue understanding the steps to activate the osd. Once I setup spdk the device disappears from lsblk as expected. So the ceph manual is not very helpful after spdk is enabled. Is there any manual that walks you through the steps to add an spdk nvme to ceph ?? Thanks again for your time.
Yanko.
> On Jan 14, 2019, at 4:18 PM, Harris, James R <james.r.harris(a)intel.com> wrote:
>
> Hi Yanko,
>
> I think the Ceph documentation is not quite accurate. Not all Intel NVMe SSDs have device ID 0x0953. Similarly, Samsung NVMe SSDs likely have several different device IDs depending on the model.
>
> I would suggest just doing "lspci | grep Volatile" to find the NVMe SSD bus/device/functions on your system.
>
> -Jim
>
>
> On 1/14/19, 7:12 AM, "SPDK on behalf of Yanko Davila" <spdk-bounces(a)lists.01.org on behalf of davila(a)cognitec.com> wrote:
>
> Hello
>
> My name is Yanko Davila, I´m new to ceph so please pardon my ignorance.
> I have a question about Bluestore and SPDK.
>
> I´m currently running ceph version:
>
> ceph version 12.2.10 (177915764b752804194937482a39e95e0ca3de94) luminous
> (stable)
>
> on Debian:
>
> Linux <hostname> 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4
> (2018-08-21) x86_64 GNU/Linux
>
> Distributor ID: Debian
> Description: Debian GNU/Linux 9.5 (stretch)
> Release: 9.5
> Codename: stretch
>
> I´m trying to add an NVMe osd using bluestore but I´m struggling to find
> the device selector for that NVMe. So far I´ve been able to compile
> spdk and succesfully run the setup.sh script. I can also succesfully run
> the identify example which leads me to think that spdk is working as
> expected.
>
> When I read the online manual (
> http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/#spdk-usage
> ) it gives an example for an Intel PCIe SSD:
>
> <quote>
>
> For example, users can find the device selector of an Intel PCIe SSD with:
>
> $ lspci -mm -n -D -d 8086:0953
>
> <quote />
>
> When I try the same command adjusting for my Samsung SSD it returns
> nothing or the return is just blank here is what I tried:
>
> $ lspci -mm -n -D -d 144d:a801
>
>
> Assuming that I gave you enough information. Can anyone spot what I´m
> doing wrong? Does spdk only works on Intel SSDs ? Any comment is highly
> appreciated. Thank You for your time.
>
> Yanko.
>
>
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
>
>
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
next reply other threads:[~2019-01-14 17:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 17:41 Yanko Davila [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-01-15 5:03 [SPDK] Bluestore device’s device selector for Samsung NVMe Yang, Ziye
2019-01-15 4:44 Tushar Gohad
2019-01-14 18:49 Harris, James R
2019-01-14 15:18 Harris, James R
2019-01-14 14:12 Yanko Davila
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2F585C6F-2CCF-4042-9CD2-D0B94566A981@cognitec.com \
--to=spdk@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox