NVME Disappears from OS

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
thisfantastic
Level 1
Level 1
Posts: 13
Joined: Wed Jan 14, 2015 1:52 pm

NVME Disappears from OS

Post by thisfantastic »

I have had an issue where one of my nvme drives disappears. This is mostly after sleep/inactivity so I believe it could be power mgmt related, however, I'm not 100%. I can't access the drive as its gone from the OS. When I do a soft reboot and go to the BIOS, the drive is also not showing there. I had this issue happen before and replaced the drive with a brand new one. Same issue.

Any ideas where to look? I'm suspect something is either turning the drive off in the OS or BIOS until a hard reset.

thank you.

Code: Select all

[78953.667317] pcieport 0000:00:1b.0: AER: Multiple Corrected error received: 0000:00:1b.0
[78953.679075] pcieport 0000:00:1b.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[78953.679077] pcieport 0000:00:1b.0:   device [8086:7ac4] error status/mask=00000001/00002000
[78953.679078] pcieport 0000:00:1b.0:    [ 0] RxErr                  (First)
[78985.553026] nvme nvme1: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0xffff
[78985.553037] nvme nvme1: Does your device have a faulty power saving mode enabled?
[78985.553040] nvme nvme1: Try "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" and report a bug
[78985.641160] nvme 0000:05:00.0: Unable to change power state from D3cold to D0, device inaccessible
[78985.641893] nvme nvme1: Disabling device after reset failure: -19
[78985.665182] EXT4-fs (nvme1n1): shut down requested (2)
[78985.665197] Aborting journal on device nvme1n1-8.
[78985.665209] kworker/u64:19: attempt to access beyond end of device
               nvme1n1: rw=133121, sector=1950613504, nr_sectors = 8 limit=0
[78985.665216] Buffer I/O error on dev nvme1n1, logical block 243826688, lost sync page write
[78985.665224] JBD2: I/O error when updating journal superblock for nvme1n1-8.

Code: Select all

System:
  Host: computer1 Kernel: 6.5.0-26-generic x86_64 bits: 64
    Desktop: Cinnamon 6.0.4 Distro: Linux Mint 21.3 Virginia
Machine:
  Type: Desktop System: HP product: HP Z2 Tower G9 Workstation Desktop PC
  Mobo: HP model: 895C v: KBC Version 12.03.05 serial: <superuser required>
    UEFI: HP v: U50 Ver. 02.04.02 date: 11/06/2023
CPU:
  Info: 24-core (8-mt/16-st) 13th Gen Intel Core i9-13900 [MST AMCP]
    speed (MHz): avg: 880 min/max: 800/5300:5600:4200
Graphics:
  Device-1: AMD Navi 23 WKS-XL [Radeon PRO W6600] driver: amdgpu v: kernel
  Device-2: Logitech HD Pro Webcam C920 type: USB driver: usbfs
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu resolution:
    1: 2560x1080~60Hz 2: 3440x1440~60Hz 3: 2560x1080~60Hz
  OpenGL: renderer: AMD Radeon Pro W6600 (navi23 LLVM 15.0.7 DRM 3.54
  6.5.0-26-generic)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
Network:
  Device-1: Intel driver: iwlwifi
  Device-2: Intel Ethernet I219-LM driver: e1000e
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152
Drives:
  Local Storage: total: 7.28 TiB used: 2.45 TiB (33.6%)
Info:
  Processes: 719 Uptime: 22h 9m Memory: 62.5 GiB used: 12.24 GiB (19.6%)
  Shell: Bash inxi: 3.3.13
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: NVME Disappears from OS

Post by 1000 »

Try asking the manufacturer of your motherboard and hard drive.
I guess the system won't help if the Bios doesn't even detect it.
Things you can test
- Test the latest kernel as much as possible. https://www.linuxmint.com/rel_tina_cinn ... atsnew.php
- Bios update if available ( Sometimes dangerous if the electricity is unstable )
- Check system logs
For example from sleep to wake up

Code: Select all

journalctl -S "2021-02-18 12:00:00" -U "2021-02-18 19:00:00" --no-pager
- Turn off falling asleep for some time.
User avatar
PaulL
Level 6
Level 6
Posts: 1089
Joined: Mon Apr 24, 2023 10:57 am
Location: Connecticut

Re: NVME Disappears from OS

Post by PaulL »

Does either Disks or Gparted show the drive after it disappears? I believe they detect unmounted drives as well as mounted ones.

How is the drive mounted in your /etc/fstab file?
User avatar
MiZoG
Level 8
Level 8
Posts: 2395
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: NVME Disappears from OS

Post by MiZoG »

Your inxi report is incomplete, thisfantastic
Shows 8TB of internal storage. That's not little. Perhaps there is a chipset limitation to the number of connected drives. Check your workstation's manual for details.
Your system report does not reveal the number, the partition layout and the internal bus your local drives are connected to.
Post Reply

Return to “Storage”