Skip to main content

Questions tagged [nvme]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Lenovo Thinkpad X270 / Toshiba KXG50ZNV1T02: system freezes under heavy disk I/O under Linux

I have a problem with a Thinkpad X270 that has a Toshiba KXG50ZNV1T02 NVME drive installed. Whenever my system does heavy disk operations, the laptop completely freezes. Most of the times, it doesn't ...
marmistrz's user avatar
  • 2,742
0 votes
1 answer
43 views

nvme timeout issues on new Intel 7-155H laptop - kernel 6.5 OEM

I have a new laptop with an Intel 7-155H processor and an nvme SSD. I'm running Linux Mint 21.3 and having storage issues. On initial installation the entire system was very slow to do all operations. ...
Origin's user avatar
  • 101
1 vote
0 answers
54 views

Possible to map an entire NVMe SSD into PCIe BAR for MMIO?

Assumed with a 1 TiB NVMe SSD, I am wondering if it's possible to map its entire capacity (1 TiB) into PCIe BAR for memory-mapped I/O (MMIO). My understanding is that typically only device registers ...
JGL's user avatar
  • 147
0 votes
1 answer
112 views

Is this drive dead?: Samsung SSD 970 EVO Plus 1TB

Having bought a used PC and now installing smartd on it, I'm getting smartd "Critical Warning (0x04): Reliability" emails about it (full pastebin). The Percentage Used: 112% is concerning. ...
Peter V. Mørch's user avatar
2 votes
0 answers
59 views

Device excluded by a filter

OS is Debian. Trying to do pvremove on a failed nvme, I get the following error: Device /dev/nvme0n1 excluded by a filter. I see no filter set up in lvm.conf. pvremove --force shows the same error. ...
cat pants's user avatar
  • 487
1 vote
1 answer
97 views

Where do i trace NVME IO within the Linux driver?

I want to write a small Linux driver extension. More specific: I want to write all the communication between the host and a M.2-nvme-ssd into a userspace file. The nvme driver is pretty big though and ...
led's user avatar
  • 13
0 votes
0 answers
27 views

dmesg shows nvme errors but smartctrl shows no errors

I keep seeing messages scroll in dmesg Jan 27 12:56:11 localhost smartd[1191]: Device: /dev/nvme0, number of Error Log entries increased from 316 to 321 But I ran smartctrl tests on all the ...
dman's user avatar
  • 537
0 votes
0 answers
103 views

nvme device-self-test - no progress for 78 seconds, stop waiting

The description says it all: When running a nvme self-test it is not starting at all: nvme device-self-test /dev/nvme0n1 -s 1h -w && nvme device-self-test /dev/nvme1n1 -s 1h -w && ...
HeartOfGermany's user avatar
1 vote
1 answer
605 views

How do I boot from an NVMe disk without bios support?

I have a system which I want to boot from an NVMe disk (via a PCIe riser). The system is UEFI capable, I can boot from a USB disk and install the OS (TrueNAS Scale) to the NVMe disk, and the OS shows ...
phemmer's user avatar
  • 72.1k
0 votes
0 answers
46 views

rsync from ntfs to exfat drive size balloons out of proportion despite --inplace flag

I recently had an issue with my NVME windows drive, and need to back up all the data from it. I'm currently working from a liveUSB of zorin and trying to use rsync to copy the data from the ntfs ...
Wyth's user avatar
  • 1
0 votes
1 answer
271 views

Fedora occasionally freezes when entering Sleep Mode

Fedora occasionally freezes when entering Sleep Mode. I bought an Samsung 970 Evo Plus NVME SSD for my PC (AMD Ryzen CPU and a AMD Radeon GPU. Both are a few years old.) Last night the computer ...
sebastian_kraska's user avatar
1 vote
2 answers
434 views

volume group not found on linux laptop after update

After a recent update (not sure if that was the first including a new kernel 6.1) my ubuntu linux laptop cannot boot anymore the error is Volume group “ubuntu-vg” not found Cannot process volume group ...
sigmud's user avatar
  • 156
0 votes
1 answer
228 views

FIO reports slower sequential read than the advertised NVMe SSD read bandwidth

TLDL For the very simple sequential read, FIO reports is much slower than the NVMe SSD sequentail read capability. Main Text Hello everyone, I have been facing an issue while trying to achieve the ...
JGL's user avatar
  • 147
3 votes
1 answer
351 views

How to format NVMe drive in Linux suitable for raid 1 and lvm on xen Host

I want to create a software raid on two identical SSDs How do I create partitions and format them optimal? lsblk nvme0n1 259:0 0 953.9G 0 disk nvme1n1 259:1 0 953.9G 0 ...
rubo77's user avatar
  • 29.2k
0 votes
0 answers
107 views

Periodic 10 second pauses/freezes every 15 seconds when copying files on all(!) LUKS encrypted ext4 hard drives (NVMe not affected)

I copied a 10TB file from a LVM on LUKS encrypted ext4 drive to another identically set up drive and noticed that the copy process goes for 15 seconds at full speed (~220MB/s), then pauses for 10 ...
tanja94's user avatar
  • 33
0 votes
0 answers
723 views

Emergency Mode Issue on SUSE Linux HPC System

I have a head node and 4 worker nodes for high-performance computing (HPC). Recently, I had to turn it off for maintenance at our data center. I tried to turn the system back on, but I encountered an ...
Train_Learn_2350's user avatar
1 vote
1 answer
587 views

udev makes duplicate /dev/disk/by-id symlinks for nvme drives & partitions

Recently, I noticed that there were extra symlinks in /dev/disk/by-id for my NVME drives, with the duplicates having the same name with _1 appended. # ls -lF /dev/disk/by-id/nvme-...
cas's user avatar
  • 79k
2 votes
1 answer
745 views

Computer boots to GRUB prompt, after moving drive from an old computer

After getting a new system, I moved the NVME drive from my old system to the new one, where both machines are set to boot using UEFI. As the EFI setup is machine specific, I expected to encounter ...
Guss's user avatar
  • 12.8k
0 votes
1 answer
59 views

Mount bind point to incorrect NVMe device after power off/on device

I am developing an all-flash storage application. I found that mount bind has strange behavior on NVMe device power off/on. Distro: SUSE Linux Enterprise Server 15 SP4 5.14.21-150400.24.46-default ...
Bofan Liu's user avatar
1 vote
1 answer
743 views

Systemd is eternally stuck on a start-job when I go to boot from my cloned-to NVME. How do I get my system to boot?

I cloned my hard drive using Clonezilla Live to an NVME SSD. My system is EndeavourOS, Systemd, KDE. When booting, Systemd makes it to the Basic Machine job and then it starts the A start job is ...
Asteroid's user avatar
0 votes
2 answers
3k views

Debian 12 installer does not detect NVMe disks

On a HP ZBook G6 with two Kingston M.2 NVMe SSDs is Windows running without problems. But when booting the Debian 12 installer ISO from an USB hard disk, the Linux 6.0 kernel does not detect these ...
Juergen's user avatar
  • 684
1 vote
2 answers
761 views

Nixos install results in error during boot of "Timed out waiting for device /dev/dis/by-uuid/... to appear" with external NVME drive via USB

I have an issue when using an external NVME drive, grub successfully boots but once entering the entry default configuration (nixos generation) it gives me the below error: "Timed out waiting ...
Chris Stryczynski's user avatar
1 vote
1 answer
240 views

Probabilistic (~50%) error on boot regarding "wrong fs type, bad option, bad superblock...missing codepage or helper program, or other error"

I've found a ton of posts on the internet regarding this error: wrong fs type, bad option, bad superblock on /dev/xxx,missing codepage or helper program, or other error Yet I have never found any case ...
Dennis Orlando's user avatar
0 votes
0 answers
227 views

How to find ammount of DRAM on NVME SSD

So I recently changed my Linux system to a M.2 NVME SSD and the official documentation of the device only states that it has DRAM available (which I have confirmed with nvme-cli) but I can't find ...
Gresthol's user avatar
  • 103
0 votes
1 answer
413 views

Cannot create an NVMe shared namespace and attach it to both primary and secondary controllers

I tried creating a namespace on a Samsung PM1735 NVMe SSD then attach it to primary (0x41) and secondary (0x1) controllers, but it's attaching only to the primary controller (I'm running on Ubuntu 20....
vcr's user avatar
  • 1
0 votes
0 answers
109 views

Newly Cloned NVMe won't boot on laptop

In my fairly old laptop running Fedora 38 I have an normal 2.5" SSD drive. The laptop has a NVMe slot so I added a NVMe drive into the laptop. I Installed the NVMe drive into the laptop and ...
DarkUFO's user avatar
  • 101
2 votes
1 answer
2k views

How can I view the smart logs for an NVMe disk in Linux when smartclt is showing there are errors?

My daily driver (Debian Bookworm RC3 + KDE Plasma) is configured to send me emails containing error notifications. Today, I received the following email: This message was generated by the smartd ...
IMTheNachoMan's user avatar
0 votes
1 answer
244 views

Move SSD into the same IOMMU group as the second GPU

I have a working Qemu configuration with GPU-pass-through. Now I would like to pass also a SSD to the quest. I have read that the pass-through-devices should be in the same group. The following script:...
ceving's user avatar
  • 3,619
1 vote
0 answers
64 views

Difference between modprobe and pci files to remove add devices

I am trying to see how these two set of commands differ if I just have one nvme device. Block device ls -l /sys/block/nvme0n1 lrwxrwxrwx 1 root root 0 Apr 28 11:59 /sys/block/nvme0n1 -> ../devices/...
pointnotfoe's user avatar
3 votes
0 answers
2k views

Heavy IO causes NVMe controller is down; will reset

My laptop has a Kingston KC3000 NVMe SSD which becomes unavilable during heavy IO. This is my boot drive so this issue causes Linux to crash. I have tried setting the kernel parameters nvme_core....
Wes Toleman's user avatar
1 vote
0 answers
19 views

How do I change the drive that I boot from but still boot to the same distro?

I am using pop os and I just got an nvme drive. I am not sure what I need to move there and how. I am also not quite sure where to start as I have never done anything storage related more complicated ...
FFFluoride's user avatar
1 vote
0 answers
56 views

External NVMe slow once?

I’ve bought an external NVMe and the first time I’ve tried to copy a (large) folder it was super slow. I’ve immediately thought of some defects but smartctl doesn’t report anything wrong, then I’ve ...
aliquo93's user avatar
1 vote
0 answers
116 views

2TB NVMe slow in Linux only after booting Windows

My SSD is a 2TB PCIe 3.0 x4 M.2 NVMe (Mega Fastro MS200, some Korean brand, on sale under $100 in Germany). According to Windows smi_nvme_flash_id.exe utility it is a SM2262EN controller with Intel ...
munikiel's user avatar
2 votes
0 answers
1k views

Hotswapped NVMe drives show in lspci but not in lsblk

I'm messing around with NVMe hotswap on my Oracle X8-2L. I have a number of NVMe drives that are connected to the server before boot and then a number of NVMe drives that will be connected after the ...
MehGyver's user avatar
2 votes
1 answer
252 views

GRUB2 serial console issues on NVMe-based pc

I want to interact with GRUB through a usb-to-serial converter. I was able to achieve this on my laptop by using this list of commands in grub's cli: insmod nativedisk #to not loose drive information ...
StefanoN's user avatar
  • 121
1 vote
1 answer
811 views

Installing ArchLinux in VmWare Fusion on M1 Mac

I'm following along in this article to install arch in vmware on my m1 mac I'm able to do fdisk just fine, and get the following partition table: I then create the filesystem for partition 2 per the ...
Aaron Parisi's user avatar
3 votes
0 answers
2k views

Conflict between linux kernel and nvme drives. Faulty power saving mode enabled? ("nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" didn't help)

I have two barely identical servers. Both with: BIOSTAR GTA690 motherboard Intel CPU Same amount of RAM & disk layout PVE distribution (debian based hypervisor). Kernel 5.19.17-1-pve. I have ...
Héctor's user avatar
  • 278
2 votes
1 answer
1k views

Swap logical device names of two NVME SSD drives

Is it possible to swap logical device names of two NVME SSD drives installed in a laptop (Lenovo Legion 5 Pro 2022) without phisically swapping their port positions? I would like the current /dev/...
GoranM's user avatar
  • 23
0 votes
1 answer
2k views

Isolating I/O issue with NVME or hardware?

Hardware: Samsung 980 PRO M.2 NVMe SSD (MZ-V8P2T0BW) (2TB) Beelink GTR6, with the SSD in the NVMe slot Since the hardware arrived, I've installed Ubuntu Server on it as well as a bunch of services (...
Tiago's user avatar
  • 101
1 vote
0 answers
111 views

Stuck at shutdown after an ssd upgrade

I have replaced my sata ssd with an nvme one and after I installed the current stable debian 11, it turns out that my laptop doesn't shutdown. What happens is I can see the systemd output saying that ...
Paweł Wójcik's user avatar
1 vote
1 answer
1k views

What is the impact of different Linux I/O APIs on performance benchmarking of NVMe SSDs? (libaio vs SPDK vs io_uring)

I am benchmarking NVMe SSDs on my Linux server, with the aim to achieve the IOPS, BW and Latency values as mentioned in the product specifications. I'm using FIO as workload generator, and used libaio ...
Jaideep Khare's user avatar
1 vote
0 answers
433 views

NVMe SSD: Should fs block size be the physical reported sector or the logical one?

So, I have an NVMe drive which reports the following: NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE RA WSAME nvme0n1 0 131072 131072 32768 4096 0 ...
Adrian Sevcenco's user avatar
1 vote
1 answer
1k views

Where to place loader.conf on an EFI system partition with the GRUB bootloader?

I'm attempting to alias /dev/nvmeX as /dev/nvdX on bootup through the following guide: https://www.freebsd.org/cgi/man.cgi?query=nvd I would like to know where the loader.conf file with the following ...
round-down's user avatar
1 vote
1 answer
435 views

How would a Linux driver call UEFI firmware presented functionality?

For work I'm learning more about computer architecture and I just finished learning about ACPI. From talking to some other engineers my understanding for something like NVMe is that the OEM is going ...
Grant Curell's user avatar
3 votes
0 answers
427 views

Behavior of the nvme tool with respect to protection information?

Environment: Debian Bullseye, up to date at the time of writing, nvme-cli 1.12 I am totally new to NVMe and currently try to configure an NVMe SSD correctly. As far as I can tell, I don't need ...
Binarus's user avatar
  • 3,390
6 votes
1 answer
1k views

Linux filesystems for code-compilation, which perform best?

For the purpose of compiling code on fast hard drives (NVME for example), is there a clear winner for code compilation or are the popular file systems roughly comparable? (EXT4, XFS, BTRFS, ZFS)? I'd ...
ideasman42's user avatar
  • 1,303
2 votes
1 answer
616 views

what cmdid : 0x10" and "status_field : 0x2002" mean from nvme cli

I want to know about my nvme health: firstlove@chenli ~> sudo smartctl -A /dev/nvme0n1p3 smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.0.1-arch2-1] (local build) Copyright (C) 2002-22, Bruce Allen, ...
Chen Li's user avatar
  • 387
1 vote
1 answer
946 views

Clonezilla generates disk clone with wrong/unupdated UUIDs

[original question in https://stackoverflow.com/questions/73959107/clonezilla-generates-disk-clone-with-wrong-unupdated-uuids] I recently used clonezilla (disk-to-disk) - both stable and alternative ...
HX_unbanned's user avatar
0 votes
0 answers
415 views

what is the right way of mounting an ext4 formatted ssd or nvm?

I have mounted 2 external disks like this shown below (in fstab) UUID=e3831bf2-d85d-459f-8091-4af1d3c6ee41 /mnt/ssd ext4 defaults 0 1 UUID=38cebf19-8cea-40ce-9014-d6f2f9d884ac ...
Ciasto piekarz's user avatar
4 votes
0 answers
3k views

NVMe errors diagnostics

I would like to understand why I get the below mails about S.M.A.R.T. of my new NVMe drive. DMESG $ dmesg --ctime | grep -i nvm [Mon Aug 8 10:48:31 2022] nvme nvme0: pci function 0000:3d:00.0 [Mon ...
Vlastimil Burián's user avatar