我尝试缩小一个逻辑卷时遇到问题.我采取了以下步骤显示的操作:
# unmount /home
# lvreduce --size -100G /dev/vg_dev/lv_home
# lvdisplay /dev/vg_dev/lv_home
--- Logical volume ---
LV Path /dev/vg_dev/lv_home
LV Name lv_home
VG Name vg_dev
LV UUID QOxrP3-nS36-nZTG-yL7e-sDi0-Wl9z-LXp4pJ
LV Write Access read/write
LV Creation host,time,LV Status available
# open 1
LV Size 197.98 GiB
Current LE 50683
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
# e2fsck -f /dev/vg_dev/lv_home
e2fsck 1.41.12 (17-May-2010)
The filesystem size (according to the superblock) is 78113792 blocks
The physical size of the device is 51899392 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort?
# resize2fs /dev/vg_dev/lv_home
resize2fs 1.41.12 (17-May-2010)
Please run 'e2fsck -f /dev/vg_dev/lv_home' first.
我根本无法安装逻辑卷,有人可以帮我解决这个问题吗?