WARNING: Device for PV 0lQ0Gl-RBe5-fPrr-OKYB-whwD-qHPF-izvEES not found or rejected by a filter

挂载磁盘时,添加pv到vg 报错:提示如下:

WARNING: Device for PV 0lQ0Gl-RBe5-fPrr-OKYB-whwD-qHPF-izvEES not found or rejected by a filter.
Couldn’t find device with uuid 0lQ0Gl-RBe5-fPrr-OKYB-whwD-qHPF-izvEES.
WARNING: Device for PV 0lQ0Gl-RBe5-fPrr-OKYB-whwD-qHPF-izvEES not found or rejected by a filter.

原因:由于vg被多次创建,或者原来的VG找不到了导致添加时找不到设备
解决方法:

执行:vgreduce --removemissing -v centos,centos为vg名称)
WARNING: Device for PV 0lQ0Gl-RBe5-fPrr-OKYB-whwD-qHPF-izvEES not found or rejected by a filter_第1张图片
使用vgs 命令查看 正常状态如下

WARNING: Device for PV 0lQ0Gl-RBe5-fPrr-OKYB-whwD-qHPF-izvEES not found or rejected by a filter_第2张图片

你可能感兴趣的:(Linux基础,运维)