Block device-ok listázása fájlrendszerrel és mount pointtal együtt hierarchikusan.
sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 512M 0 part /target/boot └─sda2 8:2 0 465.3G 0 part └─crypt_my 252:0 0 465.3G 0 crypt ├─my-root 252:1 0 50G 0 lvm /target ├─my-swap 252:2 0 4G 0 lvm [SWAP] └─my-datastore 252:3 0 400G 0 lvm sdb 8:16 1 3.8G 0 disk /cdrom ├─sdb1 8:17 1 1.2G 0 part └─sdb2 8:18 1 2.3M 0 part sr0 11:0 1 1024M 0 rom loop0 7:0 0 1.1G 1 loop /rofs
lsblk -e 7,11 -o 'name,size,partlabel,label,phy-sec,log-sec,model,serial,ro,rm,rota'
NAME SIZE PARTLABEL LABEL PHY-SEC LOG-SEC MODEL SERIAL RO RM ROTA sda 931.5G data_pool 512 512 WDC_WD1005FBYZ-01YCBB2 WD-WMC6M0D0NFEE 0 0 1 └─sda1 931.5G data-1 data_pool 512 512 0 0 1 sdb 931.5G data_pool 512 512 WDC_WD1005FBYZ-01YCBB2 WD-WMC6N0L2TXDR 0 0 1 └─sdb1 931.5G data-2 data_pool 512 512 0 0 1 sdc 5.5T backup_pool 4096 512 WDC_WD60EZAZ-00SF3B0 WD-WX22D51FH5N3 0 0 1 └─sdc1 5.5T backup-1 backup_pool 4096 512 0 0 1 sdd 5.5T backup_pool 4096 512 WDC_WD60EZAZ-00SF3B0 WD-WX42D611KJ3K 0 0 1 └─sdd1 5.5T backup-2 backup_pool 4096 512 0 0 1 nvme0n1 232.9G 512 512 Samsung SSD 970 EVO Plus 250GB S4EUNX0R937831T 0 0 0 ├─nvme0n1p1 100G data-l2arc-1 512 512 0 0 0 ├─nvme0n1p2 20G data-slog-1 data_pool 512 512 0 0 0 ├─nvme0n1p3 20G backup-l2arc-1 512 512 0 0 0 └─nvme0n1p4 10G backup-slog-1 backup_pool 512 512 0 0 0 nvme1n1 232.9G 512 512 Samsung SSD 970 EVO Plus 250GB S4EUNX0R937938H 0 0 0 ├─nvme1n1p1 100G data-l2arc-2 512 512 0 0 0 ├─nvme1n1p2 20G data-slog-2 data_pool 512 512 0 0 0 ├─nvme1n1p3 20G backup-l2arc-2 512 512 0 0 0 └─nvme1n1p4 10G backup-slog-2 backup_pool 512 512 0 0 0 nvme2n1 232.9G 512 512 Samsung SSD 970 EVO 250GB S465NB0K456380T 0 0 0 ├─nvme2n1p1 512M efi EFI 512 512 0 0 0 ├─nvme2n1p2 512M boot boot 512 512 0 0 0 └─nvme2n1p3 210G main 512 512 0 0 0 ├─foo_server_main-root 20G root 512 512 0 0 0 ├─foo_server_main-swap 4G 512 512 0 0 0 └─foo_server_main-system 1 50G system 512 512 0 0 0