OMV6 GUI and S.M.A.R.T. Storage pane details - No NVMe Vendor Displayed?

  • Hello everyone, I am on latest OMV 6 version (6.4.5-1 Shaitan) and in Home > Storage > S.M.A.R.T. > Devices there is no vendor appearing for my NVMe disk.


    The disk is a boot disk, correctly identified and mounted as /dev/nvme0 but for some reason, there's no vendor displayed. Is this a problem with the SMART data for my NVMe disk or a minor bug of how OMV6 parses data?


    Moreover, when I select to view the Details window of a highlighted drive, there's a bad hyperlink (?) on the breadcrumb path (right above the SMART details pane of the drive) if I accidentally click on "Details" again: I get a Guru Meditation error (black screen, red message) saying Software Failure etc. and I need to reload the OMV6 pages.


    The Home > Storage > S.M.A.R.T. > Devices > Details link points to the "same" drive but not sure if the URL is constructed in a wrong way, causing the error:

    Code
    http://192.168.1.199/#/storage/smart/devices/details/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231832802976

    The Devices URL works, thankfully. It points to http://192.168.1.199/#/storage/smart/devices


    Thanks for your feedback!

    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

    • Official Post

    The data displayed in the devices table is fetched from sysfs. This is by intention to not confuse users because the same is done on the Storage | Devices page. The data is extracted from sysfs, so ff the kernel does not get the "correct" data from the device, then the UI can not display it as well.

    • Official Post

    Moreover, when I select to view the Details window of a highlighted drive, there's a bad hyperlink (?) on the breadcrumb path (right above the SMART details pane of the drive) if I accidentally click on "Details" again: I get a Guru Meditation error (black screen, red message) saying Software Failure etc. and I need to reload the OMV6 pages.

    I think you should clear your browser cache to fix the issue.


    The Home > Storage > S.M.A.R.T. > Devices > Details link points to the "same" drive but not sure if the URL is constructed in a wrong way, causing the error:

    Code
    http://192.168.1.199/#/storage/smart/devices/details/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231832802976

    The Devices URL works, thankfully. It points to http://192.168.1.199/#/storage/smart/devices


    Thanks for your feedback!

    This URL looks correctly encoded like this for me: http://omv6box.local/#/storage/smart/devices/details/%2Fdev%2Fdisk%2Fby-id%2Fscsi-0QEMU_QEMU_HARDDISK_drive-ua-disk-volume-0

  • Hi votdev thanks for your reply.


    What would be a command that I can run to provide the output of sysfs so that OMV developers can see if there's something that could be missing or omitted? Unless this is not working like that and I cannot provide feedback on my WD SN570 NVMe?


    With regard to the bug of the breadcrumb path (i.e. right above the SMART details pane of the drive) it happens all the time, browser cache cleared. Both on Safari and Firefox... If you click on Details you will see. It's on 2 different OMV6 installation (latest version) and different browsers...


    Again, to reproduce: Go to Home > Storage > S.M.A.R.T. > Devices then highlight a drive. Click on the TRIANGLE to show SMART Details. Then click on the white URL of the path right above the drive list... You will see. Clicking on it will cause the error. P.S. I am not talking about the URL you see on the address bar :) but the hyperlink in "Details".

    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

    Edited once, last by Konsti ().

  • I can confirm that after following the above sequence of steps and clicking on "Details" link (see screenshot) I get an error "Software Failure. Press left mouse button to continue. The required page was not found."

  • Thanks votdev for confirming the UI bug of the hyperlink.


    Regarding my NVMe there is a confusing result.


    In /sys/block/ I find the following entries:

    Code
    lrwxrwxrwx  1 root root 0 Jun 25 15:54 nvme0n1 -> ../devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0/nvme0n1
    lrwxrwxrwx  1 root root 0 Jun 25 15:54 sda -> ../devices/pci0000:00/0000:00:12.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
    lrwxrwxrwx  1 root root 0 Jun 25 15:54 sdb -> ../devices/pci0000:00/0000:00:12.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb
    lrwxrwxrwx  1 root root 0 Jun 25 15:54 sdc -> ../devices/pci0000:00/0000:00:13.3/0000:04:00.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc
    lrwxrwxrwx  1 root root 0 Jun 25 15:54 sdd -> ../devices/pci0000:00/0000:00:13.3/0000:04:00.0/ata4/host3/target3:0:0/3:0:0:0/block/sdd

    Path /sys/block/nvme0n1/device/ has no vendor file. Only model file ("WD Blue SN570 1TB")

    I then followed the actual real path, there is a vendor in the device folder (but no model):

    ...there is a vendor file, with contents "0x15b7"


    N.B. The path /sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/ only contains nvme0 so I am forced to go inside nvme0 folder that has the same contents as /sys/block/nvme0n1/device/ above (first list) but if you cd device you end up in the list here that has vendor...


    Makes sense?


    Path /sys/block/nvme0n1/device/ has same contents as

    /sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0/

    ...and no vendor, only model files.


    But /sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0/device/ does have a vendor file, no model (go figure).


    Thanks and good night :D

    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

  • Hi votdev hope you are well. Any comment on my report above? The path you indicate for my NVMe doesn't seem to be the right one, to get the vendor... Thanks.

    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

    • Official Post

    Whar is the output of udevadm info --query=property --name=/dev/nvme0


    BTW, my NVMe does not have a vendor as well, only model. So it seems this information can not be queried via UDEV or sysfs. Seems i can not do anything here because i will not call any other userland app to fetch that info because this action is too expensive and accumulates the more devices are plugged into the system.

  • Hi votdev here's the output of this command:

    Code
    $ udevadm info --query=property --name=/dev/nvme0
    
    DEVPATH=/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0
    DEVNAME=/dev/nvme0
    NVME_TRTYPE=pcie
    MAJOR=248
    MINOR=0
    SUBSYSTEM=nvme
    root@ASRock-NAS:~# 


    But if I add the correct device name nvme0n1 we get other stuff (perhaps expected):

    Thanks for your help.


    FYI this is the output of the lsblk -fp command:

    Code
    NAME             FSTYPE FSVER LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINT
    /dev/nvme0n1                                                                                 
    ├─/dev/nvme0n1p1 vfat   FAT32            53C2-4CD6                                           
    ├─/dev/nvme0n1p2 ext4   1.0   System     82876742-7862-4142-b549-0beadf739779   50.5G    11% /
    ├─/dev/nvme0n1p3 swap   1                6c9bc92d-5371-4865-921e-0518ba5c6025                [SWAP]
    └─/dev/nvme0n1p4 ext4   1.0   Data       f53e761d-e8bc-4c16-a839-37acf0fa2921  717.5G    11% /srv/dev-disk-by-uuid-f53e761d-e8bc-4c16-a839-37acf0fa2921

    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

  • Hi votdev does the above provide you an insight on the Manufacturer display issue for my NVMe boot drive?


    For your information, my board is an Intel J5040 CPU (by ASRock) and has 4xSATA ports, but the NVMe is a (WD) SATA one connected on a PCIe adapter. Could this be a reason why we have this difference between /dev/nvme0 and /dev/nvme0n1 devices, perhaps? (sorry, I am not a connoisseur of such Linux deep kernel knowledge...).


    Hi ryecoaaron or macom any comments based on your global experience?

    Many thanks to all ! (and hope you're relaxing to some beach far away :D )

    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

  • Hello votdev I'd like to inform you that I was pleasantly surprised to discover that the latest OMV6 versions (I updated to 6.9.6-2) has improved the display of the NVMe vendor column for NVMe's, so my next question is where does one find/define the ID of the vendor (in my case it shows 0x15b7) and how can we improve this? Here are my screenshots, thank you in advance!


    Reference: https://admin.pci-ids.ucw.cz/read/PC/15b7


    P.S. Reminder, My ASRock J5040-ITX board has 2+2 SATA ports and I boot from a PCIe-NVMe adapter (WD Blue SN570) to maximize capacity.


    OpenMediaVault 7.4.10-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!