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
Do those partitions show up in the
/proc/partitionsfile?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
Does the base device
nvme0show up in/proc/partitionsthough?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.
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 printHi 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.
On the configuration page for the Partitions on Local Disks module (the gear icon), what do you have the
Partition management commandoption set to? The best mode isChoose automatically.Also, what does that same
partedcommand output when run on a non-NVME disk?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
That also looks fine... which Webmin version are you running there?
Also, are you logged into Webmin as the
rootuser?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.
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.
Ok, that would explain it!