As i get some questions about it in recent times: With a normal SATA/SAS disk you can simply unplug a disk without warning and preparation. NVMe are different. For all practical purposes they are PCI devices. And they want to be handled as such. Unplugging a NVMe drive without using the proper procedure is pretty much like yanking out a PCI card without preparation. So when you want to remove a NVMe disk you have to use the hotplug command in Solaris. To cite the documentation:
# hotplug list –lc
Connection  State    Description
Path
------------------------------------------------------------------ 
pcie13      ENABLED  PCIe-Native /pci@7a,0/pci8086,2f08@3/pci111d,80b5@4
# hotplug poweroff pcie13
# hotplug list –lc
Connection  State    Description
Path
------------------------------------------------------------------
pcie13      PRESENT  PCIe-Native /pci@7a,0/pci8086,2f08@3/pci111d,80b5@4
On a Oracle server a "OK to remove" light will turn on. Now it should appear as empty.
# hotplug list –lc
Connection  State    Description
Path
------------------------------------------------------------------
pcie13      EMPTY    PCIe-Native /pci@7a,0/pci8086,2f08@3/pci111d,80b5@4
For replacement, wait 10 seconds after removal. Then insert the new NVMe drive. You have to enable it before using it.
#hotplug enable pcie13
# hotplug list –lc
Connection  State    Description
Path
------------------------------------------------------------------
pcie13      Enabled  PCIe-Native /pci@7a,0/pci8086,2f08@3/pci111d,80b5@4

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA