美文网首页
Couldn‘t find device with uuid L

Couldn‘t find device with uuid L

作者: 无味wy | 来源:发表于2021-10-15 16:58 被阅读0次

报错信息 (1)

lvm> pvcreate /dev/sdb1
  Couldn't find device with uuid SFDbPk-ZSu1-gxAb-hyHD-wxza-dODN-EzfeeG.

报错信息 (2)

root@localhost ~]# vgdisplay
  Couldn't find device with uuid QpTRUe-wJJw-VsdA-hyZh-KU0a-nN3N-EUa5ai.
  Couldn't find device with uuid mmn9lL-mJkX-0Gj8-Clb0-GR0C-oxoH-lhmInd.
  --- Volume group ---
  VG Name               vg_gznc
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                4
  Act PV                2
  VG Size               131.48 GiB
  PE Size               4.00 MiB
  Total PE              33660
  Alloc PE / Size       7554 / 29.51 GiB
  Free  PE / Size       26106 / 101.98 GiB
  VG UUID               9JsW7Q-zIb3-RjTZ-3qOY-knxn-2903-GlA0yP

解决方法:

root@localhost ~]# vgreduce --removemissing vgname

例如:

root@localhost ~]# vgreduce --removemissing vgname
  Couldn't find device with uuid QpTRUe-wJJw-VsdA-hyZh-KU0a-nN3N-EUa5ai.
  Couldn't find device with uuid mmn9lL-mJkX-0Gj8-Clb0-GR0C-oxoH-lhmInd.
  Wrote out consistent volume group vg_gznc

恢复正常

[root@localhost ~]# vgdisplay
  --- Volume group ---
  VG Name               vg_gznc
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               63.50 GiB
  PE Size               4.00 MiB
  Total PE              16256
  Alloc PE / Size       7554 / 29.51 GiB
  Free  PE / Size       8702 / 33.99 GiB
  VG UUID               9JsW7Q-zIb3-RjTZ-3qOY-knxn-2903-GlA0yP

相关文章

网友评论

      本文标题:Couldn‘t find device with uuid L

      本文链接:https://www.haomeiwen.com/subject/qyqmoltx.html