修复分区

0

# 格式查看
parted -l
df -Th

# 卸载
umount /data

# 修复分区
fsck /dev/mapper/centos-home
fsck.ext4 /dev/mapper/centos-home
xfs_repair -L /dev/mapper/centos-home

# 重新挂载
mount /dev/mapper/centos-home /data
ls: 无法访问/data: 输入/输出错误
mount: 将 /dev/mapper/centos-home 挂载到 /data 失败: 结构需要清理