Re: Intel Optane SSD mounting problem

Farrell, Patrick Arthur
 

Gert,

We're seeing this when we run identify on our 905p SSDs:
"
NVMe Controller at 0000:1a:00.0 [8086:2700]
[...]
Serial Number:                         PHM29226005S480BGN
Model Number:                          INTEL SSDPE21D480GA
[...]
Admin Command Set Attributes
============================
Security Send/Receive:                 Supported
"

However, when I run nvme_manage, I get an error stating that Opal is not supported (the same error DAOS is spitting out, incidentally):

"Please Input PCI Address(domain:bus:dev.func):
0000:1a:00.00
Opal General Usage:

        [1: scan device]
        [2: init - take ownership and activate locking]
        [3: revert tper]
        [4: setup locking range]
        [5: list locking ranges]
        [6: enable user]
        [7: set new password]
        [8: add user to locking range]
        [9: lock/unlock range]
        [10: erase locking range]
        [0: quit]
1
[2020-06-24 14:37:34.452086] nvme_opal.c: 828:opal_discovery0_end: *ERROR*: Opal Not Supported.
"

Any thoughts?

Regards,
-Patrick


From: daos@daos.groups.io <daos@daos.groups.io> on behalf of Gert Pauwels (intel) <gert.pauwels@...>
Sent: Wednesday, June 24, 2020 11:54 AM
To: daos@daos.groups.io <daos@daos.groups.io>
Subject: Re: [daos] Intel Optane SSD mounting problem
 
Hi Tom, Colin,

I'm running Ubuntu 20.04 LTS  (kernel: 5.4.0-37-generic) and compiled DAOS v1.0.0.
I also compiled the latest master as of yesterday, but it did not make a difference.

Any application that can manage Opal 2.0 can be used to check the status of the drive. I used the sedutil-cli, can be found at https://github.com/Drive-Trust-Alliance/sedutil the executable can be found at https://github.com/Drive-Trust-Alliance/sedutil/wiki/Executable-Distributions 
You can run
# sedutil-cli --scan
and
# sedutil-cli --query <device>
it will return useful information about the Opal status of the device.
sedutil-cli will send NVMe security commands and the tool will only work if your SSD is bound the the NVMe driver.

In case the SSD is not bound to the NVMe driver you can manage the drive with the nvme_manage spdk utility you can found in the /daos/_build.external/dev/spdk
# ./examples/nvme/nvme_manage/nvme_manage 
Select 8 to get into the OPAL NVMe Management Options, enter the PCIe address of your SSD for the list you get prompted, select 1 to scan the device. These steps gives you the same results as running the # sedutil-cli --query <device> in case the SSD is bound to the NVMe driver.

Regards,

Gert,


 

Join daos@daos.groups.io to automatically receive all group messages.