Questions tagged [nvme]

The tag has no usage guidance.

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

Why a Unix socket file in tmpfs can be found but in devtmpfs cannot?

I used SPDK to create a Unix socket file and provided it to QEMU. When my file is placed in the /dev/shm or /run/spdk directory, there is no problem. But if it is placed in the /dev/ or /dev/spdk ...
0
votes
0answers
30 views

NVMe performance hit when using LUKS encryption

I'm running all the commands on the Proxmox host, when I LUKS encrypt a disk I get about a 28% hit in read speeds and 66% hit in write speeds. I have aes-ni enabled and I should be getting good enough ...
0
votes
0answers
22 views

NVMe devices in a readonly or readwrite mode

I have recently started using NVMe devices for Linux which are exposed through SAN. I am trying to find out if the device is readonly without doing any IOs to it. The underlying device in Storage goes ...
1
vote
0answers
13 views

How do I set up a software raid when using NVMe drives?

I'm currently trying to set up a software RAID1 on a machine that uses Ubuntu 20.04 with UEFI as the drives are running over NVMe. I've tried to just manually copy the EFI partition over to the second ...
1
vote
1answer
87 views

clarifying nvme apst problems for linux

I have experienced an issue nearly identical to one described in the askubuntu community. Like that of the user who posted this issue, my system features a Kingston NVME disk, and as with that user, ...
0
votes
1answer
18 views

What makes completion latency various in Fio benchmark with NVMe SSD?

I'm trying to figure out the completion latency of fio benchmark with NVMe SSD. I made following fio script to test benchmark in fio. I used following options. rw=read, ioengine=sync, direct=1 So, I ...
0
votes
0answers
10 views

failed to rescan namespace

When using nvme-cli to format nvme, I got: Success formatting namespace:1 failed to rescane namespaces What's the problem?
0
votes
0answers
56 views

btrfs performance comparison: ssd with compression vs hdd without compression

Has anyone done any r/w performance comparisons using btrfs with compression enabled on an M.2 nvme ssd vs uncompressed hdd?
2
votes
1answer
19 views

What is the meaning of synchronous and asynchronous requests in Linux Kyber I/O Scheduler?

While studying I/O Schedulers, I've read some documents for I/O Schedulers in Linux Kernel. Especially for Kyber Scheduler, there are some confusing things. In the articles in following link ( https://...
0
votes
0answers
32 views

Using ftrace in linux to understand nvme linux driver

I am new to linux. I am trying to use ftrace to understand linux nvme driver code flow. Based on articles in net, once my nvme device is mounted, I am issuing following commands to get the trace cd /...
1
vote
0answers
455 views

NVME SSD performance slow on Linux

Why is my sequential read speed so (comparatively) slow? While CrystalDiskMark on Win10 reports around 5GB/s (for reading as well as writing), I just do not get close to that performance on Linux. (A ...
0
votes
0answers
26 views

CentOS on NVMe ssd cannot boot with hfi1 errors

I install CentOS 8 on NVMe with standard or LVM partition. But while booting, the system may freeze or go into emergency mode after popup some hfi1 errors: "Config bitmap uninitialized", "Missing ...
0
votes
1answer
181 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
190 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
523 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
298 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 ...
4
votes
1answer
683 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
892 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
2k 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
88 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
134 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
1k 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 ...
3
votes
1answer
409 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
1k 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
604 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: ...
23
votes
1answer
8k 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
2k 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
3k 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
639 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
3k 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
147 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
446 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
119 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
5k 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
127 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 ...
5
votes
2answers
8k 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
2k 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
1k 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
634 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
3k 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
1k 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:00 ...
0
votes
0answers
255 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
1k 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
4k 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
259 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
112 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
306 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
472 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 ...