zoukankan      html  css  js  c++  java
  • lvm--pv丢失后恢复

    [root@db-backup ~]# vgcfgrestore vg_backup
      Couldn't find device with uuid JgYDQu-R1AG-wrD2-AHpX-A14C-8gLj-9HfBTR.
      Couldn't find device with uuid QZrPdT-GxAo-eJif-MdJD-XOb2-12Ka-529u7q.
      Couldn't find device with uuid EpnyGI-Nc6s-Auho-dBW5-F388-PjOF-AQOzry.
      Couldn't find device with uuid 0Dsre8-hUFn-6d5e-mNmc-GzRz-lRBe-R0HJwe.
      Couldn't find device with uuid ezJcsQ-GaPF-u5d1-76SU-Cw9e-XUrM-sHFqWr.
      Couldn't find device with uuid gdgEKh-qWOq-ASYu-AWPf-gTSc-YHIM-JQnGRW.
      Cannot restore Volume Group vg_backup with 6 PVs marked as missing.
      Restore failed.
    [root@db-backup ~]# pvcreate --uuid 'JgYDQu-R1AG-wrD2-AHpX-A14C-8gLj-9HfBTR' --restorefile /etc/lvm/backup/vg_backup /dev/vdd5
      Couldn't find device with uuid JgYDQu-R1AG-wrD2-AHpX-A14C-8gLj-9HfBTR.
      Couldn't find device with uuid QZrPdT-GxAo-eJif-MdJD-XOb2-12Ka-529u7q.
      Couldn't find device with uuid EpnyGI-Nc6s-Auho-dBW5-F388-PjOF-AQOzry.
      Couldn't find device with uuid 0Dsre8-hUFn-6d5e-mNmc-GzRz-lRBe-R0HJwe.
      Couldn't find device with uuid ezJcsQ-GaPF-u5d1-76SU-Cw9e-XUrM-sHFqWr.
      Couldn't find device with uuid gdgEKh-qWOq-ASYu-AWPf-gTSc-YHIM-JQnGRW.
      Couldn't find device with uuid JATNkd-Te8i-3pTq-y8CW-mhoE-HdWr-Qv2rxM.
      Physical volume "/dev/vdd5" successfully created
    [root@db-backup ~]# vgcfgrestore vg_backup
      Couldn't find device with uuid QZrPdT-GxAo-eJif-MdJD-XOb2-12Ka-529u7q.
      Couldn't find device with uuid EpnyGI-Nc6s-Auho-dBW5-F388-PjOF-AQOzry.
      Couldn't find device with uuid 0Dsre8-hUFn-6d5e-mNmc-GzRz-lRBe-R0HJwe.
      Couldn't find device with uuid ezJcsQ-GaPF-u5d1-76SU-Cw9e-XUrM-sHFqWr.
      Couldn't find device with uuid gdgEKh-qWOq-ASYu-AWPf-gTSc-YHIM-JQnGRW.
      Couldn't find device with uuid JATNkd-Te8i-3pTq-y8CW-mhoE-HdWr-Qv2rxM.
      Cannot restore Volume Group vg_backup with 6 PVs marked as missing.
      Restore failed.
    [root@db-backup ~]# vgchange -ay vg_backup
      Volume group "vg_backup" not found
      Skipping volume group vg_backup

  • 相关阅读:
    Linux网络编程必看书籍推荐
    SpringMVC DispatcherServlet初始化过程
    freemarker写select组件(五)
    hdu 1009 FatMouse' Trade
    新IOS编程语言 Swift 新编译器Xcode6
    NoSQL数据库:数据的一致性
    POJ 3041 Asteroids
    POJ 3342 Party at Hali-Bula (树形dp 树的最大独立集 判多解 好题)
    __repr__与__str__
    HDU 4950 Monster(公式)
  • 原文地址:https://www.cnblogs.com/resn/p/6385394.html
Copyright © 2011-2022 走看看