lvm資訊丟失處理辦法

tonykorn97發表於2009-06-09

一臺伺服器重啟後lvm資訊丟失,只能檢視到一個分割槽的lvm資訊,另外一個硬碟的lvm資訊檢視不到[@more@]


[root@tonykorn97 lvm]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID iNTFCq-2c0t-bnCu-N0kz-AgNw-JTkj-WwpEPs
LV Write Access read/write
LV Status available
# open 1
LV Size 129.94 GB
Current LE 4158
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

具體處理操作步驟
[root@tonykorn97 ~]# pvscan
PV /dev/sde14 VG vg0 lvm2 [249.61 GB / 147.11 GB free]
PV /dev/sda6 VG VolGroup00 lvm2 [129.94 GB / 0 free]
Total: 2 [379.54 GB] / in use: 2 [379.54 GB] / in no VG: 0 [0 ]
[root@tonykorn97 ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg0" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
[root@tonykorn97 ~]# lvscan
ACTIVE '/dev/vg0/data01' [256.00 MB] inherit
ACTIVE '/dev/vg0/data02' [1.00 GB] inherit
ACTIVE '/dev/vg0/data03' [2.00 GB] inherit
ACTIVE '/dev/vg0/data04' [2.00 GB] inherit
ACTIVE '/dev/vg0/data05' [2.00 GB] inherit
ACTIVE '/dev/vg0/data06' [4.00 GB] inherit
ACTIVE '/dev/vg0/data07' [40.00 GB] inherit
ACTIVE '/dev/vg0/data08' [256.00 MB] inherit
ACTIVE '/dev/vg0/data09' [1.00 GB] inherit
ACTIVE '/dev/vg0/data10' [2.00 GB] inherit
ACTIVE '/dev/vg0/data11' [2.00 GB] inherit
ACTIVE '/dev/vg0/data12' [2.00 GB] inherit
ACTIVE '/dev/vg0/data13' [4.00 GB] inherit
ACTIVE '/dev/vg0/data14' [40.00 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol00' [129.94 GB] inherit
[root@tonykorn97 ~]#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-1022917/,如需轉載,請註明出處,否則將追究法律責任。

相關文章