Questions tagged [nvme]
130 questions
37
votes
2 answers
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. IDE/SATA/SCSI drives normally only have a drive…
JeffFromOhio
- 473
- 1
- 4
- 6
16
votes
1 answer
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
---------------- --------------------…
Vlastimil Burián
- 27,586
- 56
- 179
- 309
14
votes
2 answers
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 (PCI Express), I get:
# hdparm -I…
user1902689
- 1,178
- 3
- 12
- 23
11
votes
3 answers
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.007954] nvme nvme0: pci function 0000:08:00.0
[ …
blakev
- 211
- 1
- 2
- 6
6
votes
1 answer
I don't see results of a self test of an SSD in smartctl
I want to test my SSD. It seems that I can start a self test with smartctl, but when I try to display test's results, I don't see anything.
My SDD's model is PNY CS3030 250GB SSD:
$ lsblk -d -o name,model /dev/nvme0n1
NAME MODEL
nvme0n1 PNY…
user983447
- 531
- 2
- 8
- 16
6
votes
1 answer
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
on /dev/nvme0n1, missing codepage or helper program,…
user3563894
- 163
- 1
- 6
6
votes
2 answers
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 reports a fail event and leaves the array…
treffner
- 61
- 1
- 5
5
votes
1 answer
Linux filesystems for code-compilation, which perform best?
For the purpose of compiling code on fast hard drives (NVME for example), is there a clear winner for code compilation or are the popular file systems roughly comparable? (EXT4, XFS, BTRFS, ZFS)?
I'd assume the efficiency gains from any compression…
ideasman42
- 1,091
- 1
- 10
- 23
5
votes
1 answer
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)
Microsoft Linux TM
- 1,596
- 5
- 16
- 26
5
votes
1 answer
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 performance from hardware acceleration so I…
milkyway
- 51
- 1
- 2
5
votes
1 answer
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 kernel and not a module.
I can mount the nmve…
p brown
- 51
- 1
- 3
4
votes
0 answers
NVMe errors diagnostics
I would like to understand why I get the below mails about S.M.A.R.T. of my new NVMe drive.
DMESG
$ dmesg --ctime | grep -i nvm
[Mon Aug 8 10:48:31 2022] nvme nvme0: pci function 0000:3d:00.0
[Mon Aug 8 10:48:31 2022] nvme nvme0: missing or…
Vlastimil Burián
- 27,586
- 56
- 179
- 309
4
votes
2 answers
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. This means that I must use SATA instead of PCIe,…
merendo07
- 41
- 1
- 3
4
votes
1 answer
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 finding a wealth of information, I've been able to…
user641699
- 41
- 2
4
votes
1 answer
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,
my issue resolved by adding the following kernel…
brainchild
- 330
- 2
- 16