Ubuntu 18.04 NVMe disks are not showed up in /dev/disk/by-path (NVMe / Bolt )

Bug #1782079 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

== Comment: #0 - NAVEED A. UPPINANGADY SALIH
+++ This bug was initially created as a clone of Bug #164830 +++

---Problem Description---
Follow up bug of Bug 164830 - LP1758205- Ubuntu 18.04 NVMe disks are not showed up in /dev/disk/by-path (NVMe / Bolt )

---uname output---
4.15.0-23-generic

---Additional Hardware Info---
0003:01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd

Machine Type =

---Debugger---
A debugger is not configured

---Steps to Reproduce---
  1> install Ubuntu 18.04 on AC922 system
2> make sure Bolt adapter is present in the system
0003:01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller 172Xa [144d:a822] (rev 01)

3> create name space using following script
#!/bin/bash

device=/dev/nvme0
echo $device

nvme format $device

nvme set-feature $device -f 0x0b --value=0x0100

nvme delete-ns $device -n 0xFFFFFFFF
sleep 5
nvme list

nvme get-log $device -l 200 -i 4

max=`nvme id-ctrl $device | grep ^nn | awk '{print $NF}'`

for i in $(eval echo {1..$max})
do
    echo $i
    nvme create-ns $device --nsze=7000000 --ncap=7000000 --flbas=0 --dps=0
    nvme attach-ns $device --namespace-id=$i --controllers=`nvme list-ctrl $device | awk -F: '{print $2}'`
    sleep 2
    nvme get-log $device -l 200 -i 4
    sleep 2
done
nvme list

4> run #nvme ns-rescan /dev/nvme0 ; #ls -lh /dev/disk/by-path/*

Userspace tool common name: NA

Userspace rpm: NA

The userspace tool has the following bit modes: NA

Userspace tool obtained from project website: na

*Additional Instructions for <email address hidden>:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach ltrace and strace of userspace application.

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-169754 severity-medium targetmilestone-inin1804
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1782079/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.