Jean - 记录成长历程

  • 关于
  • Language
  • RSS Feed
  • 微博
  • 豆瓣
15
Apr

探索LV卷丢失的恢复方法

By admin|Linux系统|3 Comments

实验的时候想拓展一下LVM空间,重启后用pvdisplay一看pv全部挂掉了,当然就更不用说lv了。最底下的pv是我新加的所以正常。
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.

Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Can’t read myvg: skipping
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Can’t read myvg: skipping
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Couldn’t find device with uuid ‘dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO’.
Couldn’t find all physical volumes for volume group myvg.
Can’t read myvg: skipping
— NEW Physical volume —
PV Name /dev/sdc6
VG Name
PV Size 23.50 MB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID 7vG1NF-QzPj-1JZG-J9xb-tm2M-0gOA-NRIShI

解决:
1.pvcreate –uuid “dsO4dY-tYuc-iFrC-XYi2-WijG-0jZx-vrPUCO” –restorefile /etc/lvm/archive/myvg00000.vg /dev/sdc1
Physical volume “/dev/sdc1″ successfully created
2.vgcfgrestore myvg
Restored volume group failed

恢复失败,不知道是什么原因,不知道有人解决过没有?

无觅相关文章插件,快速提升流量

Tagged as: LVM, 数据恢复
Add your comment →

3 Comments

  1. reduce –removemissing VG

    [回复]

    By: hzyg
    2011-08-02 at 19:09
  2. 如果pv掛了,資料都沒有了,為什么不vgreduce,再vgextend呢?

    [回复]

    admin 回复:
    04月 18th, 2009 at 19:55

    因为还不确定资料能不能恢复

    [回复]

    By: cebi
    2009-04-18 at 18:36

Leave your comment below! Cancel Reply

点击取消回复

View More Posts:
  • ←
  • →

分类

  • Linux系统 (61)
  • Linux集群 (4)
  • Web服务器 (26)
  • 创业相关 (6)
  • 工作笔记 (34)
  • 我爱折腾 (16)
  • 日记 (46)
  • 网络 (3)
  • 脚本编程 (49)

最新日志

  • 使用w3 total cache给wordpress提速
  • 从零开始,我的创业感悟
  • 为大众创造更美好的日常生活
  • 我的站立式工作平台
  • 阿里云计算使用简评

最新评论

  • admin on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • jean on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • ElmaByrd35 on 解决Fedora 11中文字体难看问题

博客互联

  • HackLog
  • leapsoul
  • Myredhat
  • Ninth element
  • Ti’blog
  • William Hua
  • young001
  • 懒人运维
  • 曙光博客
  • 月夜
  • 月影
  • 杂货店一号铺
  • 王先进’s blog
  • 疯中舞步
  • 菜鸟的技术站
  • 运维进行时

技术

  • DBA BLOG
  • 回忆未来[张宴]
  • 扶凯
  • 王炜's Blog
  • 百变贝贝

Powered by the inLine Minimal WordPress Theme