Lsblk: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Linux Storage Info =Overview= Lists information about all available block devices, by reading sysfs file system. It prints informa...") |
|||
Line 2: | Line 2: | ||
* [[Linux Storage Info#lsblk|Linux Storage Info]] | * [[Linux Storage Info#lsblk|Linux Storage Info]] | ||
* [[Linux#Commands|Linux]] | |||
=Overview= | =Overview= |
Revision as of 19:58, 13 February 2018
Internal
Overview
Lists information about all available block devices, by reading sysfs file system. It prints information in a tree format:
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 253:0 0 7G 0 disk ├─vda1 253:1 0 1G 0 part /boot ├─vda2 253:2 0 717M 0 part └─vda3 253:3 0 5.3G 0 part / vdb 253:16 0 50G 0 disk └─vdb1 253:17 0 50G 0 part ├─docker_vg-container--thinpool_tmeta 252:0 0 52M 0 lvm │ └─docker_vg-container--thinpool 252:2 0 49.9G 0 lvm │ ├─docker-253:3-12968682-50df8bc05c6359c23387a5bb3f9b695f20a2caf245f53e3dbc730ba5ef47d0a9 252:4 0 10G 0 dm │ ├─docker-253:3-12968682-845da93ed6a7061ef046cc97babc54d59985c369a891dfc403eaa43d34310ca0 252:5 0 10G 0 dm │ ├─docker-253:3-12968682-72063806ac2e2d8055c9e38ad7b0481f32cea36b38f0fd404873f46cef0a66fb 252:7 0 10G 0 dm │ └─docker-253:3-12968682-7827556d545926857d669f5f9bb7fd69083e7e98636ff3f060d352223f4918ab 252:8 0 10G 0 dm └─docker_vg-container--thinpool_tdata 252:1 0 49.9G 0 lvm └─docker_vg-container--thinpool 252:2 0 49.9G 0 lvm ├─docker-253:3-12968682-50df8bc05c6359c23387a5bb3f9b695f20a2caf245f53e3dbc730ba5ef47d0a9 252:4 0 10G 0 dm ├─docker-253:3-12968682-845da93ed6a7061ef046cc97babc54d59985c369a891dfc403eaa43d34310ca0 252:5 0 10G 0 dm ├─docker-253:3-12968682-72063806ac2e2d8055c9e38ad7b0481f32cea36b38f0fd404873f46cef0a66fb 252:7 0 10G 0 dm └─docker-253:3-12968682-7827556d545926857d669f5f9bb7fd69083e7e98636ff3f060d352223f4918ab 252:8 0 10G 0 dm