centos8 xfs_growfs 无效,求解~~?
centos吧
全部回复
仅看楼主
level 1
7-X 楼主
2019年10月17日 03点10分 1
level 1
/dev/mapper/cl_linuxprobe-root
2019年10月17日 04点10分 2
7-X

2019年10月17日 06点10分
level 1
7-X 楼主
一样的,他们两个都是一个链接文件,都指向 dm-0这个块文件
2019年10月17日 06点10分 3
level 1
楼主解决了吗,前几天也碰到,还没找到解决办法,没道理lvm不能扩的
2019年10月18日 09点10分 4
level 1
之前扩容的时候失败,我是用虚拟机的,然后我直接把硬盘取消抽掉,系统重启挂掉起不来,第二次把lv缩小空间可以,重启系统也挂掉。做个提醒在这里
2019年10月18日 09点10分 5
level 1
要用挂载点的名称 xfs_growfs /
2019年10月29日 08点10分 6
嗯嗯,感谢解惑
2019年10月29日 09点10分
有用
2020年01月10日 06点01分
level 1
后面那个换成挂载点,如挂载成/,就执行xfs_growfs /即可
2019年11月11日 08点11分 7
level 1
在centos8中使用 xfs_growfs 命令在线调整xfs格式文件系统大小出错:
[root@localhost ~]# xfs_growfs /dev/mapper/ centos-root
xfs_growfs: /dev/mapper/ centos-root is not a mounted XFS filesystem
要采用挂载点:xfs_growfs /
成功在线调整xfs格式文件系统大小。
[root@localhost ~]# xfs_growfs /
meta-data=/dev/mapper/centos-root isize=256 agcount=4, agsize=3141632 blks
= sectsz=512 attr=2, projid32bit=1
= crc=0 finobt=0
data = bsize=4096 blocks=12566528, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
log =internal bsize=4096 blocks=6136, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 12566528 to 20428800
2020年03月28日 13点03分 9
level 12
xfs只能扩,不能减,测试过
2020年03月28日 23点03分 10
1