Archive for August, 2008

Diskdump report error messages when restart the diskdump service

Monday, August 11th, 2008

เมื่อเราได้ทำการแก้ไขหรือ configure diskdump แล้ว restart diskdump service ได้มี error เกิดขึ้นที่ /var/log/messages โดยมีข้อความดังข้างล่าง

diskdump: diskdumpctl: failed to add /dev/hdb!
diskdump: activating failed
kernel: disk_dump: shut down

ในปัญหาข้างต้นเกิดจาก Linux ที่ใช้อยู่ไม่ support full hard disk dump partition ดังนั้นวิธีแก้ไขสามารถทำได้โดยสร้าง partition ใน Hard disk และ ใช้ partition นั้นสำหรับการ dump memory information.

Tags: diskdump, diskdump service, Hard disk, partition, restart

Fix the following error; LVM error VG meta data inconsistent

Sunday, August 10th, 2008

เมื่อเกิด 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

Tags: Fix error, Fix error LVM, LVM, LVM error VG meta data inconsistent

Sponsor Links

Find entries :