W dniu 21.08.2021 o 16:18, George from the tribe pisze:
Hey...
I just got a new laptop, and I am in the process of setting up opensuse on it. For the moment it has tumbleweed, but I plan to set it up with 15.3.
One thing I noticed is that the new hard drive nomenclature, or whatever you should call it, is different from what I am used to in the past. In the past the drives would be /dev/sda, /dev/sdb, etc.
In this one, if I plug in a USB stick, the drive letter is /dev/sda. However, the NVMe SDD that I put in it was given the designation /dev/nvme0n1, with each partition being /dev/nvme0n1p1, /dev/nvme0n1p2, etc.
This is the first time I have had an NVMe SSD, but when I set up the partitions for the install, I didn't know that it would give it these kinds of letters.
I am just curious as to what the reason was behind the decision to change the way drives are designated if they are NVMe, and if any other changes like that have been made?
Long answer: https://zonedstorage.io/introduction/zns/ Short answer: NVMe allows systems to use the drive in a more direct way, than old SSD drives did. One of new features are "namespaces", which allow to divide the drive into separate regions, where each namespace has it's own management of flash blocks. In the most simple (and default) case, the disk is a single namespace, used like a normal disk, with partition table. Summarizing: /dev/nvme0 represents first (zeroth?) device and allows to configure namespaces on it, /dev/nvme0n1 is a first namespace, /dev/nvme0n1p1 is a first partition.