Chinaunix首页 | 论坛 | 博客
  • 博客访问: 198645
  • 博文数量: 44
  • 博客积分: 1326
  • 博客等级: 少尉
  • 技术积分: 392
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-08 10:14
文章分类
文章存档

2015年(3)

2013年(1)

2012年(38)

2011年(2)

分类: LINUX

2011-08-26 15:33:16

  近日,主机在断电重启后,1T的LVM空间无法挂载。现象如下:

  # pvscan
  Couldn't find device with uuid 'pQMQJ3-Rq3M-kQD9-M6DB-UWLi-Dyk4-3pWoa7'.
  Couldn't find device with uuid 'pQMQJ3-Rq3M-kQD9-M6DB-UWLi-Dyk4-3pWoa7'.
  PV unknown device   VG milan    lvm2 [30.00 GB / 29.90 GB free]
  PV /dev/sdg         VG milan    lvm2 [30.00 GB / 29.90 GB free]

# vgscan
  Reading all physical volumes.  This may take a while...
  Couldn't find device with uuid 'pQMQJ3-Rq3M-kQD9-M6DB-UWLi-Dyk4-3pWoa7'.
  Couldn't find all physical volumes for volume group milan.
  Couldn't find device with uuid 'pQMQJ3-Rq3M-kQD9-M6DB-UWLi-Dyk4-3pWoa7'.
  Couldn't find all physical volumes for volume group milan.
  Volume group "milan" not found

# lvscan
  Couldn't find device with uuid 'pQMQJ3-Rq3M-kQD9-M6DB-UWLi-Dyk4-3pWoa7'.
  Couldn't find all physical volumes for volume group milan.
  Couldn't find device with uuid 'pQMQJ3-Rq3M-kQD9-M6DB-UWLi-Dyk4-3pWoa7'.
  Couldn't find all physical volumes for volume group milan.
  Volume group "milan" not found

检查存储后,无报错。且短电没涉及到存储,判断还是操作系统本身的问题。

解决步骤:

  • 重载光纤网卡的module
  • [root@test245 ~]# rmmod qla2300
    [root@test245 ~]# rmmod qla2xxx
  • [root@test245 ~]# modprobe qla2xxx
    [root@test245 ~]# modprobe qla2300
  • 通过pvscan,vgscan查看,“Couldn't find device with uuid”错误清除。但vg组依旧是not found状态。
  •  重新激活vg组
  • vgchange -a y /dev/vg0
  • vgscan扫描vg组状态正常,重新挂载此lvm分区,成功!
阅读(21483) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:“JBD error message "barrier-based sync failed”

给主人留下些什么吧!~~