Answers
Q Where is sda?
I recently bought an Intel NUC computer running Ubuntu_20.04. The Disks utility, or df -h shows /dev/ nvme0n1p2 as the volume where I expected /dev/hda. Otherwise things are normal. Could you advise me if I need to do anything?
Mike Jones
A The short answer is that you don’t need to do anything – this is quite normal. In Linux, disk devices are named according to the interface through which they’re connected. In the days of IDE drives this was indeed /dev/hda,b,c. SATA drives used /dev/sda, and in fact IDE drives – if you could find one – now also show up as /dev/sd* because they use the SATA code.
However, SATA is, for want of a better phrase, old hat and we have a new drive interface. The physical interface is M.2, which looks a little like a mini-PCI interface. While it can be used for many things, the most popular use is to connect SSD cards. There are then two types of logical interface between the M.2 connector and the SSD drive. One is AHCI, the default SATA interface.
The M.2 drive in my laptop uses this and so the disk appears as /dev/sda. This is a highly compatible way of communicating with the drive. Everything has supported AHCI/SATA for years; however, it’s limited to SATA speeds. The other type of logical interface is NVM
You’re reading a preview, subscribe to read more.
Start your free 30 days