Questions tagged [nvme]

The tag has no usage guidance.

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

Smartctl Message - NVME_IOCTL_ADMIN_CMD: Bad address

I am trying to check certain specifications of a hard drive on a computer with no operating system installed. I am using a Knoppix bootable disk (v8.6.1) to run a bash script with the line smartctl -...
-1
votes
1answer
82 views

Does Linux 3.1 support Intel Optane?

Does Arch Linux kernel 3.1 support Intel Optane? It boots in my system on SATA. Is there Intel Optane on SATA? Or does Linux 3.1 support any other Optane interface (like NVMe)? It is a digital music ...
1
vote
1answer
76 views

How to switch from NVMe to AHCI

I am a beginner and I know that NVMe is new and has advantages over AHCI for SSDs. But, I have one small question? A SATA SSD can talk both AHCI and NVMe and the OS also has drivers for both NVMe ...
-1
votes
3answers
65 views

NVMe Performance not all that good

Just got this Team Force Cardea Zero NVMe PCIe Gen4 drive. It's performance isn't what was promised. They claim write speeds of 4,400 but I am only seeing 1,500 $ dd if=/dev/zero of=/tmp/test2.img ...
2
votes
1answer
157 views

mount with umask does not works

I tried to run mount /home/user/nvme0n1 -U 8da513ec-20ce-4a2d-863d-978b60089ad3 -t ext4 -o umask=0000 and the response is: mount: /home/user/nvme0n1: wrong fs type, bad option, bad superblock ...
1
vote
0answers
286 views

Nvme not showing up in /dev on Ubuntu 19.04 (5.0.0-13)

I have an Ubuntu 19.04 on a machine with an nvme drive. However, the drive is not found in /dev/nvme*. cat /proc/devices shows that nvme is loaded as a character device and not a block device and ...
1
vote
1answer
774 views

Wrong sector size in NVMe

I bought a new NVMe SSD (SB-ROCKET-256) and installed Arch using gdisk for partioning. In theory, this SSD doesn't support 512e and I think the physical size should be 4096, am I wrong? How do I set ...
0
votes
0answers
54 views

NVME timeout, aborting when playing games

When playing certain games the game will hang and a whole bunch of NVME errors followed by BTRFS errors will be dumped to dmesg. The end result of this is the filesystem being mounted as read only ...
0
votes
0answers
96 views

ext4-fs and IO errors with Samsung 960 pro 512 GB on linux mint 18.3

So my pc began failing last week giving me ext4-fs and IO errors, after like 1 year using the ssd without hiccups. I have a Samsung 960 pro 512GB. I searched around and found that some people got ...
4
votes
1answer
681 views

Operation Not Supported Error Mounting NVME Drive on Arch Install

I'm trying to install Arch on a Dell XPS 15 9560. I've used nomodeset to make the text legible (otherwise it's tiny on the integrated 4k monitor) and pcie_aspm=off to stop the slew of pci bus errors ...
0
votes
0answers
175 views

How to increase memory granted to nvme host memory buffer?

I see there is a max_host_mem_size_mb parameter that would allow me to forcibly limit the allocated memory, but how could I give more memory to an nvme drive without DRAM than what it tries to ...
2
votes
1answer
211 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
940 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
466 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: ...
20
votes
1answer
5k 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
911 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
2k 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
564 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 ...
1
vote
1answer
1k 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
1answer
117 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
3k 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
329 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
82 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 ...
4
votes
1answer
4k 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
118 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 ...
4
votes
2answers
5k 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
1k 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
994 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
447 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
vote
1answer
2k 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
967 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
207 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
794 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
3k 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
212 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
109 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
255 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
395 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
2k 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
1k 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
8k 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
4k 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 ...