Questions tagged [nvme]

NVMe is a communications interface/protocol developed specially for SSDs (Solid State Drives).

NVME, which stands for Non-Volatile Memory Express, is a specification developed specifically for accessing high-bandwidth SSDs over the PCI Experess bus.

The SATA bus, which was designed primarily for HDDs, became increasingly inadequate for SSDs as they became faster and faster with each subsequent release. Thus, NVME was born.

More information can be found at: https://en.wikipedia.org/wiki/NVM_Express

292 questions
26
votes
6 answers

Unable to install GRUB in /dev/nvme

I booted from a live usb and installed 15.10 but at the end of the installation process, I get an error: Unable to install GRUB in /dev/nvme. Next, it gives the option to change where the bootloader is installed but on pressing OK at this point,…
JakeP
  • 363
25
votes
3 answers

How can I check the NVME specs

How can I check the specs of the installed NVME other than lshw which only shows the brand. I am looking to know the model and voltage/power. Moreover, is there anything one should know before buying a new one to replace another (e.g. like SSDs,…
user10853
  • 1,626
23
votes
4 answers

How to check serial number of NVMe disk?

How to check serial number of NVMe disk? To check serial number for sda and sdb I used: sudo lsblk --raw -o name,type,serial However it does not work for NVMe disks (nvme0n0, nvme0n1 etc). No information about serial number is provided.
Hash Doe
  • 369
21
votes
1 answer

"initramfs" error on boot ONLY on Dell XPS 13 (boots fine on other computer)

Been struggling with this for a few days now. I am an absolutely green and non-technical Ubuntu user (I like it for it's lightweight/malware-free nature). I repaired a hinge in the laptop that necessitated disconnecting the laptop from the battery…
Kevin
  • 621
18
votes
4 answers

How do I setup a self-encrypting Opal 2.0 SSD?

I have a fresh install of Ubuntu 18.04.1 on a Lenovo ThinkPad L480 with an Opal 2.0 compatible NVMe SSD inside. As far as I understand, the drive is always encrypted, but I need to set a password so that the encrytion key itself is also…
16
votes
4 answers

How to *secure erase* a NVMe SSD

Since SSD has write amplification, I want to reset the SSD to the initial out-of-box performance. Most tutorials are for SATA SSD (hdparm --secure-erase), I want to know how to erase a partition of NVMe SSD (maybe use nvme command?). One more…
Tim He
  • 331
10
votes
0 answers

Why are writes on an NVME slower under Linux than under Windows?

I am using a 970 EVO 1TB NVME SSD (2500MB/s SLC-Cached (1200MB/s TLC)) and a MX300 SATA SSD in my system. After running some benchmarks I realized that the NVME SSD is not as fast as I hoped it would be. According to the gnome disk benchmark I get…
HennyKo
  • 201
  • 2
  • 6
9
votes
1 answer

How to know if my NVMe SSD needs TRIM

Running Ubuntu 22.04 on my main laptop. I am using 4TB TEAMGROUP MP34 NVMe as my main drive. The file system is ext4. Yesterday (Nov 16), while downloading some large files (about 300 files, 600GB total), suddenly my laptop started acting weirdly.…
sotirov
  • 4,379
9
votes
3 answers

After Ubuntu 22.04 upgrade NTFS is read only problem?

I have a NTFS partition. Before upgrading to Ubuntu 22.04, it was working perfectly and I could read/write/delete files with no problem. However, after upgrading I can only read the disk and it says that it is a fuse filesystem, as you can see in…
9
votes
0 answers

SSD slow write speed on Ubuntu

I installed Samsung nvme 960 ssd on my laptop a few days ago which has max write speed up to 1500MB/s. Performance improved greatly but writing speed max at 600MB/s when I test benchmark with Disk software. First I thought reason of slow write speed…
Julash
  • 91
8
votes
6 answers

identify M.2 SSD from BASH Script

I am writing an installation automation BASH script. I'd like to install the nvme-cli package only if an NVMe SSD is actually present. I couldn't find a simple way to query the hardware (say, using lshw) to get a kind-of-yes-or-no answer. Any of you…
Pinguinim
  • 1,498
7
votes
2 answers

Very poor NVME performance

I first installed Windows and ran a benchmark on the samsung 950 Pro, and saw 2700 MBps read speed. I did this to confirm that the motherboard could use the full x4 lanes with NVME on the boot device. In ubuntu, I'm seeing write speeds of…
tbenst
  • 171
7
votes
2 answers

New USB NVMe drive does not show up in lsblk, dmesg says 'Unit Not Ready', Any Suggestions?

I've got a Brand New ORICO TCM3-C3 NVMe M.2 SSD enclosure which I am using with a WD Blue WDS500G2B0B-00YS70 500Gb NVMe ssd (also new) When I plug it in I get the usual ping of a USB device being recognised but when I run lsblk of sudo fdisk -l It…
6
votes
2 answers

NVMe Error Log Increases but not further information is given

Since a few days I get the hard disk health warning that the error log increased from X to Y (see code below). The error log increases after every reboot of the notebook or wake from hibernation. Since this error occurs the hard disk gets…
6
votes
1 answer

Mounting a drive is chaotic with the two NVMe SSD drives

My new computer has two NVMe SSD chips. Both are on the motherboard (no PCIe cards involved). On one of them there's the operating system and the other is for large data storage. For that, I wrote this on /etc/fstab: /dev/nvme1n1p1 /mnt/data …
1
2 3
19 20