Opened 9 years ago
Last modified 6 years ago
#698 closed enhancement
Support nvme nvd device IDs — at Initial Version
Reported by: | cpuroast | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.0 |
Component: | all | Version: | 6.5 |
Keywords: | nvme freebsd | Cc: |
Description ¶
As per: https://www.freebsd.org/cgi/man.cgi?query=nvd
The nvd driver exposes NVM Express (NVMe) namespaces as disks to the kernel disk storage API
Device nodes from the nvd driver will have the format /dev/nvdX
smartctl -a /dev/nvd0
/dev/nvd0: Unable to detect device type
Please specify device type with the -d option.
smartctl -a /dev/nvd0 -d nvme
Smartctl open device: /dev/nvd0 failed: NVMe controller controller/namespace ids must begin with '/dev/nvme'
smartctl -a /dev/nvme0
START OF INFORMATION SECTION ¶
Model Number: INTEL SSDPEDMD400G4
Serial Number: CVFT5343004C400BGN
Firmware Version: 8DV10171
PCI Vendor/Subsystem ID: 0x8086
IEEE OUI Identifier: 0x5cd2e4
Controller ID: 0
Number of Namespaces: 1
Namespace 1 Size/Capacity: 400,088,457,216 [400 GB]
Namespace 1 Formatted LBA Size: 512
Local Time is: Tue May 24 13:55:23 2016 EDT
Firmware Updates (0x02): 1 Slot
Optional Admin Commands (0x0006): Format Frmw_DL
Optional NVM Commands (0x0006): Wr_Unc DS_Mngmt
Maximum Data Transfer Size: 32 Pages
Would it be somehow possible to alias nvd0 to nvme0?