#ll /dev/disk/by-path
列一下磁盘
#fdisk /dev/sdb
:d
:1(或者2)
:w
删除磁盘上的分区
#pvcreate /dev/sdb
挂上sdb
#vgdisplay
查看vgname
扫描二维码关注公众号,回复:
205254 查看本文章
![](/qrcode.jpg)
#vgextend rootvg(vgname) /dev/sdb
#lvextend -L190G /dev/mapper/rootvg-lv_opt
#resize2fs /dev/mapper/rootvg-lv_opt
把sdb挂载到/dev/mapper/rootvg-lv_opt 下
#df -ha
验证一下