分类: 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
检查存储后,无报错。且短电没涉及到存储,判断还是操作系统本身的问题。
解决步骤: