问题:

/home空间容量不够使用,扩容卷组,扩容挂载点

方法:

1. 确认有可用的物理磁盘

  fdisk -l -- 查看磁盘信息

  df -h -- 查看当前挂载信息

  vgs -- 查看当前卷组信息

 

2. 将磁盘加入卷组

  vgextend vg2000 /dev/sdb #将物理卷"/dev/sdb"加入卷组"vg2000"

3. 查看可用空闲空间大小Free PE/Size 项
  
4. 扩容 1G
  lvextend -L +1G /dev/mapper/vg_sql-lv_root
5. 激活
  xfs_growfs /dev/mapper/vg_sql-lv_root

6. 重新查看挂载点
  df -h

 

参考:

https://www.cplusplus.me/2316.html -- ext文件格式磁盘扩容
http://www.yuanzhexi.com/post-318.html -- 激活分区失败解决方案
https://blog.csdn.net/lzjsqn/article/details/72059035 -- 查看文件系统分区类型

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2020-12-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-14
  • 2021-08-27
  • 2022-02-20
  • 2022-02-17
  • 2022-01-20
  • 2022-12-23
相关资源
相似解决方案