lvm 故障恢复

# pvscan
  /dev/lvm_01/lv01: read failed after 0 of 4096 at 0: 输入/输出错误
  /dev/lvm_01/lv01: read failed after 0 of 4096 at 4096: 输入/输出错误
  /dev/sdb: read failed after 0 of 4096 at 0: 输入/输出错误
  /dev/sdb: read failed after 0 of 4096 at 8001563131904: 输入/输出错误
  /dev/sdb: read failed after 0 of 4096 at 8001563213824: 输入/输出错误
  /dev/sdb: read failed after 0 of 4096 at 4096: 输入/输出错误
  WARNING: Device /dev/sda has size of 0 sectors which is smaller than corresponding PV size of 15628053168 sectors. Was device resized?
  One or more devices used as PVs in VG lvm_01 have changed sizes.
  PV /dev/sda   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdb   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdc   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdd   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sde   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdf   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdg   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdh   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdi   VG lvm_01          lvm2 [<7.28 TiB / 0    free]
  PV /dev/sdj   VG lvm_01          lvm2 [<7.28 TiB / 792.35 GiB free]
  Total: 10 [72.77 TiB] / in use: 10 [72.77 TiB] / in no VG: 0 [0   ]
# vgs
  WARNING: Device /dev/sda has size of 0 sectors which is smaller than corresponding PV size of 15628053168 sectors. Was device resized?
  One or more devices used as PVs in VG lvm_01 have changed sizes.
  VG     #PV #LV #SN Attr   VSize  VFree
  lvm_01  10   1   0 wz--n- 72.77t 792.35g
# vgreduce --removemissing --force lvm_01
  WARNING: Device /dev/sda has size of 0 sectors which is smaller than corresponding PV size of 15628053168 sectors. Was device resized?
  One or more devices used as PVs in VG lvm_01 have changed sizes.
  Volume group "lvm_01" is already consistent.
发布了672 篇原创文章 · 获赞 195 · 访问量 130万+

猜你喜欢

转载自blog.csdn.net/u010953692/article/details/105724718
LVM