Questions tagged [nvme]
The nvme tag has no usage guidance.
82
questions
0
votes
0
answers
28
views
I’ve overwritten some Windows files with a Linux installation. Is recovery an option?
It’s about a movies' worth of footage and some other related project files, so fairly large. It was on a 1TB NVMe drive that I have installed ElementaryOS on. Was Windows 11 Home. Both 64 bit. Is ...
1
vote
0
answers
16
views
udev rules only running on first plug-in but not re-plug?
I'm not sure why udev rules only trigger on first plug-in of a USB3 NVME enclosure but not any follow-up plugins. If i run udevadm trigger then the rules run again as expected. The goal of the rules ...
1
vote
0
answers
12
views
NVMe hotswap / hotplug with linux and amd working?
Has someone got nvme hostwap/hotplug working on linux with amd? We use RS500A-E10-RS12U (ASUS) and hotplug / hotswap is not working. If I remove devices it wont disappear in lsblk and If I add devices ...
0
votes
1
answer
77
views
linux scsi: Unit Not Ready, Sense Key, Hardware Error
I have attached a USB device which is an enclosure for an NVMe M.2 storage unit. Both devices, the enclosure and the media, had been known to be in working order during their last use.
When I connect ...
0
votes
2
answers
35
views
How do I reference nvmeXnYpZ partitions?
I am trying to install NixOS on my MacBook following the manual (https://nixos.org/manual/nixos/stable/index.html#sec-installation-partitioning-formatting) and I am stuck at the partitioning/...
0
votes
0
answers
28
views
Running computations from SWAP without complete performance drop - Discussion on NVMe speeds and if they ever come in reach for RAM replacements
I have been setting up my Linux machine (currently pop-os) in several ways recently to upgrade my system to demands of specific data analysis done in R. In brief: The Data set I am working on is ...
0
votes
0
answers
166
views
What caused nvme QID timeout?
Sometimes I see the nvme error logs:
nvme nvme1: I/O 332 QID 1 timeout, aborting
nvme nvme1: Abort status: 0x0
nvme nvme1: I/O 332 QID 1 timeout, reset controller
nvme nvme1: I/O 0 QID 0 timeout, ...
0
votes
1
answer
42
views
Switching a M.2 NVMe card from ahci (SATA) driver to nvme driver on Linux
On a very old laptop (HP 9470m), I have a M.2 NVMe card (WD Blue™ SN550 NVMe™ SS) passing through a NVMe -> SATA converter card to connect to the laptop, as the laptop has no NVMe support. With a ...
1
vote
1
answer
152
views
fstrim: /: FITRIM ioctl failed: Structure needs cleaning
On my Debian sid with custom 5.17.0-rc1 kernel
installed on my new (< 1 month) SSD nvme WD SN850
my root partition is formatted as f2fs(v 1.14)
I get fstrim: /: FITRIM ioctl failed: Structure needs ...
0
votes
1
answer
391
views
Using GRUB to bootstrap Windows10 from a PCIe NVMe SSD
I have a computer about ten years old, and I would like to install a PCIe M.2 NVMe SSD in it. Unfortunately, the BIOS cannot boot from the SSD, because it doesn't know how to boot from a PCIe SSD. ...
2
votes
1
answer
111
views
How to understand the output of the nvme command?
To optimize performance of an SSD, the Arch wiki says to run nvme id-ns /dev/nvme0n1 and evaluate the output, specifically of the last lines starting with lbaf. If there's more than one lbaf entry, ...
1
vote
1
answer
631
views
How to check / change NVME HMB on Linux?
New DRAM-less NVME SSDs use a portion of the system memory as HMB (Host memory buffer).
How can I check / change NVME HMB on Linux?
(to verify it is working correctly or alter its behavior)
0
votes
1
answer
49
views
Recovering Data from 2 NVMe SSDs that Were Setup Using LVM
I have two 1TB NVMe SSDs that were setup using LVM in a manner where the two drives were combined to make up (roughly) one single 2TB logical volume.
The laptop that booted from these drives has been ...
1
vote
1
answer
172
views
Clonezilla: cannot have overlapping partitions
I am trying to image my Ubuntu disk using Clonezilla and it fails because I get an error saying:
error cannot have overlapping partitions
Below is how my disk is set up and the lsblkoutput:
NAME ...
2
votes
0
answers
291
views
Linux-image generates samsung nvme errors
After upgrade from kernel 5.10 to 5.14 and now to 5.15.3. There are errors increased in smart after every boot in Samsung 970 Evo nvme disk (and most likely others Samsung's nvmes) like this one:
...
0
votes
1
answer
52
views
A bit of Bash help with my elif logic on my script
So what I have here is part of my script that is used to read the pcie lanes on the boards to help understand what NVMe's are up and running without having to manually check each drive.
This works for ...
0
votes
0
answers
19
views
grub2 and duplicated drives issue
My machine is an UEFI enabled ubuntu 20.04, with three partitions:
/dev/nvme0n1p1 boot (grub2+initrd+kernel)
/dev/nvme0n1p2 OS
/dev/nvme0n1p3 home
I'm in a situation, that from time to time I need to ...
0
votes
1
answer
42
views
How can I find out what Gen of NVME my machine supports?
Looking at Amazon there is Gen 3 NVME and Gen 4 NVME for sale. I don't see this even mentioned on the Wikipedia page for NVM Express. Is there a method to query what the system I am on supports?
1
vote
0
answers
373
views
What "nvme: missing or invalid SUBNQN field" means and how should I fix it?
I found this in my kernel logs:
kernel: nvme nvme0: missing or invalid SUBNQN field.
What does it mean and how should I fix it?
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
...
0
votes
0
answers
42
views
nvme list does not list UEFI installed NVMe drive
I have new SKHYNIX NVMe board. "nvme list" listed board OK. I installed Ubuntu on the board but had to use UEFI (:-P) to install Ubuntu 21.04. Now running "nvme list" shows ...
1
vote
0
answers
58
views
NVME slower on host than in VM
I first noticed some strange performance hits when I switched from Vagrant to Docker for my local development setup.
After investigating why my databases were slower in this new environment, I came to ...
0
votes
0
answers
163
views
Mount Optane NVMe SSD for data recovery
Environment:
MMMMMMMMMMMMMMMMMMMMMMMMMmds+. shawn@shawn-P67A-UD5-B3
MMm----::-://////////////oymNMd+` -----------------------
MMd /++ -sNMd: OS: Linux Mint 19.2 ...
0
votes
0
answers
919
views
NVME SSD not detected
I had to send my laptop to servicing, so I booted into live Fedora, and then I used ddrescue to backup the NVME SSD as an image to an external HDD. I did not do any tweaks to anything, just booted the ...
8
votes
1
answer
4k
views
How to evaluate the wear level of a NVMe SSD?
I have a laptop with NVMe SSD:
# nvme list
Node SN Model Namespace Usage Format FW Rev
---------------...
0
votes
1
answer
295
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
2
answers
160
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
0
answers
202
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
1
answer
140
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 ...
1
vote
0
answers
385
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 ...
1
vote
0
answers
26
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 ...
3
votes
1
answer
1k
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
1
answer
399
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
0
answers
114
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
0
answers
426
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 ...
4
votes
1
answer
4k
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 ...
1
vote
0
answers
237
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 ...
3
votes
1
answer
5k
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
1
answer
72
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 ...
1
vote
1
answer
916
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
1
answer
214
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://...
3
votes
0
answers
2k
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
1
answer
499
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
1
answer
346
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 ...
3
votes
1
answer
2k
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
3
answers
2k
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 ...
5
votes
1
answer
3k
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
0
answers
3k
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 ...
3
votes
1
answer
5k
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 ...
1
vote
0
answers
172
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
0
answers
210
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 ...