缩小lvm卷
LVM Resize
收缩root卷
vgchange -a y收缩非root卷
非root卷/dev/mapper/fedora-home 165G 119G 39G 76% /home$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/fedora/home
LV Name home
VG Name fedora
LV UUID MMkPEv-s16T-OGme-bndz-wwge-qcDr-CipZqW
LV Write Access read/write
LV Creation host, time DevStudio, 2017-10-18 16:31:25 +0800
LV Status available
# open 1
LV Size 168.25 GiB
Current LE 43073
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Path /dev/fedora/swap
LV Name swap
VG Name fedora
LV UUID 6gTE0r-9MZr-nv4v-NMkG-UhKV-aks3-SjuNhg
LV Write Access read/write
LV Creation host, time DevStudio, 2017-10-18 16:31:27 +0800
LV Status available
# open 2
LV Size <7.86 GiB
Current LE 2011
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1参考
Last updated