-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How about loosen restriction of VPD83 id to support NVMe disks. #135
Comments
I think that's fine, Gris. I saw some similar trickery in Ceph's spdk usage. Joe On May 2, 2016, at 7:21 AM, Gris Ge <[email protected]mailto:[email protected]> wrote: @joehandzikhttps://github.com/joehandzik @taslesonhttps://github.com/tasleson Currently, we are defining the VPD83 ID as VPD83 NAA ID which is not supported by NVMe disks yet. The NVMe disks only expose SCSI VPD83 string ID which translate from NVMe serial: [fge@megadeth ~]$ sudo sg_vpd --page=0x83 /dev/nvme0n1 How about we make an exception in lsm_local_disk_vpd83_get() and lsm_local_disk_vpd83_search() You are receiving this because you were mentioned. |
Another update on NVMe, with NVMe 1.2+(not sure what does this mean yet), linux kernel expose VPD83 EUI64 ID for NVMe disks. |
I guess we have three options (as far as I see):
I think option 2 would be fine, especially if we somehow communicate via documentation that NVMe support is very early and the management standards are still working their way into reality. But I can see an argument for 3. |
From the kernel code, it seems once spec 1.2 is supported, EUI64 ID is replacing string ID. So option 1) out. Using option 2) will alter the definition of Let's just add this line into
[1]: Currently |
@cathay4t Ok, gotcha. It does sound complex and awfully in-flux. We'll see what @tasleson thinks, but for now I'm with you and leaning towards keeping NVMe unsupported. It could be made use of in Ceph today, but most other scale-out solutions are still using SAS/SATA for cost reasons. I think we're in great shape if we can support NVMe well within 2016, even if that is in release 1.4. |
I agree, lets leave it unsupported at this time. |
@joehandzik Any change to review my code in libnvme? I am planing to use it for NVMe support in libstoragemgmt. |
@cathay4t Hey, sorry for the delay, back online after the holiday break. I'll take a look and see if I find anything. I assume all this code will be brought into libstoragemgmt? Or will your libnvme remain a separate repository? |
@cathay4t An initial pass through the source went fine, I think it looks really good actually! I may have more detailed feedback when we see how it fits in with libstoragemgmt itself. But I think it's in a state where a PR would be the next step. Do you happen to have documentation on what hardware you're testing this against? We have some NVMe here at HPE, but I would find it useful to have an initial list of hardware you've tested against. |
@joehandzik The libnvme will be in separate library in order to expose more features than libstoragemgmt needs. I only tested on Intel DC P3700 which is all I have right now, it's a old NVMe SSD which only support NVMe SPEC 1.0. I have updated the The code has zero vendor specific code, purely based on NVMe SPEC 1.0+. You make try these commands on your gears:
For fitting into libstoragemgmt:
|
BTW, storcli for MegaRAID cards can return WNN = NA for disks and it causes INVALID_ARGUMENT error on "lsmcli ld" like below:
|
@joehandzik @tasleson
Currently, we are defining the VPD83 ID as VPD83 NAA ID which is not supported by NVMe disks yet.
The NVMe disks only expose SCSI VPD83 string ID which translate from NVMe serial:
How about we make an exception in
lsm_local_disk_vpd83_get()
andlsm_local_disk_vpd83_search()
to allow VPD83 sting ID as fallback?
The text was updated successfully, but these errors were encountered: