Questions tagged [nvme]

The tag has no usage guidance.

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

NVMe RAID 0 for a Linux install? Is it possible?

I'm trying to install Pop! OS on a raid0 of two M.2 drives, but it simply doesn't see the "drive". And Ubuntu says Intel RST should be disabled. Some sources recommend switching to AHCI mode,...
0
votes
1answer
30 views

Slow /dev/zero format using dd with nvme to prepare crypto, is there nvme specific tool?

I try to prepare an nvme for encryption, so i first follow this post on SO. But the speed of dd is really really slow (less than 100 mb/s). I see there is new option to speed up dm-crypt on kernel 5.9 ...
0
votes
2answers
28 views

How do I get a self encrypting NVMe SSD partition to show up in /dev after unlocking it?

I've been spending some time working with self encrypting SSDs recently, and I am stuck on how to access drive contents after I've unlocked it. Normally with this drive, you would load a Preboot ...
0
votes
0answers
34 views

PCIe NVMe SSD only found by BIOS after warm boot

I was recently given a Dell Latitude 5511 laptop with pre-installed Windows 10. I chose to replace Windows with Ubuntu 20.04 by letting Ubuntu install on the entire PCIe NVMe SSD (PC611 NVMe SK hynix ...
0
votes
0answers
22 views

Ubuntu SSD Disk NVMe Portable

I am using a USB flash drive with ubuntu 20.04 LTS. I made it with Rufus and a persistent file storage up to 50 GB. I use it for scientific programming. This is always a try ubuntu boot... I intend to ...
0
votes
0answers
60 views

How to boot to nvme and install grub to external drive?

I have one SSD and two NVME. My old motherboard does not detect the NVME to boot it. I tried to install the system and the boot in the NVME, but it was not detected by CLOVER (https://github.com/...
0
votes
1answer
24 views

CPU bounded I/O performance issue with NVMe drive on Linux

I have an NVIDIA Jetson TX2 system with an NVMe drive with pcie gen2 x4 speed. The system is running a Linux 4.9 kernel, and I am experiencing issues with write performance. My aim is to write ...
0
votes
0answers
34 views

How to diagnose possibly dead nVME drive?

My m.2 nVME drive died after some weird issues when running my Ubuntu machine (after running fine for three years). I rarely use the machine due to my time spent on my work laptop, so I was surprised ...
0
votes
0answers
56 views

Extremely poor performance for ZFS 4k randwrite on NVMe compared to XFS?

I've been a fan of ZFS for a long time and I use it on my home NAS, but in testing its viability for production workloads I've found that its performance is inconceivably bad compared with XFS on the ...
0
votes
0answers
6 views

Cp / to nvme ssd booting into emergency mode

Objective: Move / partition from one ssd to a nvme ssd. I was able to copy the data from the ssd to nvme ssd but when I reboot into kernel with root=/dev/(the nvme VG) /root I end up in emergency mode....
1
vote
0answers
12 views

Timeout Error while using Command Queue

I am new to command queue mechanism in Linux. I am using the following: Kernel Tree: git clone https://android.googlesource.com/kernel/msm Kernel Ver: 4.9.96 While doing read/write I observe a timeout ...
0
votes
0answers
21 views

Wanted: Nvme Drivers Loaded To Transfer / to nvmeVg-root

Objective: To get nvme drivers loaded before / loads so that I can move / to the new pci-ssd nvmeVg-root. This is a production server. Backups are done. I am using kernel 3.10.0.1160.11.1.e17x86_64. ...
3
votes
1answer
123 views

grub command after fresh install of 20.04 focal alongside Win10 on NVMe drive

I have a Windows 10 install on an NVMe drive. I've installed Ubuntu 20.04 and all installed smoothly, until the first boot. I was greeted with a grub prompt. grub> After searching the forums and ...
0
votes
1answer
93 views

mkfs.ext4 crash with with nvme

I just bought an NVME Team group MP33 SSD hard drive. When I format the partition with NTFS or FAT32 it works fine but when I try to format the root partition with ext4, my computer crashes for two to ...
0
votes
0answers
14 views

Unable to install KDE Neon 20.04 on SSD on an HP ENVY x360 15-cn0xxx

I've always had this problem on this computer. When I bought it, it came with Windows 10 installed on the 224 GB SSD drive, but I wanted to have Kubuntu on it. I couldn't figure out how to do it and I ...
0
votes
0answers
77 views

I think my CPU is returning wrong temperatures

My Ubuntu 20 is freezing here and there since I changed my disk to a NVMe SSD. While debugging for kernel logs I noticed these errors: [sex dez 4 11:34:55 2020] mce: CPU9: Package temperature above ...
0
votes
0answers
164 views

Understanding “Laying out IO file” in fio

I am trying to understand what really happens when in the "Laying out IO file". I have btrfs installed on a raw block device and whenever I run fio with the following configuration, I see ...
0
votes
0answers
69 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 ...
2
votes
1answer
863 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
69 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
138 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 ...
2
votes
1answer
2k 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
37 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
17 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
1answer
275 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
80 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
123 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 /...
3
votes
0answers
1k 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
1answer
303 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
267 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 ...
2
votes
1answer
1k 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 ...
0
votes
3answers
1k 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
1k 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
2k 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 ...
2
votes
1answer
3k 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
135 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
157 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
2k 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
613 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
742 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: ...
29
votes
1answer
11k 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....
4
votes
1answer
3k 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
777 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
4k 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
190 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
4k 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: ...
3
votes
1answer
545 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
172 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 ...