All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harris, James R <james.r.harris at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] Bluestore device’s device selector for Samsung NVMe
Date: Mon, 14 Jan 2019 15:18:47 +0000	[thread overview]
Message-ID: <F1155E42-A221-492D-BBFA-FFF8191E8ABB@intel.com> (raw)
In-Reply-To: 10d3e6de-4ec7-1b6c-2a1e-8c16920069b5@cognitec.com

[-- Attachment #1: Type: text/plain, Size: 2294 bytes --]

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
    


             reply	other threads:[~2019-01-14 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14 15:18 Harris, James R [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 17:41 Yanko Davila
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=F1155E42-A221-492D-BBFA-FFF8191E8ABB@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.