How to list every hard drive and solid state drive connected to the computer in Linux

Home > Search > How-to
  by

The lsblk (list blocks) command can be used to list every hard drive and solid state drive connected to the computer in Linux. If Linux is a virtual machine running on top of a hypervisor such as VMWare or a virtual machine manager such as Oracle's VirtualBox, some of the hard drives and solid state drives connected to the computer may not show when running the lsblk command in Linux, because the hypervisor or virtual machine manager may not be configured to map the some of the hard drives and solid state drives to the Linux virtual machine. A hypervisor or virtual machine manager does not allow you to attach an already existing filesystem on a drive to a virtual machine. A hypervisor or virtual machine manager will only be able to create a new, empty virtual filesystem. 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments