When a directory is filled, it is necessary to continue its expansion work, or where all the services are not available.
Ideas:
将一个闲置盘进行空间缩减,并将新的磁盘分区扩充到需要空间的盘上,
Uninstall / home partition and the partition compression
Tip target busy unloading, use fuser -m / home or lsof command to view current operations are those operations that jam unloading mount disk,
identify processes that are currently occupied disk, kill off.
umount /home
Compression partition
Confirm that the destination directory of the file system type
cat / etc / fatab
xfs file system expansion tool must be installed xfsdump
yum -y install xfsdump -y
Free disk space is reduced to the specified size
lvreduce -L 100G /dev/mapper/centos-home
Increased root directory
lvextend -l + 100% FREE / dev / target directory
which is added to the spare hard deposit on the target directory
Extension / directory space
xfs_growfs / dev / target directory
Remount home
mount / home
says you can not read superblock.
You need to be formatted to mount, so when reduced home partition remember to backup content
mkfs.xfs -f / dev / home
and then remount.