Menu

#5480 NVMe drives/partitions not detected

1.973
closed-works-for-me
nobody
None
5
2021-04-20
2021-04-16
Aria Bamdad
No

Hi,
Running under SLES 15, webmin "Partitions on Local Disks" does not display any of the NVMe device partitions at all. Similarly the "SMART Drive Status" module does not allow you to select any NVMe drive. Any file system on these devices do show up on modules that show file systems or software RAID volumes.

My NVMe devices appear as such :

testsys:~ # l /dev/nvm*
crw------- 1 root root 244, 0 Feb 7 07:59 /dev/nvme0
brw-rw---- 1 root disk 259, 1 Feb 7 07:59 /dev/nvme0n1
brw-rw---- 1 root disk 259, 3 Feb 7 07:59 /dev/nvme0n1p1
crw------- 1 root root 244, 1 Feb 7 07:59 /dev/nvme1
brw-rw---- 1 root disk 259, 0 Feb 7 07:59 /dev/nvme1n1
brw-rw---- 1 root disk 259, 2 Feb 7 07:59 /dev/nvme1n1p1

Thanks,
Aria

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-04-17

    Do those partitions show up in the /proc/partitions file?

     
    • Aria Bamdad

      Aria Bamdad - 2021-04-17

      Hi Jamie,

      Yes, the sure do:

      testsys: # cat /proc/partitions
      major minor #blocks name

      259 0 500107608 nvme1n1
      259 2 500106567 nvme1n1p1
      259 1 500107608 nvme0n1
      259 3 500106567 nvme0n1p1

       
  • Jamie Cameron

    Jamie Cameron - 2021-04-17

    Does the base device nvme0 show up in /proc/partitions though?

     
  • Aria Bamdad

    Aria Bamdad - 2021-04-17

    The base device is nvme0n1 for the first drive and nvme1n1 for the second. Each is a Samsung 970 PRO SSD 512GB. They are both installed in an Asus Hyper M.2 expansion card supporting 4 NVMe drives. Thanks.

     
  • Jamie Cameron

    Jamie Cameron - 2021-04-17

    So on the "Partitions on Local Disks" page, does the NVME disk not show up at all? Or does it appear, but have no partitions?

    Also, what output do you get if you run parted /dev/nvme0n1 unit cyl print

     
  • Aria Bamdad

    Aria Bamdad - 2021-04-17

    Hi Jamie,
    The Partitions on Local Disks page only shows the SATA devices and nothing else. The NVMe devices/partitions are not listed.

    The output of the parted command is:

    Model: NVMe Device (nvme)
    Disk /dev/nvme0n1: 62260cyl
    Sector size (logical/physical): 512B/512B
    BIOS cylinder,head,sector geometry: 62260,255,63. Each cylinder is 8225kB.
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 0cyl 62260cyl 62260cyl raid

    Thank you.

     
  • Jamie Cameron

    Jamie Cameron - 2021-04-17

    On the configuration page for the Partitions on Local Disks module (the gear icon), what do you have the Partition management command option set to? The best mode is Choose automatically .

    Also, what does that same parted command output when run on a non-NVME disk?

     
  • Aria Bamdad

    Aria Bamdad - 2021-04-17

    Configuration page for partition management command is set to Choose automatically.

    Parted command on /dev/sda:

    # parted /dev/sda unit cyl print
    Model: ATA ST1000NM0033-9ZM (scsi)
    Disk /dev/sda: 121601cyl
    Sector size (logical/physical): 512B/512B
    BIOS cylinder,head,sector geometry: 121601,255,63. Each cylinder is 8225kB.
    Partition Table: msdos
    Disk Flags:

    Number Start End Size Type File system Flags
    1 0cyl 2088cyl 2088cyl primary linux-swap(v1) raid, type=fd
    2 2088cyl 15142cyl 13054cyl primary ext4 boot, raid, type=fd
    3 15142cyl 28197cyl 13054cyl primary ext4 raid, type=fd
    4 28197cyl 121601cyl 93404cyl extended lba, type=0f
    5 28197cyl 54305cyl 26108cyl logical ext4 raid, type=fd
    6 54305cyl 121601cyl 67295cyl logical xfs raid, type=fd

     
  • Jamie Cameron

    Jamie Cameron - 2021-04-17

    That also looks fine... which Webmin version are you running there?

    Also, are you logged into Webmin as the root user?

     
  • Aria Bamdad

    Aria Bamdad - 2021-04-17

    Jamie. I have to apologize. I opened a few bug reports together and wrongly assumed both systems I was working on were running the latest 1.973 release. This and another but I reported (which I will try to close) were running on a 1.850 release. I upgraded to 1.973 and both problems are fixed. I am sorry to have wasted your time.

     
  • Aria Bamdad

    Aria Bamdad - 2021-04-17

    Actually, the other bug was relating to iptables and it is correctly reported for 1.973 so just this one is incorrect and can be close. Thank you again.

     
  • Jamie Cameron

    Jamie Cameron - 2021-04-20
    • status: open --> closed-works-for-me
     
  • Jamie Cameron

    Jamie Cameron - 2021-04-20

    Ok, that would explain it!

     

Log in to post a comment.

MongoDB Logo MongoDB