리눅스 lsblk

Jmnote bot (토론 | 기여)님의 2024년 4월 2일 (화) 02:02 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

lsblk
/bin/lsblk
[root@zetawiki01 ~]# lsblk
NAME                        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
xvda                        202:0    0   100G  0 disk 
├─xvda1                     202:1    0   500M  0 part /boot
└─xvda2                     202:2    0  99.5G  0 part 
  ├─VolGroup-lv_root (dm-0) 253:0    0  47.5G  0 lvm  /
  ├─VolGroup-lv_swap (dm-1) 253:1    0   5.9G  0 lvm  [SWAP]
  └─VolGroup-lv_home (dm-2) 253:2    0  46.1G  0 lvm  /home
xvdb                        202:16   0    50G  0 disk /data
[root@zetawiki02 ~]# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda    253:0    0  100G  0 disk 
├─vda1 253:1    0  512M  0 part [SWAP]
└─vda2 253:2    0  9.5G  0 part /
vdb    253:16   0    1G  0 disk
root@zetawiki03:~# lsblk
NAME                           MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
vda                            253:0    0    40G  0 disk 
├─vda1                         253:1    0    94M  0 part /boot
└─vda2                         253:2    0  39.9G  0 part 
  ├─VolGroup00-LogVol00 (dm-0) 252:0    0  36.3G  0 lvm  /
  └─VolGroup00-LogVol01 (dm-1) 252:1    0   3.6G  0 lvm  [SWAP]
$ lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0   120G  0 disk 
├─sda1    8:1    0 115.8G  0 part /google/host/var/run/containerd/io.containerd.runtime.v2.task/k8s.io/b2bc4a548dd76d861f7531a95f73ee59848d611d54c95e24f31f91343e58bc44/rootfs/run/google/devshell
├─sda2    8:2    0    16M  0 part 
├─sda3    8:3    0     2G  0 part 
├─sda4    8:4    0    16M  0 part 
├─sda5    8:5    0     2G  0 part 
├─sda6    8:6    0   512B  0 part 
├─sda7    8:7    0   512B  0 part 
├─sda8    8:8    0    16M  0 part 
├─sda9    8:9    0   512B  0 part 
├─sda10   8:10   0   512B  0 part 
├─sda11   8:11   0     8M  0 part 
└─sda12   8:12   0    32M  0 part 
sdb       8:16   0     5G  0 disk 
└─sdb1    8:17   0     5G  0 part /google/host/var/run/containerd/io.containerd.runtime.v2.task/k8s.io/b2bc4a548dd76d861f7531a95f73ee59848d611d54c95e24f31f91343e58bc44/rootfs/home

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}