Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Linux hardware - Ho...
 
Notifications
Clear all

[Solved] Linux hardware - How to determine what kind of SSD (M2 kind) your computer has

1 Posts
1 Users
0 Reactions
13 Views
 Hans
(@hans)
Famed Member Admin
Joined: 13 years ago
Posts: 3155
Topic starter   [#1583]

I always wonder what kind of SSD my computer has, especially when I haven't tinkered with the hardware for a while. Was it a NVME or SATA? What brand and model?

Linus has a simple command line that shows this:

lsblk -o NAME,SIZE,MODEL,TRAN

This will spit out a nice overview, something like this:

NAME                           SIZE MODEL               TRAN
nvme0n1                      953.9G Lexar SSD NM790 1TB nvme
├─nvme0n1p1                   1007K                     nvme
├─nvme0n1p2                      1G                     nvme
└─nvme0n1p3                  952.9G                     nvme
  ├─pve-swap                     8G                     
  ├─pve-root                   200G                     
  ├─pve-data_tmeta             6.5G                     
  │ └─pve-data-tpool           637G                     
  │   ├─pve-data               637G                     
  │   ├─pve-vm--301--disk--0     4G   
...      
  │   └─pve-vm--308--disk--0    16G                     
  └─pve-data_tdata             637G                     
    └─pve-data-tpool           637G                     
      ├─pve-data               637G                     
      ├─pve-vm--301--disk--0     4G    
...         
      └─pve-vm--308--disk--0    16G            

(removed some lines)

MODEL and TRAN give you brand, model and size, where as TRAN gives you the type.
In this example a 1Tb NVME SSD. 😊 

If the TRAN column lists "sata" then it would have been a SATA SSD.

Hope this is helpful to someone.



   
ReplyQuote
Share: