xuekun
给某个硬盘增加分区若不是xfs我们可以用resize2fs,这里报错了
 
[root@Mysql01-213-66 ~]# resize2fs -f /dev/mapper/vg_mysql0121366-LogVol01
resize2fs: Bad magic number in super-block while
 
df -h 查看容量也没有改变。
 
解决
[root@Mysql01-213-66 ~]# xfs_growfs /dev/mapper/vg_mysql0121366-LogVol01
 
再次查看df -h 容量已经显示正常。
 

 

 
 

相关文章:

  • 2021-10-19
  • 2021-11-11
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2021-09-30
  • 2022-02-28
  • 2021-09-30
相关资源
相似解决方案