Questions tagged [nvme]

The tag has no usage guidance.

2
votes
1answer
23 views

What's the difference between namespace size and namespace capacity?

Using nvme-create-ns, we can assign namespace size and namespace capacity; what's the difference? Is it necessary to do this before using a NVMe SSD?
1
vote
0answers
30 views

Can't launch CentOS 7.6 installer if PC has M.2 NVMe PCIe SSD

A PC has a Toshiba 512 GB NVMe PCIe SSD. Windows 10 has been installed on it and boots OK. When trying to install CentOS 7.6 on this SSD, the system hangs during boot, and I can't enter the CentOS ...
0
votes
1answer
48 views

Unable to boot on gentoo: GRUB2 - xfs - NVME SSD

I am currently configuring gentoo on a new machine using an NVME 500Gb SSD. I reboot my computer, select the disk I want to boot off of, grub2 initializes, and then, the error I get is the following: ...
13
votes
1answer
562 views

What are nvme namespaces? How do they work?

I've recently begun supporting Linux installed on devices with built-in nvme ssds. I noticed the device files had an extra number, beyond a number identifying the drive number and the partition number....
3
votes
1answer
95 views

How to check/fix nvme health?

I'm running debian stable with a 2 x nvme Raid 1. Here is the hardware/hoster it's running on https://www.hetzner.com/dedicated-rootserver/ex62-nvme?country=us Almost every second day mdadm monitoring ...
0
votes
1answer
171 views

install Debian to NVMe SSD: unable to install GRUB in dummy [duplicate]

(Dell's) BIOS setting: SATA: AHCI Boot List Option: Legacy (default setting was UEFI) Legacy Option ROMs: Enable Attempt Legacy Boot: Disable installation media: USB drive patition: Guided - use ...
0
votes
1answer
162 views

Installing Manjaro 18 on HP Spectre NVMe SSD

I recently picked up this lovely laptop (HP Spectre X360 13), and want to install Manjaro on it. It has a Toshiba NVMe SSD (KXG50ZNV1T02). Seeing that this will be my first install of Linux onto an ...
0
votes
0answers
329 views

Update-grub detects windows 10 system on NVME drive. Cannot boot generated entry. Not UFI System

I have Ubuntu 18.04.2 LTS and grub 2 installed which boots from a sata SSD drive. This a BIOS system, not UEFI. I have restored Windows 10 to an nvme drive, and fixed its boot structure and drivers ...
0
votes
0answers
42 views

Only 1 out of 2 nvme same capacity ssds is detected on CentOS kernel 4.20 ml version

I have plugged 2 nvme pcie ssd of same capacity on to my dell server running CentOS 7.6 and kernel version 4.20-ml but only one gets detected all the time. While booting from kernel 4.20, an error: "...
0
votes
0answers
1k views

Installing GRUB on an nvme drive

I used a cloning app in windows to copy my partitions to the nvme but now I need to install a new bootloader as I am combining two drives into the one nvme. Partition Layout: Disk /dev/nvme0n1: ...
2
votes
0answers
91 views

I deleted the namespaces (NS) in my nvme ssd and ubuntu is not able to recognize the device

I had 2 namespaces (NS) in my nvme ssd (samsung) and deleted both to create just one but ubuntu is not able to recognize the device upon deleting. How do I recover the drive now? Command used to ...
0
votes
1answer
39 views

Find physical block device of root filesystem on an encrypted filesystem?

I'm running Arch Linux (systemd) on several systems. Some have SSD storage, others have nvme storage devices and some use rotational HDD's. Some systems use dm-crypt to encrypt the filesystem. All ...
3
votes
1answer
1k views

List features of NVMe drive (like hdparm -I for non-NVME)

With a non-NVMe drive, I can run: # hdparm -I /dev/whatever | grep TRIM Data Set Management TRIM supported (limit 8 block) Deterministic read data after TRIM With a Samsung 960 EVO 1TB NVMe drive (...
1
vote
0answers
95 views

Linux repeatedly scrambles portions of the filesystem on NVME

I have an NVME device holding the / ext4 partition and a few extra partitions for other operating systems and /boot/efi. Repeatedly, the file system gets corrupted, to the point where the already ...
2
votes
1answer
2k views

NVMe: missing or invalid SUBNQN field

I cannot figure out how to get my NVMe disks recognized in a brand new system. No matter which distro I use, the dmesg output is the same: (Live CD) xubuntu@xubuntu:~$ dmesg | grep -i nvme [ 5....
1
vote
1answer
480 views

Changing a built-in kernel module parameter at booting time?

I am trying to change a parameter, called "sgl_threshold", in the nvme driver when booting into Ubuntu 16.04 running linux kernel v4.18-generic. It appears the nvme driver is actually built-in as it ...
0
votes
1answer
528 views

Why my Linux Mint 19 does not see my (Windows) NVMe drive?

Hardware: Dell Inspiron 15 Gaming 7577, model number 7577-92774. Question: Why my Linux Mint 19 does not see my (Windows) NVMe drive? I read on ArchWiki: The Linux NVMe driver is natively ...
1
vote
1answer
206 views

How to specify multiple schedulers on the kernel boot command line?

We have systems with both spinning mechanical disks, and NVME storage. We want to reduce the CPU overhead for IO by taking any IO scheduler out of the way. We want to specify this on the Linux boot ...
-1
votes
1answer
279 views

Can't boot, nvme AMD-Vi Page Fault [closed]

I'm running Pop!_OS 18.04 in dual boot with Windows 10 (UEFI). My specs are: Motherboard: Asus A320M-K CPU: AMD Ryzen 3 1200 GPU: Nvidia GTX 1050 The exact message is: nvme 0000:01:00.0: AMD-Vi: ...
1
vote
1answer
764 views

dd copy from an OS HDD to PCIe NVME SSD, SSD can't boot

Test 1: dd if=/dev/sdb of=/dev/sdc /dev/sdb is a bootable OS HDD, /dev/sdc is another HDD, after executed the above dd command, the /dev/sdc become bootable. Test 2: dd if=/dev/sdb of=/dev/sdc /...
2
votes
2answers
438 views

nvme fstrim causing crash on linux, disabling with systemctl doesn't help

I have a Linux (Ubuntu 18, kernel 4.15) desktop booting from an M2 nvme disk. Once a week, it will crash around midnight. The relevant log file output from /var/log/syslog.* is below: Jul 16 00:00:...
0
votes
0answers
145 views

find all block devices (hdds and ssds) using sysfs

Cant figure how to enumerate all physical disks, like hdds, ssds, NVMes and maybe flashdrives connected to machine and filter out all these loop devices, ram disks, cdrom and floppies. I've checked ...
1
vote
1answer
531 views

M.2 NVMe PCIe boot times much slower than old SATA SSD

I've used dd to clone my old SATA SSD into a new and larger NVMe model on a Dell XPS 9360 and switched the SATA Configuration from the original RAID On to AHCI to get it booting. It works, but the new ...
1
vote
1answer
2k views

How to increase nvme_core.io_timeout on my c5 EC2 instacnce

We have mesos cluster where we're running centos7 c5 instances on aws. The kernel version is the latest 4.16.1-1. In c5 instance type the volumes uses nvme drivers. The nvme volumes seems to have a ...
0
votes
0answers
147 views

How to setup nvmetcli for FC loopback mode?

I have a NVMe SSD, KC1000, from Kingston and a HBA, QLE2672 2-port 16Gb Fibre Channel Adapter, from QLogic and are installed on Linux kernel 4.16.6. Then I would like to set up a scenario which has ...
1
vote
0answers
98 views

NMVe SSD Fedora Throughput Tests too High

I am testing throughput of a Samsung 950 Pro SSD Card which uses NVMe protocol. My current method of testing is to mount a file system on a partition and write a file of size X bytes to the file ...
1
vote
1answer
163 views

Writing to NVMe Device File vs on Filesystem Mounted on Partition

I am currently trying to test read/write throughput to SSDs. These SSDs are read/written to via NVMe protocol. Currently, I am confused because I have seen two methods. The first is directly writing ...
0
votes
0answers
294 views

Wait to Mount Until Process Not Busy

I am writing/reading to an SSD over NVMe. I would like to unmounts the SSD partitions and remount them after writing and before reading so as to avoid caching problems. It seems when I try to perform ...
2
votes
2answers
1k views

How to enable Kyber scheduler in Ubuntu 17.10 kernel 4.13?

I was wondering how to enable Kyber scheduler in Ubuntu 17.10, which has kernel 4.13 by default. I got bfq enabled using the instructions from How to enable and use the BFQ scheduler?. When I navigate ...
1
vote
1answer
972 views

Custom kernel for void linux, could not boot, nvme drive

I'm trying to build the 4.13.2 kernel for void linux to get the Vega drivers and I can't get it to boot. Build process: cp /boot/config-4.12 .config yes "" | make oldconfig make nconfig Changed ...
1
vote
1answer
6k views

Smartmontools with NVMe support on CentOS 7

I've just set up CentOS 7 on a server with NVMe drives, and was suprised not to be able to run smartctl on them: # smartctl -a /dev/nvme0 /dev/nvme0: Unable to detect device type Please specify ...
4
votes
1answer
3k views

root filesystem on NVMe device

I have an Intel 750 NVMe drive. Works fine. Well.. sort of. I would like to use this device as my root file system. I have no bios support for NVMe devices. I have the nvme driver enabled in the ...