报错信息
Error Summary
-------------
Disk Requirements:
At least 151MB more space needed on the / filesystem.
分析
目录 /
空间不足
查看根目录挂载点及空间情况:
~# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 394M 0 394M 0% /dev
tmpfs 410M 0 410M 0% /dev/shm
tmpfs 410M 5.6M 404M 2% /run
tmpfs 410M 0 410M 0% /sys/fs/cgroup
/dev/mapper/cl-root 6.2G 5.9G 305M 96% /
/dev/sda1 976M 184M 725M 21% /boot
tmpfs 82M 0 82M 0% /run/user/1000
发现文件系统/dev/mapper/cl-root
空间使用率已经达到96%
继续查看其对应的逻辑卷 logic volume 信息:
~# lvdisplay
--- Logical volume ---
LV Path /dev/cl/swap
LV Name swap
VG Name cl
LV UUID oaDRdv-8uDU-eS4S-E5Hq-YWmU-zdMw-I1hSiI
LV Write Access read/write
LV Creation host, time localhost, 2020-11-26 10:35:37 +0800
LV Status available
# open 2
LV Size 820.00 MiB
Current LE 205
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:1
--- Logical volume ---
LV Path /dev/cl/root
LV Name root
VG Name cl
LV UUID zoeKJp-Dfl3-Gj6x-Uaiz-Asqp-5cw2-IrfFhI
LV Write Access read/write
LV Creation host, time localhost, 2020-11-26 10:35:37 +0800
LV Status available
# open 1
LV Size <6.20 GiB
Current LE 1586
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:0
查看物理卷信息:
~# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name cl
PV Size