[root@server ~]# xfs_growfs /dev/new/new_box
xfs_growfs: /dev/new/new_box is not a mounted XFS filesystem
说我的文件系统并不是xfs文件系统
使用df -hT 查看磁盘
[root@server ~]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/new-new_box xfs 7.0G 33M 7.0G 1% /new_room
发现我就是xfs文件系统
百度发现
可能分区已经不存在了,需要重新再次格式化才可以
umount /new_room
#取消挂载
mkfs.xfs -f /dev/new/new_box
#重新格式化文件系统
mount /dev/new/new_box /new_room/
#重新挂载
df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/new-new_box xfs 1014M 33M 982M 4% /new_room、