เมื่อเกิด error ของ LVM โดยขึ้นข้อความว่า “LVM error VG meta data inconsistent” เราสามารถทำการแก้ไขโดยทำตามขั้นตอนดังข้างล่างนี้ได้
Boot เข้าสู่โหมด Rescue
Restore VG Meta data โดยใช้คำสั่ง:
#lvm vgcfgrestore VG
Rescan physical devices โดยใช้คำสั่ง:
#lvm pvscan
Rescan vol groups โดยใช้คำสั่ง:
#lvm vgscan
ขั้นสุดท้ายคือการ active volume group โดยใช้คำสั่ง:
#lvm vgchange -ay VG
Related posts:
- Implement and configuration Highly Available LVM (HA LVM) ใน Red Hat Enterprise Linux ตั้งแต่ version 4.5...
- Reduce a non-root LVM. การลดขนาดของ LVM สามารถที่ไม่ไม่ใช้ root user ทำก็ได้ ซึ่งจากตัวอย่างนี้จะสมมติการลดขนาดของ LVM...
- Make a clone of a virtual guest operating system in RHEL 5 xen ใน Red Hat 5 ไม่ได้ใส่ฟีเจอร์ที่จะสามารถทำการโคลนตัว guest os...
- Diskdump report error messages when restart the diskdump service เมื่อเราได้ทำการแก้ไขหรือ configure diskdump แล้ว restart diskdump service ได้มี...
- How to rescan the SCSI bus to add or remove a SCSI device without rebooting the computer? เมื่อต้องการให้ Linux rescan SCSI drive โดยไม่ต้อง restart เครื่องสามารถทำโดยใช้คำสั่ง...


August 10th, 2008
Tum.
Posted in
Tags: 