Linux Format

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.

More from Linux Format

Linux Format5 min read
Some Ansible Advice For Around The Home!
Of late, this writer has been busy creating new virtual hosts for different things and decided that it would be an ideal time to get stuck into Ansible. Things have evolved in system management since Bash. Ansible is a great way to deploy software c
Linux Format14 min read
Ubuntu at 20
Without Ubuntu, the current Linux landscape would be unrecognisable. Back in October 2004, the first 4.10 (2004.10) release of Ubuntu, with its intriguing Warty Warthog code name, leapt from obscurity to being one of the most downloaded Linux distrib
Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o

Related Books & Audiobooks