How To Locate Attached Disk Devices in Linux

Published Date Author: , Posted April 24th, 2018 at 11:11:40am

https://linux.die.net/man/8/lsblk
# lsblk -a

1
2
3
4
5
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
nvme1n1       259:0    0  100G  0 disk /volumes/data
nvme0n1       259:1    0   20G  0 disk 
├─nvme0n1p1   259:2    0   20G  0 part /
└─nvme0n1p128 259:3    0    1M  0 part 
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
nvme1n1       259:0    0  100G  0 disk /volumes/data
nvme0n1       259:1    0   20G  0 disk 
├─nvme0n1p1   259:2    0   20G  0 part /
└─nvme0n1p128 259:3    0    1M  0 part 

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.