Hi Aaron,

Below is the result with your instructions, but it did not work, due to
the device path no longer exists after unplugging the drive. Details see
below:


root@test:~# lspci -D | grep 10000:0[23]
10000:02:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD 
Controller CD8P (rev 01)
10000:03:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD 
Controller CD8P (rev 01)

Unplug the NVMe drive
root@test:~# lspci -D | grep 10000:0[23]

root@test:~# lsblk
NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                         8:0    0 894.3G  0 disk
├─sda1                      8:1    0     1G  0 part /boot/efi
├─sda2                      8:2    0     2G  0 part /boot
└─sda3                      8:3    0 891.2G  0 part
└─ubuntu-vg-ubuntu-lv 251:0    0   100G  0 lvm  /
sdb                         8:16   0 894.3G  0 disk

echo 1 > /sys/bus/pci/devices/10000:03:00.0/reset
The command failed with an error indicating the path could not be found.

cd /sys/bus/pci/devices/10000:03:00.0
Indicated that the path could not be found.

Shut down, plug the NVMe drive back in, and power on again.

After the NVMe drive was detected:
cd /sys/bus/pci/devices/10000:03:00.0 executed successfully.

After unplugging the drive, the path /sys/bus/pci/devices/10000:03:00.0
no longer exists.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2148638

Title:
  ubuntu 26.04 - When the NVME hard drives were hot-swapped, the OS
  reported an error and some of the drives were not recognized.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2148638/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to